Circuit Theory

Figure 9-2 shows a typical RGB LED with the wiring pinout names. There are three pins, one for each color, and one common pin for positive attachment to a power supply. Like the ordinary LED, the positive and negative pins are wired to the positive and negative points of a DC (direct current) circuit. To illustrate, Figure 9-3 shows three SPST (single… Continue reading Circuit Theory

Introduction

Free Running Switcher In past projects, one or two LEDs, usually red and/or green, were used as visual indicators, letting us know that the Arduino had completed a task or operation. But why limit ourselves to red and green? There is a type of LED that has three different colors all in the same package.… Continue reading Introduction

Circuit Theory

As shown in Figure 8-1, the LED wiring is quite different from previous projects, because an electrical ground and a +5V battery are used to individually operate them. The idea behind this wiring technique is to allow one LED to be on at all times. The circuit schematic diagram in Figure 8-2 on the left shows LED1 on while LED2 is off.… Continue reading Circuit Theory

Parts List

Figure 8-1. The Up-Down Sensor block diagram TECH NOTE A tilt control switch is sometimes called a tilt sensor.

Introduction

Up-Down Sensor The FrankenBot toy illustrated the method of flashing two LEDs wired in parallel. The Arduino microcontroller made it easy to change the flash rate of two LEDs using a 10KΩ potentiometer. How cool would it be to control an LED’s flash rate by moving an electronic box in an up-down motion? This project is a… Continue reading Introduction

The Arduino OR Logic Gate

You can build a digital computer OR Logic Gate circuit using the Arduino microcontroller and a few electronic components. The green LED turns on when either the pushbutton switch OR the photocell is TRUE. You can easily build the logic circuit using the Fritzing wiring diagram shown in Figure 7-6. You can build this basic digital computer circuit on… Continue reading The Arduino OR Logic Gate

Circuit Theory

The OR Logic Gate is another computer circuit providing a TRUE output based on at least one input data value having a closed state. A basic OR Logic Gate electric circuit schematic diagram is shown in Figure 7-2. The circuit schematic diagram on the left shows one pushbutton switch closed and the other one open. The output for this… Continue reading Circuit Theory