Category: The Opposite Switch
-
Upload the Arduino NOT Logic Gate Sketch
With the Arduino NOT Logic Gate built on the MakerShield, it is time to upload the sketch. Example 5-1 operates the red and green LEDs using a pushbutton switch. Here are the steps you should follow: Figure 5-5. The NOT Logic Gate Fritzing wiring diagram The Arduino NOT Logic Gate will turn the green LED on once the sketch has…
-
Upload the Arduino NOT Logic Gate Sketch
With the Arduino NOT Logic Gate built on the MakerShield, it is time to upload the sketch. Example 5-1 operates the red and green LEDs using a pushbutton switch. Here are the steps you should follow: Figure 5-5. The NOT Logic Gate Fritzing wiring diagram The Arduino NOT Logic Gate will turn the green LED on once the sketch has…
-
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…
-
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…