Chapter 15. A Logic Tester (with an RGB LED)

The NOT, AND, and OR projects (Chapters 5, 6, and 7, respectively) use two basic voltages: either +5VDC for TRUE or 0V for FALSE. These two signals let the Arduino make basic logic decisions. In the computer world, these voltages are known as binary data. In computers, binary data is represented by logic “1” (+5 volts DC) and logic “0” (0 volts). You can build a cool electronic device to see binary data using a few electronic components. The electronic components to build this device are shown in the Parts List. The Logic Tester with an RGB LED is shown in Figure 15-1.

Parts List

  • Arduino microcontroller
  • MakerShield kit
  • R1: 1KΩ resistor (brown, black, red stripes)
  • R2: 330Ω resistor (orange, orange, ...

Get Make: Basic Arduino Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.