Formula for figuring series resistor values for LEDs

Aug 28, 2008 8 Replies

Don't ask me what prompted me to post this. Guess it's because the question often comes up here, what value of resistor do I need to run my LEDs off my 12-volt power supply?



So here's the generalized formula which should work for every situation. Just plug the numbers in and turn the crank.



Assuming you have a DC power supply, a single LED with a single resistor in series with it:



Vt - Vled R = ----------- Iled



where



Vt = total voltage (power supply voltage) Vled = operating voltage of LED Iled = operating current of LED (in amperes)



For example, with a 12-volt power supply and a 2-volt, 20mA LED, you'd get



R = (12 - 2) / 0.02 = 500 ohms.



The Model Railroad System includes a program, Resistor, that will do this computation (you can select the supply voltage, the LED voltage, and the LED current). It will also let you know what wattage resistor you need and will also find the nearest stocked value and display the color bands for such a resistor.

On 8/28/2008 11:13 AM Robert Heller spake thus:

wrote:

That's nice.

The little formula above requires only paper and pencil (or a calculator to those who prefer automation), and will work in a power outage without a UPS.

How are you going to light the LED when the power is out?

---john.

---------------------------------------------------------------------------=

-------------------------------------------

These might help...

Resistors:

formatting link

LEDs:

formatting link

Bill Bill's Railroad Empire N Scale Model Railroad:

formatting link
History of N Scale:
formatting link
's Store--Books, Trains, and Toys:
formatting link
to 1,200 sites:
formatting link

e:

me president, and I

--=EF=BF=BD-------------------------------------------

This calculator even shows you the colors on the resistor. Very neat.

formatting link

snipped-for-privacy@panix.com (John Haskey) wrote in news:g96v0f$frv$ snipped-for-privacy@reader1.panix.com:

Well, I don't know about you, but my truck could easily provide enough power to keep my Digitrax system happy for MONTHs. If the system's got power, then my White LED headlights can light. :-)

The mains are out, and the residents of my model railroad are happy because they've still got electricity. Imagine that. lol

Puckdropper

:

e quoted text -

---------------------------------------------------------------------------=

-------------------------------------

If one loses power during a thunderstorm, they could always send up kites to get the power they need for their model railroad.

Bill

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required