LED current limiting and power: experiment bench
LED current limiting and power
A series resistor sets an LED's current. Too little resistance burns it out; too much and it barely glows, and the resistor wastes power either way.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
Red LEDs are around 2 V, blue and white around 3 V (typical values; real parts vary).
1 more control appear at higher levels; until then it stays at the default value.
The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.
6 · Change one variable
Your first run is the baseline. After it, change one thing at a time.
7 · Compare on a graph
5 · Run log
No runs yet.
Equations
I = (Vs − Vf) / R (approximately). Aim for about 10 mA for a small indicator LED.
Assumptions (always true in this model)
- Piecewise-linear LED (fixed knee voltage plus a small series resistance)
- Ideal source
- No temperature effects; real LEDs vary between parts
Text description of what the chart shows
A line chart against series resistance on a logarithmic scale from 10 Ω to 10 kΩ. LED current is largest with a small resistor and falls steadily as resistance rises; resistor power follows the same downward trend.
Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.
Which assumptions could change your answer in the real world?
Export and save
Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.
Valid parameter ranges
| Parameter | Range | Default |
|---|---|---|
| Supply voltage | 1 to 12 V | 9 |
| Series resistor | 10 to 10000 Ω | 680 |
| LED forward voltage | 1.5 to 3.5 V | 2 |
| LED series resistance | 1 to 50 Ω | 10 |
Independent reference checks
9 V, 680 Ω, red LED
Hand calculation: I = (Vs − Vf) / (R + Rs)
Supply below forward voltage
LED off when Vs < Vf
Checked automatically on every change to the code. Educational model, not engineering-grade.