The circuits presented in this chapter require basic electronic components readily available at online retail outlets. Links can be found for complete kits and parts vendors from the author’s official website at www.dukish.com .
Coding a Voltmeter
As discussed in Chapter 1, LEDs have a voltage drop of approximately 2 volts across their internal junction, and the voltage can vary depending on the size, color of the LED, and forward current. We will use an analog input on the Arduino and measure the exact value of the voltage drop. Because the microcontroller is digital, the analog information must ...