Bits4Bots - Diode Logic Gates - AND & OR
by Bits4Bots in Circuits > Electronics
31289 Views, 13 Favorites, 0 Comments
Bits4Bots - Diode Logic Gates - AND & OR
In this Instructable we will build DRL circuits. Diode-Resistor Logic
Diodes can perform switching and digital logic operations. Forward and reverse bias switch a diode between the low and high impedance states, respectively.So that it may serve as a switch.
Logic Diodes can perform digital logic functions: AND, and OR. Diode logic was used in early digital computers. It only finds limited application today. Sometimes it is convenient to fashion a single logic gate from a few diodes.
10-15 minute project! Follow us for more cool projects and visit us at www.bits4bots.com
Parts
These are the parts needed:
Leds
Diodes (generic)
Resistors (680 Ohm-1K) recommended
Jumpers
9V Battery
Building the Circuits
First we will build the AND gate.
- Place a 2 position dip switch on the bread board.
- Connect one side (both pins) of the switch to ground.
- The opposite end of the switch will connect the two diodes (cathode).
- The positive end of the diode are connected in series.
- Create a node or junctions to connect the resistor and the led as pictured.
- Connect the free end of the resistor to 9V. Ground the free end of the led.
Now let's build the OR gate.
- Place a 2 position dip switch on the bread board.
- Connect one side (both pins) of the switch to 9V.
- The opposite end of the switch will connect the two diodes (anode).
- Connect the cathode ends with a jumper if needed.
- Create a junction for the resistor and led from one of the diodes cathode end.
- Ground the led and the resistor.
Troubleshoot:
Make sure diodes are in the correct positions. The line on the diode represents negative. (cathode) Also check your leds, be sure they are not backwards. Does your circuit have power? Are the outputs in the correct location? Finally check for faulty parts.
Test Your Circuit
Give your circuit a try. Use the dip switches to toggle between high and low states to see the circuits outcome. If you are not familiar with the truth tables for these logic gates just give the internet a quick search.
FYI: Led will turn on under digital logic conditions.
Support
Thanks for checking out this Instructable.
Become a Bits4Botter today! Subscribe to my YouTube channel & share this project:)