Pressing the pushbutton will close the switch and allow +5 volts DC electrical current to flow through the test circuit. The Arduino reads digital pin 8 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 lights up the appropriate LED: the green LED indicates that the pin is receiving +5 volts, and the red LED indicates 0 voltage. The digital pins used to operate the RGB’s red and green LEDs are D9 and D10.

The block diagram in Figure 15-4 shows the electronic component blocks and the electrical signal flow for the Logic Tester. A Fritzing electronic circuit schematic diagram of the tester is shown in Figure 15-5. Electronic circuit schematic diagrams are used by electrical/electronic engineers to design and build cool electronic products for society.

The Logic Tester block diagram

Figure 15-4. The Logic Tester block diagram

TECH NOTE

A block diagram is used to show electrical signal flow of electronic products.

The Logic Tester Fritzing circuit schematic diagram

Figure 15-5. The Logic Tester Fritzing circuit schematic diagram


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *