by Rog (RJ) on Fri Jun 13, 2008 11:46 pm
If they are ordinary LEDs, what colours are they? If they are white, they need different value resistors compared to red or green.
Red and green LEDs usually have a "forward voltage" of 2 to 2.5 Volts, white ones about 3.3 to 4 Volts
The formula for the resistor value is: (Supply voltage minus LED voltage) divided by LED operating current.
LEDs are usually operated at 20 milliamps (20mA or 0.02 Amps). This gives adequate brightness and a long working life but they will give a reasonable light at lower currents and will last even longer.
So for a red LED operating at 20 milli Amps on a 12 Volt supply:
(12v-2.5v) = 9.5v
9.5v/0.020A = 475 ohms
We usually round up the caculated resistor value to the next highest available, which in this case would be 510 ohms, but as the calculated value is so close we could use a 470 ohm resistor. (the next lowest standard value)
If we do the calculations for a 15 Volt supply we get the following results:
(15v-2.5v) = 12.5v
12.5v/0.020A = 625 ohms
Rounded up we would use a 680 ohm resistor but again we are so close that we could use a 620 ohm resistor (the next lowest standard value)
A white LED on 15Volts would be (15-4)/0.02= 550 Ohms rounded up to 560 ohms.
If two or more LEDs are wired in series, add their voltages together and subtract from the supply voltage. For example two white LEDs on a 12 volt supply (12 - (4+4))/0.020 = 200 ohms
A happy New Year to one and allRog
