Current-limiting resistor, power and series and parallel arrangements
An LED is a diode: below its forward voltage it barely conducts and, above it, the current grows exponentially. A few tenths of a volt more can multiply the current by ten. Moreover, the forward voltage varies between units of the same batch and falls with temperature (about 2 mV/°C): connected straight to a voltage source, the LED heats up, conducts more, heats up even more and destroys itself. The series resistor turns the voltage source into an approximate current source.
The calculator picks the next higher standard value, which gives a current slightly lower than requested and never higher. For power, use a resistor rated for at least twice what it dissipates. If the supply varies (in a car, a nominal 12 V reaches 14.4 V with the engine running), calculate with the maximum voltage.
| Colour | Wavelength | Material | Typical VF |
|---|---|---|---|
| Infrared | 850–940 nm | GaAs, AlGaAs | 1.2 to 1.6 V |
| Red | 620–635 nm | AlGaInP | 1.8 to 2.2 V |
| Orange | 600–610 nm | AlGaInP | 1.9 to 2.2 V |
| Yellow | 585–595 nm | AlGaInP | 2.0 to 2.2 V |
| Yellow-green | 565–575 nm | GaP, AlGaInP | 2.0 to 2.4 V |
| True green | 520–530 nm | InGaN | 2.8 to 3.4 V |
| Blue | 460–470 nm | InGaN | 2.8 to 3.4 V |
| White | blue + phosphor | InGaN | 2.8 to 3.4 V |
| Ultraviolet | 365–405 nm | InGaN, AlGaN | 3.1 to 4.0 V |
Indicative values at rated current; the datasheet of each LED gives the typical and maximum value.
In series, all the LEDs carry the same current and one resistor per string is enough; it is the most efficient option if the supply allows it. Always leave at least 1 to 2 V for the resistor: if almost all the voltage drops across the LEDs, a small variation in VF or in the supply changes the current a lot.
In parallel, each string needs its own resistor. If several LEDs share a single one, the one with the lowest VF takes almost all the current, heats up, its VF drops further and it ends up failing; then the next one gets all the current and the same happens to it.
LEDs withstand very little reverse voltage, normally 5 V. In AC circuits, or where the polarity may be reversed, a diode is placed in antiparallel with the LED (or a second LED) so that the reverse voltage never exceeds the drop of that diode.
Related: Ohm's law and power, transistor as a switch, optocouplers and pull-up resistors.