Search/

Request a free quote

Online Circuit Simulator

LED resistor example: setting the LED current

We typically respond within one business day.

LED and its resistor. The resistor, not the LED, sets the current.

LED resistor example: setting the LED current

Open this example in the simulator

What does this circuit show?

V1, R1 and the LED sit in one loop. An LED's forward voltage hardly moves as its current changes, so whatever the supply has left after it falls across R1, and R1 decides the current.

What should you notice?

The table reads 20.2 mA through both parts, with 1.97 V across the LED and 3.03 V across R1. The LED's row says lit and shows 67% of its current rating.

Why does it happen?

R is the supply minus the forward voltage, over the current you want. With 5 V, a red LED's 1.9 V and 150 Ω that gives 20.7 mA; the reading is a shade under because the forward voltage creeps up with current.

What can you try?

Change R1 to 47 Ω. The textbook formula gives 66 mA and the table reads 62.2 mA, both far past the LED's 30 mA rating, so the simulator draws the LED red and flags it.

What is a common mistake?

Leaving the resistor out. An LED on its own takes whatever current the supply can give and dies at once.

Get your project started

We typically respond within one business day.

Request a free quoteor call (866) 621-6920

Newsletter

Engineering notes from Dreiym

New articles on power systems, corrosion and forensic engineering, by email when we publish. Free account included: keep your calculator work, reports and exports in one place.

Latest article: DC Arc Flash in Battery, UPS and PV Systems: How the Hazard Is Assessed

One email per new article. Unsubscribe in one click.

You are subscribed: new articles come to you by email.

Manage in My account