>> Finally decided to start learning microelectronics again…
Quick Background
Diodes allow current through as long as it surpasses its threshold voltage. Otherwise, it’s just a open circuit.
An OR gate outputs HIGH whenever one or more sources inputs HIGH.
For this case, LOW is roughly < 0.6 – 0.7 V.
…do you see where I’m going with this?
Design
The goal is to make a 3 input OR gate using diodes; each input reads LOW unless voltage exceeds 0.7V (created by pull down resistors).
This design is general and already exists everywhere!!!!!! But the thing I added was an LED as a visual cue.
oh btw! the AND operator can be done by adding pull up resistors instead, and it acts like the DeMorgan theorem. how cool is that.
Stuff I used
- Analog Discovery 3
- Used for wave generator, scope and ground!
- Breadboard
- 1N4148 diode
- 10k resistor
- LED light
- for visual cue and some whimsy
- Lots of wires
Diagrams and graphs
Drew this out as a diagram and built it on my breadboard! The blue wires are multimeter scopes on the LED.


I made sure the inputs had these combinations (table below) by having higher frequencies so they’d overlap (figure below below)!
| INPUT A | INPUT B | INPUT C | Output |
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |

And here are the results!!!!

IT CAN DEFINITELY USE SOME WORK- I AGREE- but it clearly demonstrates when the switch is ON and OFF! When all sources are 0 (LOW) the LED is off and it can be seen in the voltage drop.
I blew up an LED
I put too much voltage through it and it blew. NOTE FOR NEXT TIME: read datasheets and don’t pump 5V casually.
I almost blew up a diode
CATHODE DOESN’T MEAN POSITIVE SIDE IT MEANS NEGATIVE SIDE- RAHHHHHHH-
Diodes aren’t that bad
Maybe I’ll make more stuff with transistors in the future! (currently grinding out the amplifiers chapter teehee)