Diodes and LEDs

There are two more components we should discuss: diodes and LEDs.

Diodes

A diode is a component that only allows current to pass in one direction. The arrow in the circuit symbol indicates this direction:

Diodes

Next to the circuit symbol on the left, we have a real diode. The stripe represents the stripe in the circuit symbol, and the direction where the current goes out of the diode.

If we look at the following circuits, the one on the left will conduct current while the one on the right will not:

Diodes

However, even when a diode allows current to ...

Get Arduino Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.