Or to put in another way: "this is better than using a resistor". It's more consistent, more efficient, and more flexible. It's ideal for High-power LED's especially, and can be used for any number and configuration of normal or high-power LED's with any type of power supply.
As a simple project, i've built the driver circuit and connected it to a high-power LED and a power-brick, making a plug-in light. Power LED's are now around $3, so this is a very inexpensive project with many uses, and you can easily change it to use more LED's, batteries, etc.
i've got several other power-LED instructables too, check those out for other notes & ideas
This article is brought to you by MonkeyLectric and the Monkey Light bike light.
Remove these ads by
Signing UpStep 1: What you need
R1: approximately 100k-ohm resistor (such as: Yageo CFR-25JB series)
R3: current set resistor - see below
Q1: small NPN transistor (such as: Fairchild 2N5088BU)
Q2: large N-channel FET (such as: Fairchild FQP50N06L)
LED: power LED (such as: Luxeon 1-watt white star LXHL-MWEC)
Other parts:
power source: I used an old "wall wart" transformer, or you could use batteries. to power a single LED anything between 4 and 6 volts with enough current will be fine. that's why this circuit is convenient! you can use a wide variety of power sources and it will always light up exactly the same.
heat sinks: here i'm building a simple light with no heatsink at all. that limits us to about 200mA LED current. for more current you need to put the LED and Q2 on a heatsink (see my notes in other power-led instructables i've done).
prototyping-boards: i didn't use a proto-board initially, but i built a second one after on a proto-board, there's some photos of that at the end if you want to use a proto-board.
selecting R3:
The circuit is a constant-current source, the value of R3 sets the current.
Calculations:
- LED current is set by R3, it is approximately equal to: 0.5 / R3
- R3 power: the power dissipated by the resistor is approximately: 0.25 / R3
I set the LED current to 225mA by using R3 of 2.2 ohms. R3 power is 0.1 watt, so a standard 1/4 watt resistor is fine.
where to get the parts:
all the parts except the LED's are available from http://www.digikey.com, you can search for the part numbers given. the LED's are from Future electronics, their pricing ($3 per LED) is far better than anyone else currently.













































Visit Our Store »
Go Pro Today »




INPUT = 12V DC
output = 350mA / 9-16V DC
This needs to be submersible and only used in water. Like to mount them on 6"x6"x.125" Alum by heat sink grease, then encase them in 2 part marine epoxy to edge of bubble on one side with back side of plate exposed to water for heat distribution. Thoughts, Ideas, Problems??
first off i would liek to thank you for this circuit.
i have made a monster of a aquarium LED fixture rockin 44 of your drivers powering 132 ,1 watt LEDs divided into 3 arrays running on a 12 volt 350 w P/S .
link : http://www.facebook.com/photo.php?fbid=468073513207432&l=30056293f5
Not sure if you answered this question previously, i did look, but i might have missed it .
My question is can i mix a different LED into the circuit? lets say i have 3 whites running at 3.25 volts , and i have a red led that calls for 2.5 volts at the same current ( ma), can i swap out one of the whites for a red and it not fry the lower voltage led when power is supplied? or do i need to run each color led in its own driver group ?
thanks for you time and thanks again for this circuit
A too-high voltage will only do that if it can force more current through than the component can handle, for example putting a 3 volt LED on a 24 volt power source by itself will burn it out because the high voltage causes too much current to flow, hence the need for a resistor or other circuit to limit current.
Now the voltage drop across your LEDs is as follows:
3 whites:
3.25+3.25+3.25 = 9.75
2 whites, 1 red:
3.25+3.25+2.5 = 9
So the total change in load voltage (voltage drop across all three LEDs) isn't very big--I suspect this circuit will be able to compensate no problem.
Someone stop me if I'm wrong about any of thsi in general, or with regards to this circuit, which I haven't used--my circuit skills are a bit rusty.
(And I am assuming that the circuit is able to handle a 9V+ load already.)
Many thanks
Is this circuit with different resistor, suitable for 5W ir power led?
Forward voltage: 1.5-1.7V Forward current: 2400mA Wave length: 940nm
Power source 12-14V dc
Thank you
Ari
Thanks for taking the time to put this together!
Great work. i am a mechanical engineer by profession and not good in electronics.
so that i need your help to make the constant current drivers for the following 2 different power LED s. please check and confirm the calculations for R3
1. 10 watts with 850mA/10Volts. R3= .5/.850=.58 ohms in 1watt
2. 7 watts with 700mA/7volts. R3= .5/.700=.71 ohms in 1watt.
and most important of all i have added a 10Volt Zanier Diode in the circuit (as per diagram #3) and with heat sinks to LED and FET (50N06) want to use it with 36Volt DC power source,
will it work ? please guide.
Thanks.
The transistor will start to turn the FET off once the base voltage starts to get above 0.7V so the resistor you would need would = .7V/1.2A = ~0.58 ohms, the resistor need to be above 1 Watt though to handle the current.
Rufus
I am currently using it for to charge some Lithium Ion cells that I pulled from a laptop battery.
I have it currently setup for 300milliamps, it appears to be charging the batteries. This is also powered from the +5V on a USB plug, I have a teensy 2 board on a bread board witch I built that on, but just replaced the LED(s) with a lithium cell.
If you decide to do that, keep an eye on the cell! Constantly check the temperature, only draw back, is it will not finish the 2nd stage of charging, witch is Constant Voltage, but that's fine with me.
I take no responsibilities what you do with the battery.
I need the Low Cost Constant Current Source for Power LED's to supply 3.4 to 3.8 v to a LED circuit. As shown in the pencil drawing on this site, this is a series circuit which concerns me because I plan on running about 20 .5w led's which will be a light source for a small painting booth. What will need to modified for 20 led's?
Thank you,
John
Are you using batteries or a wall adapter? Your LED's would be using 10 watts
If all 20 LED's are in series, you will need at least 68 to 76 volts. Because this method has the least current (same as the mA rating of your LED's), this is the most efficient method and produces the least heat but there is a risk of electrocution. This is not practical as we don't see batteries in this voltage range.
Instead, you may prefer something like 4 strings of 5 LED's so your voltage source is at least 17 to 19 volts. A 24 V battery works. The resistor should be calculated as for four times the current rating.
The least efficient method would be connecting all 20 LED's in parallel. The resistor and transistor could get very hot.
You can also build more than one current regulator
In an ideal world, you can use the parallel method but the resistance can vary in LED's so those with less resistance are overpowered and those with higher resistance are underpowered. This means some wear our faster than others. When one LED dies there is a chain reaction of other LED's dying.
I spent the whole day figuring out this circuit today because the pins of the FET are not in the same order as ordinary transistors. Check the specs.
I am thinking of a modification to your circuit to run on AC supply. Wanna build AC run light bulbs for my home using Power LED's and a good reliable driver is essential. The circuit which you have runs best if the voltage of the LED string matches with the input voltage else most of it is dissipated in Q2.
Can convert 230V AC to DC using a Bridge, have protection devices like MOV, spike resistor & fuse in the AC input end and limit the voltage using Zener diodes to 12V. which can be then fed to to the LED string. Does the current setting still work if these modifcation are done ?
Insights on this would be very helpful !
Thanks
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??????
Please Email me the design on good_boy_9211@yahoo.com
I am using http://www.fairchildsemi.com/ds/FQ/FQP50N06.pdf which has a maximum junction temp of 175C and a Juction-to-Ambient Thermal Resistance of 62.5 C/W. Assuming a maximum temperature rise of 100C, this means the NFET can handle (dissipate?) 1.6 watts without a heatsink?
My particular LED is running with a 3.31 V drop at 339 ma, thereby dissipating (?) 1.12 watts. Are this and the above 1.6 watts representing the same value (since there is nothing else on the circuit)? As long as my LED stays below 1.6 watts, I should be fine without a heatsink?
Or am I completely off my rocker? If so, can anybody point me to a site with more information in this area? My searches have been mostly fruitless..
I've been "a bit of a fool" in buying some A123Systems LiFePo4 cells (26650, 3.3v, 2300mAh) and "forgot" about the recharging part...
I tried some schematics but didn't worked out as I expected!
Could I use your schematic to recharge these cells(I've got 5 of them...) considering the manufacturer recomends the CCCV procedure and a minimum of 3A for recharging them?
They could be charged at up to 10 Amps for fast charging but the current must be lowered in the final part of the charging for topping off the charge in the cell!
So the voltage could be fixed to 3.6v but I have to be able to lower the current in the final part of the charging process!
I hope you can help me and thank you in advance!
Gabriel!
LED current is set by R3, it is approximately equal to: 0.5 / R3
.5 /r3
how can you divide it by r3 when your trying to find out the value of r3 by this equation ?
If you want 200mA, then your R3 will be 0.5/0.200 = 2.5 Ohm
resistiance=(suplie voltage-led voltage)/0.02(a good standed number for standed white leds if using high power you divide by recomended mA)
r=(V2-V1)/I
(9v-3v)/0.02=300ohm
or
(5.6v-3v)/0.03=86and 2/3 ohms (86.666')
I have read your article on Leds and thought maybe you can help me.
I am trying to make a high power Led torch with small overall space, simple and cost effective.
Leds
4 x K2 3W Leds (in put voltage 4.5 - 5, current I think is around 350 -700ma each not so sure)
Batteries
2 X AAA Alkeline or rechargeble batteries ( Normal 3v, rechargeble 2.4v)
or
3 x AAA (Normal 4.5v, rechageble 3.6)
or
4 x AAA (Normal 6v, rechargeble 4.8)
Driver / Step up circuit simple plan
Simple and can get in any electronic shop. Voltage step up and current constant / boost or
anyway that can drive the Leds efficiently.
Please email me. Thanks a lot
ngwanhoe@yahoo.com
thanks
Works great. From 100mA or so, to well over 1500mA in my tests. A 10ohm 25-turn might be better though.. tighter calibration.
And if you want to tie in a PWM signal, follow the author's other post...
http://www.instructables.com/id/Circuits-for-using-High-Power-LED-s/
Here is a constant current 555 driven led driver (see part, Inari):
http://web.jfet.org/ignignokt/
Anybody know the maximum current this can handle? At least 1.5 amps?
-burg.
Awesome! Only one slight tiny problem, I'm a idiot!
I don't understand a thing about circuits. Circuits for Dummies is way past my pay-grade. But can monkey-see-monkey-do better than most engineers.
Tell me to get lost but I'll try anyway.
What parts do I modify to run a 1W LED (up to 3 LED's) with a forward current 350mA & 3.2Volts?
...and the same values, but for a 4W LED?
Yeah, sorry.
I want to use it to make a constant current 3V battery tester and count the hours it takes to discharge the batteries.
Thanks!
Cheers
Thanks in advance.
Hope this helped
Is there any way to introduce q3 before q2 in the circuit to make q2 act as both current limit AND pwm digital switch?
You would need to switch out the resistors and ensure the other components can handle the current you require. The way these work you will get better results if you wire the LEDs in series.
Thanks.
John
I ran it so far with a 12 dc wall wart at 1000ma. and it was very bright. And that was down 3 volts. I want to try to make a power supply that will fit in a recessed light housing.
tks
John.
Is there a better, but still simple circuit for doing this?
Thanks for any help.
Now I'm just trying to figure out how to modify the circuit. If the voltage is constant at 6v then you multiply by .5 of R3 for your current but I don't know what to do if using a different voltage.
so instead of the transistor you reccomended i used
http://www.mouser.com/Search/ProductDetail.aspx?R=BC184L_D27Zvirtualkey51210000virtualkey512-BC184L_D27Z
i put it together like in your instructions but nothing happens when i hook it up, does the collector current matter? im thinking that maybe somehow i might need a different R1? i used the same fet and used a .75 ohm current set and 100k ohm R1, 12v power supply and 1 cree xr-e, i also tried it with 3 batteries for 4.5ish volts, neither did anything.
thanks
The higher the Watts (wattage), the bigger the physical size of the resistor (it also gets more expensive). It therefore makes sense to select the resistor with the lowest wattage that can do the job safely, based on your calculations of currents and voltages. (I wanted to upload an image, but unfortunately the page does not seem to display uploaded images though it offers the option.) Your circuit will also be compact in size without getting unnecessarily bulky. For example, you wouldn’t need a 1 Watt resistor for a penlight LED circuit, though you could certainly use it.
If you apply a voltage across the resistor, there will be current flowing through that resistor. That current can be modeled by i = v/r (from ohm's law)
The power rating on resistors is the maximum allowed power that can go through that resistor. Power is the product of voltage AND current (p = v*i)
A standard "1/4" watt resistor can take up to 0.25 watts, which is really the most common type of resistor you can buy at hobby shops like radioshack. You can calculate power through a resistor using a handful of equations, all going back to p=vi and i=v/r
if you replace i in p=vi, you get p=v*v/r = (v2)/r - where v = voltage ACROSS the resistor and R is the resistance in ohms.
Hope this helps!
it should say power = voltage square divided by resistance
tks to all
Johnny
bipolar transistor and you need a FET (Field effect transistor)
A bipolar transistor drive current if current flow throught
it's base. A FET drive current if Voltage is applied to it's
gate (it remplace base). And a Mosfet is different that a fet
and won't work either.
I'm new here and don't know much but project is a line of site of optical link in a short range, and I'm using white Lxeon 3 star. For the 1st part, is the curcuit parts going to change if i used LHXL-LW3C instead of Luxeon 1-watt white star LXHL-MWEC??????
i hope someone can help
thanks
http://www.instructables.com/id/Power-LED_s---simplest-light-with-constant-current/?&sort=NEWEST&limit=50&offset=100
Also what is the most of these leds that I could run in seires?
tks
John
im using a dynamo 6v 3w for just 1 high power led 1W, what resistenvce do you recomend? im reall stupid in numbers.
thanks.
I have used this circuit 2 times already for relatively low power leds "under 400mA" I now built this circuit to out 1A, and then decided to use a PWM to control the brightness of the led. I built the constant current circuit on a proto board and it seemed to work fine with the led... however when I take out the 100k ohm resistor "R1" the led dims but does not go out? Do you have any Idea what is wrong with my circuit? I am using 2 1 ohm resistors in parallel to get .5 ohms which according to my calculations should give me about 1A of power.
I made the circuit using a potentiometer (variable resistor)+constant resistor for r3, and using 8.5V (crappy 9volt battery). I tested the circuit with LEDs, but I plan to use it for other stuff.
You should make a note that if you change the voltage or components, you have to change your equation. You put in step one that the equation is .5 /R3 = amperage. I had to change the equation to 6/R3 = A. I had different components besides the battery. (tip29A NPN transistor and BTS117 N-mode/channel MOSFET. I got both from ebay cheap for 5 packs!)
I got really confused at first, cause my 843 ohm pot. was putting through about 7 mA. Just doing backtracking i realized the equation was different for me.
Hope this helps anyone who tries to make this awesome, cheap, effective circuit.
P.S. Because my values were different, I had to add the normal resistor. With the 2200 ohm resistor and the 843 pot, I get a sweet spot of 1.99 mA averaging measurements from 4 different LEDs tested individually.
I also suggest anyone who makes this circuit to make an average amperage if you use it for unknown LEDs. The variability for my four LEDs was 1.94mA to 2.06, so I guess a nice +/- 3% change. I used GOLD stripe resistors, but the potentiometer was 1 kilohm but actually topped out at something like 843 ohms, so that probably would be the least accurate component in my circuit.
Try this one...
http://www.reuk.co.uk/LED-Dimmer-Circuit.htm
(This circuit does not provide constant current)
The only question I have about this is the spec on the PNP transistor and gate resistor, and how one would connect a PWM circuit such as the one I've mentioned to the constant current source in this thread
Whether it's a MOS or a LM317 or a 25cent resistor, they are there to drop the extra voltage as heat - so the power wasted is exactly the same. Your way costs more, is all.
It would be MUCH more eco-friendly for you to build a constant-current buck circuit that does not lose any more than 10% of the power as heat.
A Simple 500Ohm Resistor could have replaced The transistor,regulator thingy,and the Useless resistor in there
http://www.kaidomain.com/WEBUI/ProductDetail.aspx?TranID=2958
right you are. Kaidomain has revamped their whole site. Pull down the Sports/Hobbies and find Flashlights DIY for their listings of flashlight parts. Or just buy some of their great flashlights premade.
http://www.dealextreme.com/
They have several very nice things for LEDS. One is a 6 Watt 120 volt constant current power supply. Can run 2 3W LEDs off of it:
http://www.dealextreme.com/details.dx/sku.10852
Check in the flashlight DIY for all of their LED goodies.
NOte that it takes a MONTH to arrive. Sometimes less but do not plan on it.
3.5V x 1.4A = 4.9W
Are you actually putting 1.4A through your LED? That can't be a 1W LED, it must be a 5W. Reading the Digi-key page I think it is a 5W LED.
The LM317 puts out 5V? If so, you should need a 1.2 ohm 3W capable resistor, according to http://led.linear1.org/1led.wiz
Your 1 W LEDs should only require about 0.29 A or 290 mA @ 3.5 V
If you want 5 LEDs at 3.5V:
5 x 3.5 = 17.5V
If you wire them in series, you'll need a 17.5V power supply. Current on that would be around 700mA. That shouldn't be too hard to find. If you wire them in parallel you need a 3.5V power supply, but you'll need 700mA x 5 = 3.5A, a power supply with that current capabilities will be difficult to find.
I would wire in series. Using a 18V power supply with a 1 ohm 1W resistor will work good for you.
Use that website to calculate the array that best fits your needs.
http://www.instructables.com/id/EVKHFD64UZEWP86K7M/
the problem with it is that using an LM317 it has a high dropout (3.5v) so your efficiency is poor unless you are using many leds in series. you can do a little better with a different regulator model.
My requirement is for 350ma LED and Vf=3.5v.
So does it require Heat sink in this ckt.?
Thanks & regards!
The lumileds are rated at about 80 lumens (for the whites), and the RGBs are 30-40 (give or take). An average incandescent bulb is about 1000 lumens.
My question is whether or not the intensity is additive. That is, would I honestly need more than 10 luxeon 3s to come close to a standard 75 watt bulb?
Surely I'm missing or misunderstanding something here.
And also "LED TUBE LIGHT" this runs on 220v AC only.
Who told you that LED's cannot run on AC only.
Is there a way to use the simple circuit with a number of LEDs in parallel? I want to keep my voltage down so I can power with a homemade alternator where the input RPM could fluctuate (and therefore voltage). Voltage would most likely run up from zero and hover around target of 6V but could spike if RPM momentarily increased. I would like to use 6 bright white leds (3.4V and 6*.02A=.12A). Is my only option to put a resistor next to each one and make the circuit less efficient? Is there a better way than the simple circuit for this application?
Thanks
I'm planning to wire up this circuit as an addon for this product; to produce an uber alarm clock.
http://www.soleilsunalarm.com/SA-300W%20Controller.htm
With a 460nm star LED; which according to this:
http://www.jneurosci.org/cgi/reprint/21/16/6405.pdf
is the wavelength of light responsible for stopping production of melatonin.
However... as this "simulates" dawn by increasing and decreasing the voltage to the plugged in devices, thereby increasing and decreasing the luminosity of the light. I'm not quite sure if it does this by varing the current or the voltage of the devices, but from what you're saying this device is either ON or OFF? re: "it keeps the LED brightness constant no matter what power supply you use or surrounding environmental conditions you subject the LED's to".
So is there anyway of modifying the luminosity of the LED via the supply voltage? or is it one brightness solves all?
http://www.instructables.com/id/Blue-LED-light-box/
I just ordered mine from this site.
Yup, buck and boost regs are expensive when driivng over 1000mW.
Try a MAX regulated LED Driver on a chip. These are available as samples and online (See my instructable http://www.instructables.com/id/EAZDF6J2S5EPA8L4K4/)
...many models are available for one, three or several LED's in series and/or driven in parallel. Voltage regulated, boost and buck configs avail and with the circuit features:
ô€¾ 10V – 65V Input Power
ô€¾ Drives One or Multiple HBLED in Series. Drives Three HBLED for 12V input.
ô€¾ Constant Current Limit with Integrated Power MOSFET
o MAX5917A: 510mA – 623mA
o MAX5917B: 370mA – 470mA
o MAX5910: 250mA – 310mA
ô€¾ High Power Packages:
o MAX5917A/B: 1039mW SO-16
o MAX5910: 470mW SO-8
ô€¾ Higher Current Option with Parallel IC
ô€¾ Dimmable Through Enable Input (J2)
ô€¾ Over Temperature Protection
ô€¾ Open LED Alert Signal
power = voltage * current.
current through all the devices is the same. to find power for given device, multiply its voltage drop by the current. total power is battery voltage * current.
2) yes
thanks
http://www.laminaceramics.com/products/
over 1000 lumens per LED!
(I plan to use a Luxeon K2 with 4 NiMH AAs.)
I wonder if you / anyone could advise me as a newbie (blush)!
I have just bought a self contained RGB controller with PWM'd outputs:
http://www.dotlight.de/shop/product_info.php/cPath/263_266/products_id/828?osCsid=c99bcde36c901d8ae197dcf038b315d3
What I want is to use this for the lighting in a vehicle (12 - 14.6V). The LEDs I have looked at and bought one for testing are:
http://cgi.ebay.com/High-brightness-1-pcs-3W-RGB-full-color-LED_W0QQitemZ230093694925QQihZ013QQcategoryZ66954QQrdZ1QQcmdZViewItem
Now - the vehicle has a removable rear cabin leaving only the front cabin LEDs connected at times. I will need say 6 - 7 for the rear cabin and 2 - 4 for the front cabin depending on eventual light output.
Would this circuit work with the PWM output of the controller?
I guess I would need several circuits to power the array but am struggling on how many and how best to connect them?!?
Thanks in advance!
Chris.
http://www.allcoastsportfishing.com/photos/data/500/100091cc10_run.jpg
Dan: Since these are usually 10' from the switch, would a capacitor help? What kind and where?
Thanks man,
Kurt
oh, is the metal tab on Q2 bolted / electrically connected to any wires, like the circuit ground? that would be a problem.
rechargeables have considerably more total power in them than alkalines, but the per-cell voltage is lower (1.2 vs. 1.5), so you need 5 rechargeables to get the voltage of 4 alkalines - but the 5 rechargeables will last perhaps 2x longer than the 4 alkalines. so if you are convinced the circuit is correct, then just use 5 or 6 rechargeables.
the wall-wart: the labels on these are confusing - an older "big and heavy" 4.5V wall-wart will put out considerably more than 4.5V at less than its max-rated current, that's why you are seeing the effect you describe. the newer "small and light" wall-warts don't have this annoying behavior.
- can you get enough juice from the AA's? 2000mAh / 5 hours = 400mA, which is "full power" for a 1 watt LED. no problem.
- the constant current source in this tutorial is a perfect circuit for this. R1 = 100k-ohm or so (it doesn't matter much). R3 = 0.5 / 400mA = 0.5 / 0.4A = 1.25 ohm, so use either a 1.5 ohm or 1.2 ohm resistor for R3. resistor power = 0.25 / 1.2 = 0.2 watts. you'll want to get a 1/2-watt rated or larger resistor for R3 to keep it cool, the 2-watt parts listed in the project are cheap.
- you need a small heatsink on the luxeon. based on your application, it would be ideal to just glue it to the flat outside of the altoids tin. you'll also want to heatsink the Q2 transistor the same way, you can glue it to the flat inside of the tin.
- not sure if you'll need a lens, it depends how close this is to the music. get a "batwing" luxeon, those are 110-degree angle, and get a 25-degree lens for it, and see if you like it with the lens or without.
- what's a big benefit now that you have this circuit? if you forget to recharge your batteries, you can just use regular AA's instead.
Excellent circuit, I was working on a similar circuit using a LM317T, over the weekend, for a project I'm doing for Burning Man 2007 and didn't want to use a expensive LED constant-current driver module/board.
Thanks man.
GalileoPilot
http://www.trexxis.com/shuttle/shuttle.html
i just added the 'lm317' type current source here, if you switch to an LD1585CV you can improve efficiency and also get more power since it is a 5-amp part.
http://www.instructables.com/about/