Skip to content
Semillero
ARES

Electronics

LEDs

By David Toro

Figure 13. LED symbol

An LED (Light Emitting Diode) is used as a status indicator, for example to show whether a circuit is on. It has polarity: it only works when connected the right way round.

Figure 14. LEDs

  1. Anode: positive terminal, where current goes in.
  2. Cathode: negative terminal, where current comes out.

Figure 15. LED circuit

The resistor RR limits the current so the LED lights up brightly without burning out.

Figure 16. Equivalent circuit of an LED

For calculations, a correctly biased LED can be replaced by a voltage source VLEDV_{LED}. Both VLEDV_{LED} and the maximum current ILEDI_{LED} are given by the manufacturer.

The most common low-power LEDs have VLED≈2.2 VV_{LED} \approx 2.2\,\mathrm{V} and ILED≈10 mAI_{LED} \approx 10\,\mathrm{mA}.

Calculating the resistor

The resistor is calculated from the LED’s characteristics and the source voltage. The voltage across the resistor is:

VR=Vin−VLEDV_R = V_{in} - V_{LED}

By Ohm’s law, and since in series the current is the same throughout the circuit:

VR=ILED⋅RV_R = I_{LED} \cdot R

Solving for RR:

R=Vin−VLEDILEDR = \frac{V_{in} - V_{LED}}{I_{LED}}

Example

Design a circuit with a 12 V source for a power LED with these specifications:

VLED=3 V to 3.8 VILED=350 mAV_{LED} = 3\,\mathrm{V} \text{ to } 3.8\,\mathrm{V} \qquad I_{LED} = 350\,\mathrm{mA}

Figure 17. LED example

We analyse the worst case, VLED=3 VV_{LED} = 3\,\mathrm{V}, because that is when the most voltage drops across the resistor:

VR=12 V−3 V=9 VV_R = 12\,\mathrm{V} - 3\,\mathrm{V} = 9\,\mathrm{V} R=VRILED=9 V350 mA≈25.71 ΩR = \frac{V_R}{I_{LED}} = \frac{9\,\mathrm{V}}{350\,\mathrm{mA}} \approx 25.71\,\Omega

Use the next standard value up: R=27 ΩR = 27\,\Omega (5 % series).

The resistor must also handle the power it dissipates:

PR=VR⋅IR=9 V⋅350 mA=3.15 WP_R = V_R \cdot I_R = 9\,\mathrm{V} \cdot 350\,\mathrm{mA} = 3.15\,\mathrm{W}

Translated from Spanish.