Category: Arduino Projects

  • Build an Arduino NOT Logic Gate

    We’re going to add an Arduino microcontroller to Figure 5-2 to control two LEDs using a computer program or sketch. You will wire the pushbutton switch with a 1KΩ resistor to pin D2 and two LEDs (red and green). The LEDs will be attached to pins D8 and D9. Figure 5-5 shows the Fritzing wiring diagram for this project. The NOT Logic…

  • The Opposite Switch (aka the NOT Logic Gate)

    In digital electronics, a special circuit symbol is used for the NOT Logic Gate consisting of a circle attached to the point of a triangle on its side. Figure 5-3 shows the digital electronics circuit symbol for the NOT Logic Gate. Figure 5-3. The NOT Logic Gate circuit symbol In the Fritzing wiring diagram shown in Figure 5-2, the +3V battery provides…

  • Circuit Theory

    A NOT Logic Gate turns a TRUE signal into a FALSE signal. Let’s take the case of the ordinary household light switch: When you flip the light switch in your home UP, the light bulb turns on. Now, let’s mount the house light switch upside down. When you send an UP signal to the switch, the…

  • Parts List

    Figure 5-1. The Arduino NOT Logic Gate

  • The Opposite Switch

    The Arduino NOT Logic Gate Computers use electrical signals to make basic decisions. By hard-wiring electric circuits in specific ways, you can actually see simple logic decision operations at work. Ordinary electronic parts, like electrical switches, resistors, and LEDs can make AND, OR, and NOT logic gates when wired together properly. The first computer logic decision circuit…

  • It’s Alive! Build a FrankenBot Toy

    You can build an interactive toy that responds to changing light levels by removing the 10KΩ potentiometer and adding a photocell wired to a 1KΩ resistor of the Adjustable Twin LED Flasher. Wiring a photocell to a 1KΩ resistor allows the Arduino to read light levels applied to pin A0. Figure 4-10 and Figure 4-11 show the Fritzing and circuit schematic diagrams…

  • Build the Adjustable Twin LED Flasher

    To make the Adjustable Twin LED Flasher, simply add a 10K ohm potentiometer to the device. The flash rate can be adjusted to make the on/off toggling slower or faster. The Fritzing diagram in Figure 4-7 along with the circuit schematic diagram shown in Figure 4-8 will allow you to build the Adjustable Twin LED Flasher. The MakerShield Adjustable Twin LED Flasher is…

  • Twin LED Flasher

    The circuit theory diagram shown in Figure 4-3 can easily be converted into a cool electronic gadget. You can build a Twin LED Flasher using an Arduino, two 330 ohm resistors, and LEDs, as shown in Figure 4-4. The Twin LED Flasher circuit schematic diagram is shown in Figure 4-5. To make the flasher device compact, you can build it on the MakerShield,…

  • Circuit Theory

    An LED is an electronic part that emits light when properly wired in an electric circuit. The LED has positive and negative leads protruding through a plastic body, as shown in Figure 4-1. You can use the Arduino in electronic projects to operate multiple LEDs. Figure 4-3 shows two LEDs wired to the Arduino D13 pin. The Arduino output pins…

  • Parts List

    Figure 4-1. Variety of LEDs Figure 4-2. Twin LEDs block diagram