13. Set LED current

Circuit

Loading simulator…

Design Approach

An LED cannot be connected directly to a supply without controlling its current. The design uses one series resistor to drop the supply voltage that the LED does not consume, setting I_LED1 to approximately 10 mA.

How the Circuit Works

  1. Find the resistor voltage. The given orange LED1 has a nominal 2 V forward drop. With VIN = 5 V, the resistor must drop 5−2=3V5 - 2 = 3\,\mathrm{V}.
  2. Choose the resistance. For the 10 mA target:R1=3V0.01A=300ΩR_{1} = \frac{3\,\mathrm{V}}{0.01\,\mathrm{A}} = 300\,\Omega

    The solution adds R1 = 300 Ω in series with the existing I_LED1 ammeter and LED1 between VIN and GND.

  3. Follow the current. In this single series path, approximately 10 mA flows through R1, I_LED1, and LED1. The resistor dissipates about I2R=(0.01A)2×300Ω=30mWI^2R=\left(0.01\,\mathrm{A}\right)^2\times300\,\Omega=30\,\mathrm{mW}, which also matters when selecting a real resistor.

Verify the Circuit

Set VIN = 5 V and check ILED1≈10mAI_{\mathrm{LED1}} \approx 10\,\mathrm{mA}. As an experiment, increase R1 to 600 Ω: current should decrease toward 5 mA, assuming a similar LED forward voltage.

Key Learnings

  • Calculate an LED resistor from the remaining voltage, VIN−VFV_{\mathrm{IN}}-V_{\mathrm{F}}, not the full supply voltage.
  • The series resistor controls current and dissipates electrical power as heat.