Skip to content

Electronic components: Diodes

New Course Coming Soon:

Get Really Good at Git

We talked about Light-Emitting Diodes, diodes that emit a light when the current and tension applied is enough to turn them on. Let’s now talk about diodes in general.

A diode is a tiny component that has one job: make the current flow only in one direction.

This is the symbol for a diode:

Diodes have a direction. Look at the stripe on those diodes picture above. That’s the cathode. It matches the | vertical line in the diode symbol and it indicates the direction the current will flow.

The other side is called anode. Current flows from the anode to the cathode.

If you add the diode in the correct direction to a simple LED light circuit, the LED will turn on because the circuit is correctly closed:

But if you invert the direction, the diode works as an insulator, interrupts the circuit, so the LED does not turn on:

In digital logic, a diode is often used because of this characteristic of being a closed circuit with the correct tension applied, and an open circuit with the inverted tension. We can build AND and OR logic gates using diodes.

A diode is also very useful to the limit current flow, and enables applications like AC to DC converters, protect components from reversed voltage, protect from voltage spikes and much more.

The diodes in the picture are 1N4007 diodes, and they can handle a forward current of 1A and a reverse tension up to 1000V.

Different kinds of diodes can manage different amount of current and can resist to different amounts of reversed voltage.

Are you intimidated by Git? Can’t figure out merge vs rebase? Are you afraid of screwing up something any time you have to do something in Git? Do you rely on ChatGPT or random people’s answer on StackOverflow to fix your problems? Your coworkers are tired of explaining Git to you all the time? Git is something we all need to use, but few of us really master it. I created this course to improve your Git (and GitHub) knowledge at a radical level. A course that helps you feel less frustrated with Git. Launching May 21, 2024. Join the waiting list!

Here is how can I help you: