High power LEDs are getting cheaper and cheaper, however the constant current drivers, to drive them are pretty expensive.
Here, I'll show you how to built a simple and cheap, yet very effective constant current source.
The image shows the constant current driver hooked up to a 1W white Luxeon LED.
EDIT: This LED driver supports PWM, which means that you can control the brightness of the LED(s). Those fancy and expensive drivers doesn't support that. I'll post some schematics and applications as soon as i have time.
Remove these ads by
Signing UpStep 1: Get the Parts.
a LM317 Regulator.
a Resistor (see next step).
a Heatsink for the LM317 (you don't need one as big as mine, I just took one i had laying around).
some Luxeon, or other brands of high power LEDs (see next step too).
some Wire to hook it up.
it will be a good idea to use a heatsink for the LED as well.






































Visit Our Store »
Go Pro Today »




Chips of LED are from bridgelux and epistar. Luminous is 130lm/w(avg.), forward current 350mA, voltage 3.0-3.3V, the price with Star MCPCB is $0.4/pcs.
My email: hup@allrayinc.com, call me Richard.
got hot.
I first tried to hook it up to 2 3w led's in series then I removed one of them.
Neither time did any of them light up.
I think I need a different regulator. Which one should I use?????
Great aritcle in any case!!!!!!!!!!
forward voltage: 2.9v-3.3v
forward current: 750 mA
hope that helps.
thx for article
OK I want to do a string of 9x 3w LEDs with fv of 3.6v and run them at 700ma.
So if I am understanding I would run them in series add a Power Supply that delivers 35.5volts { (9x3.6)+3 for LM317 }
For R1 I would use a 1.8ohm resister that can take 1amp. is that correct or do I need 5-10amp?
Now if I want to dim it without any fancy PWM circuit can I just add a Pot after R1 to increase resistance which will lower the current in effect dimming the LED's. will this work?? if so what size Pot will I need?
Thanks
i have mobile battery (3.7 volt , 900ma)
Can I plug my battery directly to the 1 watt or 3 watt power led ?
please help me
thanks
http://sevenpanda.com/100w-warm-white-high-power-led-light-lamp-100-watt-p-1415.html#.UFq6bFFfb9Y
http://toyswill.com
Will this driver work for 3 of this Cree XLamp XR-E Q5 White 3W LED Light Emitter, or should I build one for each like?
http://www.ebay.ca/itm/5PCS-Cree-XLamp-XR-E-Q5-White-3W-LED-Light-Emitter-mounted-20mm-Star-PCB-/320941810262?pt=LH_DefaultDomain_0&hash=item4ab99f6256
I would like to power the 3 with a Ryobi 18V drill battery, I also want to build a couple and power them with 3.7V li-ion (I work with computers and have a pile of 18650 batteries from laptops) so i can put together a few battery sizes.
This is the light design.
http://www.instructables.com/id/Improved-high-power-LED-bike-head-light-with-integ/
Can i use a 12V DC running 3x1w led ?
I'll install a micro piezo blower to cool it down ;-)
I noted that the reference voltage is 1.5V, I need 3 Amps so 1.5/3 = 0.5 ohms for the resistor value right?
Then another thing is how do I know what watts the resistor should be?
I'm running 3 LEDs 3.2V each at 3Amp in series, for a total of 9.6V.
Is it 1.5V*3amps = 4.5W or is it 9.6V*3amps for nearly 30W?
Thanks (:
"Remember: with great power comes great current squared times resistance"
Excellent instructable by the way, bravo.
I m making a 90W Led panel,Using 1W led(rating 350mA,3.2V)
In which design shud i make it??
And for Led lights panel,Constant current source is better or Constant Voltage source??????
n do the series or parallel combinations of LEDs affect the efficency or temperature of the panel....
Please Email me the design at
good_boy_9211@yahoo.com
|--CCDriver--LED-LED-LED-|
|--CCDriver--LED-LED-LED-|
12V--|--CCDriver--LED-LED-LED-|--Ground
|--CCDriver--LED-LED-LED-|
|--CCDriver--LED-LED-LED-|
What's the advantage(besides power savings) of the modded PWM version ov, say, using a variable resistor in THIS circuit.
To control brightness.
Or am i confusing voltage and amperage yet again?
(sorry, bast my normal bedtime)
I found a very cheap LED driver that claims can drive up to 10A current
I dont know know and never tried building it building it, here is the circuit
copied from a site
http://www.simple-electronics.com/2011/09/cheap-power-led-driver-circuit.html
here is the sites circuit
So you cannot use full bright!
I am trying to build this, but I am using two 10w LEDs with a Vf of 3.6 and a current consumption of 2800 mA. For the life of me I can't figure out what regulator to use. Any ideas?
could you help me in designing a circuit for lighting 10 w power LED or 1*10 watt leds..
Thanks,
Yugang
Lee
THE LEDhttp://cgi.ebay.com/30W-White-High-Power-2100LM-LED-Light-Lamp-Bulb-A_W0QQitemZ220708010099QQcategoryZ163866QQcmdZViewItemQQ_trksidZp4340.m263QQ_trkparmsZalgo%3DSIC%26its%3DI%252BC%26itu%3DUCI%252BIA%252BUA%252BFICS%252BUFI%26otn%3D10%26pmod%3D220693236934%26ps%3D63%26clkid%3D5621333683761900258
CAN I USE THE LM317 OR I NEED A DIFIRENT VOLTAGE REGULATOR
THE INPUT POWER WILL BE 16V
could you please help me in designing to light 10w power led or 1w * 10 led?
I appreciate your help!
Yugang
http://www.national.com/ds/LM/LM117.pdf
"The LM117 series of adjustable 3-terminal positive voltage
regulators is capable of supplying in excess of 1.5A over a
1.2V to 37V output range."
P = V * I = 16 Volts * 1.5 Amp = 40 W
I think you can. Go for it. Someone correct me if I'm wrong. Gonna keep reading this DS...
Input voltage : DC 4.8V - 5.6V
Led : 3 X 3w Leds, working voltage 4v - 5v each led, so had to wire in parellel.
Prefered current : 0.8A - 0.9A
Now I am just using resistor to do the job.
Please email to ngwanhoe@yahoo.com
Thanks a million.
If wire the Leds in series then I would have to put in 8v - 15v power supply. Don't have space for so many batteries.
reg
ketan
--------------------------------------------------------
"May the good belong to all the people in the world.
May the rulers go by the path of justice.
May the best of men and their source always prove to be a blessing.
May all the world rejoice in happiness.
May rain come in time and plentifulness be on Earth.
May this world be free from suffering and the noble ones be free from fears"
---- Vedic blessing
I have 50 blue and 50 white leds, here are the spec:
" http://i1104.photobucket.com/albums/h329/broxlin/Proiect%20Diamant/Blue.jpg " and " http://i1104.photobucket.com/albums/h329/broxlin/Proiect%20Diamant/White.jpg ".
This will be the light for my reef tank.
I want to make 2 or max 4 lamps, if it's possible, so one circuit for 25 / 50 leds.
If I put less leds, the number of sources will be higher and the cost the same.
How can i make it better?
Thanks!
I've been studying this subject.
This regulator seems just what I'm looking for. Not tuned in yet on the "constant current" concept though.
I want to drive twenty 1 watt LED's in series. Each uses 2.79 volts and 350 mA.
So if I drove them in parallel I'd need 2.79v but a staggering 7 amps !
I asked an electronics teacher and he said "run them in series".
So then you need 28 volts but only 350 mA for 20 watts, plus a balancing resistor.
Very little power wasted.
As I understand it each LED sees 350mA, but the voltage pressure drops progressively until finally it hits the resistor.
The constant current concept is a consistent way to safely drive power through the LED's one or many. You are correct the voltage goes up on your supply demands, but the constant current (or current regulator) provides the proper power control.
Hope that helps to explain constant current concept
would it be best to run these all with different drivers or all in series or a mixture and also what would be the best regulator for the system. I'm nearly at the point of comprehending all of this but thats not the same as understandingit to a competant enough level to make it, just yet.
Cheers
I'm planning on using the LM1084it-adj vs the LM317.
So far I've figured based on datasheets @ 700ma, I should have about 2v total drop with the 1084 (1.25adj+ ~.8@700mA). Is this correct?
My source is going to be a computer PSU converted to a benchtop PSU, using the 12V out. Based on my LED's datasheets, I should be at about 2.2V per Red or Yellow @700ma, based on this, the 1084 will be dissipating 1.2V@700mA with 4 red or yellow LEDs wired in series (total of .84W). For the blue I've figured ~3.6V for 700mA, with 2 in series the 1084 would have to drop ~2.8V@700ma (1.96W).
Forgive me, I am a relative newb to electronics, does my math seem correct? Am I misinterpreting the datasheets when it comes to how much voltage the 1084 drops under varying loads?
http://farm4.static.flickr.com/3339/4629373728_186cbc5e3f_o.jpg
(If the link doesn't work, just type "current source" on the linked website, www.dealextreme.com, and browse for the correct input voltage)
I just received it today, so haven't managed to tried it myself, but googling the driver's datasheet (AP3706), definitely a true current source! The product is rated to 350mA, but if you're good with electronics, you can change the Rsense (which I only can guess at the moment which one on board) to suit
Also note that this driver only have max output voltage of around 4V, so only good for powering a single white LED. Obviously, you have to be comfortable with the hand skill for installing such a small driver (with live voltage!). Hope that helps...
The voltage of the LM317 can usually be modified by changing the ratio of the two resistors going into ADJ and Vout.
This is usually based on the equation Vout = 1.25(1 + R2/R1).
If R1 = R2, then doesn't the equation give you 1.25(1 + 1) = 1.25 * 2 = 2.50V?
If that's the case, I would think your computation for how to determine what resistor you need for limiting current would come out differently.
For instance, when you have a 1W LED, which requires 350 mA, you use Ohm's Law to come up with 1.25/0.350 = 3.57.
Wouldn't you instead end up with 2.50/0.350 = 7.14?
I'm having a hard time understanding how you can even use Ohm's Law here since any time you change your resistor, you're going to change how much voltage you're getting because you'll be changing the voltage going to the ADJ pin.
and 30 millamps
I am about to use this circuit and 3 LEDs in a motorcycle headlight. So the input voltage could be at around 12v to 14v. Is so much voltage sufficient to drive the LEDs. By the way I have not tested the circuit with the LEDs. I have only tested the circuit using a multimeter and with an input voltage of 9v.
Yeah, You should always use a heat sink for both your LED and regulator. And yes, it will work with varying voltage as long as the voltage doesn't exceed the maximum input voltage of the regulator (35V for the LM317).
Thanks again.
But, The LM317 and the LED's Star Board is getting very hot for just 3 to 5 Minutes!?! The LED is 1W from a local company (may be Chinese too). I am from Bangalore, Karnataka, India.
I used a 12V, 500mA DC Wall Adapter. The resistor value is 4.7Ohm of 0.5W. I wanted less than 350mA, as i don't have any datasheet for this LED.
So, why does both the LED and IC gets Very Hot soon?
Thanks in advance
What voltage do you use to power the circuit?
Intensity Typ. : 1100Lm
Viewing Angle : 160°
Forward Voltage : 13.5V-15V
Forward Current : 1500mA
LED could I use this drivr whit it? I have tryed it on 12v power supply rated @ 12v dc 4.16A and that almost cooked it! I would like to run it in a car 12-14V and also use it with my powr supply at home what resistor will I need and were can I get the compnents at a good price in the uk thnks
Sorry for not replying. The problem with this driver is that it isn't that efficient. It has a voltage drop of 3 Volts, meaning that the input voltage needs to be 3 Vollts higher than the LED forward voltage.
I'm going to convert 4 of my taillights in my car so that each of the 4 lights would use 8 LEDs (I'm constricted to that number due to physical dimensions). Since all 4 lights will be identical, let's use the following as an example of 1 light only.
LED specs:
Red 1 Watt
Forward Voltage : 2.2v-2.4v
Forward Current : 350mA
example: ebay item # 310154192168
Input voltage == regular automotive 12V batt. which I think would vary the voltage from about 10v to 14v.
So if I use 1 driver per light ( 8 LEDs) I could connect 2 series (4 LEDs in series) in parallel (2 strings)? The way I'm looking at it according to your examples would be using LM317 for 2.3+2.3+2.3+2.3+3 = 12.2 at 700mA, so I'd need 1.8 ohm resistor for that? But what exactly will happen in the input voltage from battery drops below 12.2V ? Will the LEDs just become a little dimmer, or would they not light up at all ?
2nd question: These lights are supposed to be dual stage (park and stop light). So for stop light, I'd use the full intensity, but for park light, I'd want to limit the intensity to probably about 70% maybe (?). So can I just, for parklight input, add a resistor to the Vin of the LM317?
3rd question: I realize I need a heatsink for the LM317, although since I'll be using all of the input voltage, there probably won't be much heat generated to dissipate anyway. But I don't get the LED heatsink comments. I can't just mount these LEDs on a regular PCB?? What kind of heatsinks should I use for them and how do I attach them?
Thank you very much in advance for helping!
Peter
So following my example above, the brightness of the LEDs would not be noticeably worse unless the input voltage dropped below 11.2V, right? That's perfectly within my expectations :)
As far as turning down the brightness, let me get this straight. The way I thought I could do it was to leave the way you had the 1.8ohm resistor wired between the Vout and ADJ and add another higher resistor at Vin. If Vin was getting 12-14v, the LEDs would be at full brightness, but if the voltage was routed through the higher rated resistor to Vin instead, the LEDs would be dimmer. And I was gonna separate the 2 inputs to Vin using 1amp directional diodes. So you're saying I can't limit the voltage that way to lower the brightness? Any more detailed clues on how to accomplish this goal the easiest and cheapest way? I don't have to change the brightness levels once I find the right brightness drop.
As far as heatsinks, I think attaching the regulators directly to car's chassis should serve as sufficient heat dissipation, right? Although it will be in trunk area, and in summer the metal gets really hot... but so would pretty much anything in the trunk. As for the LEDs, the ones I was looking for are being sold without the stars. Are stars the heatsinks? Unfortunately, all those with the stars that are being sold have different parameters (less lumens, higher forward voltage). So I'd really like to use those here: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=310154192168&ru=http://shop.ebay.com:80/%3F_from%3DR40%26_trksid%3Dp3907.m38.l1313%26_nkw%3D310154192168%26_sacat%3DSee-All-Categories%26_fvi%3D1&_rdc=1
What would you suggest about the LEDs then?
As far as dimming the LEDs, you should be able to connect a resistor on the input of the LM317. I don't know if you'll get problems with the LM317 trying to maintain a constant current, and can't because of the resistor though, but I don't think so.
I don't think mounting the regulator directly on the chassis is a very good idea, because the Vout pin on the regulator also is connected to the tab of the regulator, so if you do, you'll need to insulate it. I suggest mounting the LEDs on an aluminium plate with thermal glue.
Hope that helps :)
and I posted the question there, but the author doesn't seem to respond anymore. Maybe you can help me figure that out?
There is no point to doing it this way. Simply using a series resistor will do just as well, just as efficiently. The only thing nice about this circuit is an easy way to calculate the current regardless of (an unknown mystery LED) what the forward voltage of the LED is.
This doesn't inherently "support PWM" either.
Above all, LM317 is designed to be a voltage regulator. The best way to drive an LED, whether it be by PWM or not, is by more directly regulating the current but ideally, not using a linear voltage drop stage which is what the LM317 is.
It is a good teaching circuit to learn about LM317, but for powering an LED, not so much.
Check out http://www.dealextreme.com as they have a selection of dirt cheap LED drivers for most 1W to 5W applications. And good prices on the most efficient 3W Cree LEDs too.
To put it another way, usign a $4 driver and $6 LED, you would have over triple the light output using less than 1/3rd the power of running this circuit with one LED off more than roughly (too lazy to do the math) 12V, and eliminate the need for a massive heatsink.
LED drivers are purpose designed to do the job best. DIY projects are great but also appreciate when professional EEs pick the right parts, when a factory can get it all made, and delivered to you at a good price ready to do exactly what you need.
Modern tech combined with the internet for finding and ordering products is very very great, even if you want a DIY project there isn't a need to do everything from scratch anymore and with LEDs, to regain the efficiency is very desirable for not only efficiency but to not have to deal with all that heat in a project casing.
Also, since i have 6 in serial, the total voltage drop is 6x3.2(LED)+3(LM) = 22.2V, but my source is 24V, what do i do with the extra 1.8V? same goes for the 6.5A output from the source, my parallel config is only 4.2A (6x700mA), what happen to the other 2.3A?
thanks
But right off one can already say that when using one 3 Volts LED the efficiency will never be more than 50% (because of the 3 Volt Voltage drop), whereas other circuits claim to have a 70-90% efficiency. For a 3 Volt LED, you would need at least 6Volt input, whereas other circuits will let you use 5 or even 4 Volts input. Ofcourse the efficiency of the LM317 circuit will get better when using more LED's in series it will always at least lose that 3 Volt x LEDcurrent
// lond
So, 3x2,5V(leds)+3v(lm317)=10,5V
What I have to do with the rest 1,5V voltage?
Forward resistor before the leds by the ohm-law?
Apologize me. My english is so weak.
I made a LED projector, but i just bought the 20w Led.
Thank you for your intructable and your help.
Might be useful.
http://www.reuk.co.uk/LM317-Current-Calculator.htm
Funny story, my local surplus store just printed out linear's instructions, including his diagram, and replaced "Luxeon" with their own name for them. They even put together a little kit with his instructions packed with the parts.
I want to make a diving lamp. I have a battery pack 14.4 v and 9amp.
I would like to use as many sst-50 high power LEDs as possible for better light.
Can I use the simple driver with LM1084IT-ADJ since each sst-50 uses 5 amp.
Driver must be connected in series or parallel?
Current draw of the LED == 350mA
Power consumption would be in watts
Current isn't going to drop across the LED, so no matter how many you have in series that resitor won't change. The voltage requirements will, but the resistor won't.
Now, on the chance that I'm wrong and it really is power not current, the equation isn't V=IR like you are using. The equation is P=IIR (that's current squared). and P=VVR (voltage squared)