Chapter 6. LEDs

Controlling light-emitting diodes (LEDs) is likely to be near the top of any maker’s to-do list. There is a bewildering array of different types of LEDs, from simple LEDs, through to high-power, infrared, and ultraviolet devices.

LEDs (Figure 6-1) vary in their current requirements, and some will work just fine from a digital output, while others will need a transistor or other circuitry to control them.

Figure 6-1. A selection of LEDs

 

Regular LEDs

By regular LEDs, I mean those small colorful devices that often come in a 5mm diameter (sometimes 3mm or 10mm) and require a modest current to make them light, so that they can ...

Get Make: Action 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.