Hi,
Any electronics whizzes on here that can tell me how to wire LED's together to work on 12 Volts?
I want to make up a rear light from discreet (individual) LEDs. For a single LED you would normally wire it in series with a resistor, but say if I
have LEDs with a forward voltage rating of 2.5 V can I just wire 5 of them in series and put 12 Volts across them?
I want to avoid losses across resistors (and heat) if I can and make the unit as efficient as possible.
Why bother withresistors when Rapid now sell 12v high output LEDs?
atb
mike
if you wire them in series, and 1 blows you lose the lot. not the best way.
in parallel the same voltage is applied to each led, so you should need the same in line resistor you would have for 1 led
Also bear in mind you often see up to 14V when the engine is running. I was lazy and used one of the those LED rain lights without a resistor (rated at 11 ish volts) and it popped a load of them. Had about 4 left working when I replaced it (and fitted a resistor this time!)
quote:
Originally posted by hobbsy
Also bear in mind you often see up to 14V when the engine is running. I was lazy and used one of the those LED rain lights without a resistor (rated at 11 ish volts) and it popped a load of them. Had about 4 left working when I replaced it (and fitted a resistor this time!)
quote:
Originally posted by blakep82
if you wire them in series, and 1 blows you lose the lot. not the best way.
in parallel the same voltage is applied to each led, so you should need the same in line resistor you would have for 1 led
quote:
Originally posted by trextr7monkey
Why bother withresistors when Rapid now sell 12v high output LEDs?
atb
mike
Here's the formula required to work out the resistance value.
First, gather some values:
Vin: 14V (battery voltage max)
Vf: 2.5V (forward voltage of LED)
If: 20mA (0.02A) (how much current you want to put through the LED)
n: Number of LEDs.
Remember ohms law - V/I=R...
R = (Vin-(Vf*n))/If
So, say you want to put 3 LEDs in series, and run from 14V:
R = (14 - (2.5 x 3)) / 0.02A
= (14 - 7.5) / 0.02A
= 6.5 / 0.02A
= 325 ohms.
330ohms would be a suitable value here.
To calculate the power rating of the resistor, use the formula:
P=VxI
The resistor above will have 6.5V across it and will pass 0.02A, so P = 6.5 * 0.02 = 0.13W. A standard 0.4W resistor would be fine.
Hope this helps.
Ed.
LEDs do not need any drop resistor if the current can be precisely controlled. Too small a current and the LED is dim, too much and it goes pop. The
resistor is there to stop the popping.
But power is wasted (as heat) in the resistor which is not acceptable for high power LEDs (emitters) so these use electroinc drivers that supply the
emitter with power; they also work on a wider range of input voltages.
Since we do not have a precise current source in a car but a constant-ish voltage source we need to make do with that.
The manufacturer supplies the volttage/current data so once we have decided on the current through the LED, preferably below the max it can take, we
know the voltage across it. Using that value of voltage we work out the value of the drop resistor to work on the 14 V car electrical system.
Using a single drop resistor per LED is more expensive and wasteful of power but as ^^^^ said, only one LED will blow if t here is a problem in that
circuit. I am not convinced this is a problem since all the LEDs will be wired to the same point so are all likely to blow.
You can connect 2, 3 or 4 LEDs in series and providing there is a couple of volts head room, use one drop resistor.
I have fitted LED lamps to instruments consisting of 4 LEDs in series that work quite happily.
back to original question.
quote:
Originally posted by sucksqueezebangblow
Hi,
Any electronics whizzes on here that can tell me how to wire LED's together to work on 12 Volts?
I want to make up a rear light from discreet (individual) LEDs. For a single LED you would normally wire it in series with a resistor, but say if I have LEDs with a forward voltage rating of 2.5 V can I just wire 5 of them in series and put 12 Volts across them?
I want to avoid losses across resistors (and heat) if I can and make the unit as efficient as possible.
Aaahhhh! Thanks guys, this is making more sense.
Just to get it clear in my head, what would happen if I used 5 LEDs on a 12.5V circuit (just for the purposes of illustration)
Would the following calculations be correct;
R=(12.5V-(2.5Vx5))/0.02A
=(12.5-12.5)/0.02
=0/0.02
= 0 Ohms
What is the downside of not using a resistor (if my calculation is correct), Current fluctuation?
the downside of not using a resistor is that there is nothing in the circuit to keep the current down.
V=IR
so
I = V/R
where V = the voltage left after you have taken away the voltage drop across the LEDS.
So,
Bat - 5*2.5V
12.5V - 12.5V = 0V (maybe fine)
12.6 - 12.5 = 0.1V
I = V/R
I = 0.1 / 0 = infinity = blown LEDs
Matt
quote:
Originally posted by sucksqueezebangblow
What is the downside of not using a resistor (if my calculation is correct), Current fluctuation?
quote:
Originally posted by sucksqueezebangblow
quote:
Originally posted by trextr7monkey
Why bother withresistors when Rapid now sell 12v high output LEDs?
atb
mike
Hi Mike,
I just checked, They have inbuilt resistors!
Fantastic, this is really good stuff.
Final question. How do I calculate what the minimum head room voltage should be, or what the minimum resistance I should use is. For example (for the
LEDs I have bought)
(13.3-(2.1x6))/0.03=30 Ohm with 0.9V headroom
or
(13.3-(2.1x5))/0.03=100 Ohm with 2.1 V headroom
Can I get away with 30 Ohm or are the LEDs still likely to pop?
really need to see the voltage/current graph for the LEDs you are using.
If you are using 5 mm white LEDs, it will not be disimilar to that shown on page
6here
let's say you are going for 20 mA, then Vf is 3.5 V.
You cannot connect 4 LEDs in series since for that current, the voltage drop across them will be 14 V leaving no head room at all (chances are you
alternator puts out 13.5 V anyway - I use 14 V to be on the safe side).
You select the numebr of LEDs to be less than your minimum voltage, 12 V so that is 3 in series = 10.5 V.
max voltage is 14 V so head room is 3.5.
divide this by 20 mA gives 175 ohm
This is the bit I don't quite follow (I'm not very bright when it comes to wiggly amps). If the resistance, currents and voltages are calculated at the max possible voltage (14V) and if the voltage drops, it appears to me that the currents will drop also, and each will drop by a similar factor. So the voltage across the resistor will drop and so will the voltages across the LEDs. So why the need for headroom (other that enough to warrant a resistor to control the current). Sorry if I'm being thick!
sorry to stick my 5 pence worth in but
don`t forget you are using a motorbike alternatow which runs through through a voltage reg
you will find that your charging voltage differs from your engine rpm and load ie with driving lights on you might only get 12.8 volts but without
the lights u`ll get 14.4 volts with a resistor in the cirquit you will be less likly to pop the led`s
If you want to go really secure and same brightness whatever the input voltage is. Set up a regulated power supply, either still putting the leds in series. Or get one with the right voltage out that the leds you want to use require.
quote:
Originally posted by sucksqueezebangblow
If the resistance, currents and voltages are calculated at the max possible voltage (14V) and if the voltage drops, it appears to me that the currents will drop also, and each will drop by a similar factor.
Not strictly true since the voltage/current relationship for a LED is not linear - see graph above..... but we'll continue .
So the voltage across the resistor will drop and so will the voltages across the LEDs. So why the need for headroom (other that enough to warrant a resistor to control the current). Sorry if I'm being thick!
The headroom isn't required if you can control the current precisely.
Again referring to the graph. (from memory, you have voltage on the horizontal axis and current on the vertical axis)
If say you decided run the LEDs at 20 mA, look at vertical axis, find 20 mA and move right until you hit the line, then go down to see the voltage across the LED. If you have a power supply that can give that voltage and not other under all conditions, then you don't need any resistor.
What you have is a variable voltage supply ranging from 12 to 14 ish volts. If you did the same for the voltage - read horizontal axis first then go up, hit the line and go left to read the current, the range of amps for the 2 voltage above will mean either that the current is too big = dead LED or too low = dim LED.
I think I follow; the resistor acts like a crude sort of voltage regulator, reducung (but not eliminating) the fluctuation in voltage as the
battery/alternator varies between 12 and 14 volts?
I can get a 12V fixed voltage regulator for about 70p so I'm thinking (from all the good advice you guys have given me) that I should use 5 x
2.1V LEDS, a 12 V regulator and a resistor to drop the remaining 1.5V. Does that sound like the optimum set up? Or would it be better to go for a 9V
or 10V regulator?
http://www.reuk.co.uk/Zener-Diode-Voltage-Regulator.htm
quote:
Originally posted by sucksqueezebangblow
I think I follow; the resistor acts like a crude sort of voltage regulator, reducung (but not eliminating) the fluctuation in voltage as the battery/alternator varies between 12 and 14 volts?
Well your voltage is lower then 12V when the engine is off. Certainly with lights on.
I think I'd opt for a 10,5V regulated supply using 4 led series with a resistor to take up the last 2,1V.
Although if your supply is accurate and stable you could just as well use series of 5 leds. But I'd run some tests with the supply to check it is
accurate and stable accross variable loads and voltage inputs.
Excellent, thanks guys, I think I got it in the end! Time to get the breadboard out (if that is what they still call them these days) and do some experimenting! I think I might invest in a variable voltage bench power supply as well to test the circuits thoroughly.