If you're anything like me, you'll probably want to develop any large Java application using a fully fledged IDE such as IntelliJ or Eclipse. However, these are probably better run on another computer if available, transferring the code onto the PI. This article shows how to use maven to do fast turn around development onto a PI from a laptop....
If you've got a 7 segment display but are not sure if it is common anode or common cathode, then you need to check the polarity of the display. This is easily done with a low voltage supply (9V or less) from a battery, bench PSU or Arduino board. Firstly and before anything else, connect a 1K resistor between the common...
On the previous page covering single digit displays , we dealt with driving one 7-segment digit. On this page we'll use a multi-digit display and assume 4 digits. Just like single devices, multi-digit 7-segment displays have connections for A-G, DP and common, but they have a common pin for each digit, with one set of A-G and DP pins that are shared....
Measuring voltage from an analog input. Following on from the previous example ( example for driving 7 segment LED displays ). we now build on the same circuit to make a simple voltage meter. Additional requirements: Potentiometer of at least 10Kohms . In order to measure voltage, we need to use an Arduino board analog input. Usually these are marked...
There are some occasions when the amount you safely draw (assume 20mA) from an Arduino board pin is just not enough (and some Arduino boards have even lower current capability). In these cases the output needs to be buffered in order to provide more power. At this point there are several possibilities, including ready made buffer chips such as the ULN2003A....
After almost shorting out my Arduino with a piece of wire that was left under the circuit board, I decided it was time to mount it onto a proper support board along with the breadboard I often use with it. Okay I could go out and buy one, but I had a nice piece of high grade birch plywood in the...
I've got a side project of building a digitally Arduino controlled PSU that also includes an accurate component tester. In order to do this I'll have to be able to monitor the current flowing through a circuit, so I'd need some way of monitoring this. Before continuing, I'd like to say that is not an exemplar of how to build a...
In this tutorial I show you how to connect a 7 segment display to an Arduino board. For a tutorial showing how to drive 4 or 8 digit displays see ( Arduino multiple digit, 7 segment display tutorial ). Firstly, we must know what type of display we have as there are two possible forms, common cathode and common anode. If the...
After a long pause, I've finally started to get back into analog electronics. I'm using the Introduction to Electronics and this blog as a way to help myself back up the curve. Below is my first working circuit, the good old class A amp. Twenty years ago I could have thrown together fairly complex circuits in short order. However, now it...
There are a few good books and websites that I recommend for people starting out with electronics. All about circuits Website that has several electronics books available online for free , these cover, DC theory, AC theory, semiconductors and digial electronics. DC covers voltages, currents, ohms law, conductors, insulators, batteries. Further it also covers network theory AC covers complex numbers,...