r/electronicsnebula • • 15d ago

Two-Input AND Gate using Diodes

A diode AND gate produces a HIGH output only when both inputs are HIGH. If either input or both inputs are LOW, the output remains LOW.

Components Required:

1N4007 diodes (2 Nos.), 220 ohm resistor (1 No.), SPDT input switches (2 Nos.), ⚪ LED for output indication (1 No.), 5 V DC power supply (1 No.), breadboard (1 No.), and few connecting wires.

Working

The AND gate output LED will glow only when both input SPDT switches are ON (HIGH).

54 Upvotes

4 comments sorted by

2

u/BoredRobot1 10d ago

I'm still a beginner to electronics, but wouldn't this also waste power whenever either switch is in the off position? Either switch in the off position would create a constant connection to ground and waste power whenever the light isn't being powered, right?

1

u/SpecialistRare832 9d ago

Ok, pls give some modifications for this circuit, if you have.

1

u/Then_I_had_a_thought 15d ago

Nice! Is there an advantage to using diodes? Putting both switches in series with the battery, resistor, and LED would produce the same truth table.

1

u/SpecialistRare832 15d ago

Simple construction (i.e., easy to design and understand)