LED

The Light Emitting Diode or LED for short, is a two-lead semiconducting device that emits light when a certain amount of current is passed through. When using a LED, we need to be very careful not to apply too much current because it is very easy to blow one. For most LED, the recommended voltage would be 5 volts.

Most LEDs have two different size connectors. The long connector is the anode and should be connected to a power source. The short connector is a cathode and should be connected to a common ground.

Get Mastering Arduino 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.