Author: haroonkhan
-
Circuit Theory
Pressing the pushbutton will close the switch and allow +5 volts DC electrical current to flow through the circuit. The Arduino reads digital pin 6 to determine if the pin is receiving +5 volts (i.e., set to HIGH), or if it is not receiving any voltage (i.e., set to LOW). The Arduino takes that information and…
-
Upload the Logic Tester Sketch
With the Logic Tester built, it’s time to upload the sketch. Example 16-1 operates an LCD using a pushbutton switch, a transistor, and two fixed resistors. Here are the steps you’ll need to follow: Once the Logic Tester sketch has been uploaded to the Arduino, the LCD will display a message, as shown in Figure 16-1. Take the long jumper…
-
Let’s Build a Logic Tester
Building this tester requires the use of an LCD. If this is your first time using an LCD, I suggest reading. For help adding the 16-pin male header to the LCD, see Figure 14-2 and Figure 14-3. The 10KΩ potentiometer’s center pin is wired to pin number 3 of the LCD. The potentiometer’s remaining pins should be wired to +5VDC and ground.…