LED and protective resistor
An LED must always have a resistor in series, otherwise the current becomes too large and destroys it. Change the resistor and the LED colour, read the current and check R = (V − V_LED) / I.
Circuit and source
Circuit diagram
Transient response
Calculations
Export:
Sinusoidal steady state: Bode plot
How to do it
- Read the current through the LED and the voltage across it.
- Change the resistor: brightness follows the current.
- Change the LED colour: its threshold voltage changes (about 1.9 V for red, 3 V for blue).
- Try the example without a resistor (don't do this): the LED is destroyed.
Tips
- For 20 mA from a 6 V battery and a red LED: R = (6 − 1.9) / 0.02 ≈ 205 Ω, i.e. 220 Ω as a standard value.
- An LED is polarised: connected the wrong way round, it does not light.
- Plot the LED's characteristic to see its threshold.
Frequently asked questions
How do I work out the resistor?
R = (V_supply − V_LED) / I, with I the wanted current (often 10 to 20 mA) and V_LED the LED voltage (depending on its colour).
Why is the LED destroyed without a resistor?
Above its threshold, a small rise in voltage increases the current enormously; with no resistor to limit it, it soon exceeds 50 mA.
Is my data uploaded?
No, the simulation runs in your browser; the share link contains the circuit.