3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Power LED's - simplest light with constant-current circuit

Power LED\
«
  • DSCF3940.JPG
  • DSCF3948.JPG
Here's a really simple and inexpensive ($1) LED driver circuit. The circuit is a "constant current source", which means that it keeps the LED brightness constant no matter what power supply you use or surrounding environmental conditions you subject the LED's to.

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 adsRemove these ads by Signing Up
 

Step 1What you need

What you need
«
  • DSCF3927.JPG
  • DSCF4170.JPG
Circuit parts (refer to the schematic diagram)

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.

« Previous StepDownload PDFView All StepsNext Step »
258 comments
1-40 of 258next »
May 29, 2012. 9:09 AMMichaelRGroves says:
Hi: My application is for lighting buildings on my HO trainset using LED's and fiber optics to deliver the light. My question is, why use a Fairchild FQP50N06L which allows 37Amps of current? Most LED's run in the 0.2 to 0.7A range - is it that the Fairchild FQP50N06L is a good bye, or is there a FET that is less expensive with lower current rating that would be just as suitable?
Many thanks
May 11, 2012. 10:12 AMbjcryss says:
Hoping someone is kind enough to help...I've built this LED driver circuit. I have a 4W led, with 3.6V dropout and 1000mA max current, which i would like to use with 4xAA rechargeable batteries in series. I need the driver because from fully charged at 5.6V, the voltage of those 4 batteries drops to 4.4V when almost empty. My problem with your driver is that for me, it works well but only when the current is limited with the "sense" resistor at aprox 500mA and even if i use 6xAA batteries the current does not change. This is great. But if i try the same thing with a resistor to limit the current to 1000mA, when adding even as little as 0.2V extra, the current increases. Is this normal?? With 5xAA batteries, the current goes up to 1400mA, with the same "sensing" resistor (2W power resistor and it doesn't heat up at all @ 1000mA). I haven't tried with more voltage because i'm afraid to burn-out the LED. I couldn't find the transistor and MOSFET you used, but i got a IRFZ44N, and a BC237. Please tell me if you see something that i'm doing wrong...i just can't figure it out
Apr 25, 2012. 2:30 PMarij says:
Hello. I am new user.
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
Apr 11, 2012. 5:15 AMbjcryss says:
Hello! Help with this please... if i go to the store and they don't have the Fairchild 2N5088BU or the Fairchild FQP50N06L, what replacement should i ask for? Better than that, what characteristics should i ask for? Thanks alot!
Apr 8, 2012. 1:27 PMohnoezitasploded says:
Does this driver work with PWM?

Thanks for taking the time to put this together!
Apr 5, 2012. 11:08 AMnaeemfarrukh says:
Hi Den,

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.
Mar 28, 2012. 10:51 AMsurf4point0 says:
This circuit is awesome! Does anyone know if it will work starting at about 30 volts? I'm trying to get a constant current of 1/4 milliamp through a resistance that gradually decreases, so we start out with 30v and probably end with 5v or so.
Mar 6, 2012. 11:05 AM09khanyu says:
Somebody on this page asked for the components for the 3 watt led. I am also interested in that. Could you please post the values of those components in the comments section in this step.
Mar 4, 2012. 9:03 PMBednarz says:
Quick question...I know that I=V/R but I'm curious how you arrived at LED Current=0.5/R3. Is 0.5V the remaining voltage after the drops through the LEDs and Q2?
Feb 13, 2011. 8:16 AMTheNuclearWatermelon says:
Can I use my IRF510A MOSFET for Q2, and an MJE3055T NPN transistor for Q1? Also, what value resistor should be used to get approx. 1.2 amps on the LEDs?
Feb 18, 2012. 4:35 PMrufusthedog says:
The FET and Transistor should work and figuring out the resistor is easy.

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
Mar 14, 2011. 1:48 PMquigath says:
I was also wondering about using something like an IRF510PBF, but I don't know enough about this type of circuit to decide. Any help here?
Jan 31, 2012. 3:27 AMapplejuice1998 says:
Good job! I love this circuit!
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.
Dec 29, 2009. 9:45 AMJohnPS says:
Hello,
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
Jan 3, 2012. 12:38 AMhanlin_y says:
R3=0.25/I
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
Jan 4, 2012. 12:55 AMhanlin_y says:
I apologize. It may NOT be a good idea to connect LED's in parallel in this circuit similarly to a resistor circuit. I blew my 20 mA LED's this way and they were hot. With multimeter readings, the mA ratings and the LED voltage drop increased slightly with higher voltage batteries. Looks like one circuit per string is the only way. Try using cheaper LED's first. 1W+ LED's are expensive

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.
Dec 15, 2011. 9:48 PMashayana says:
Hi Dan

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
Nov 5, 2011. 12:17 AMzami says:
Thnx for the gr8 article.It really helps.I have a question.
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
Oct 29, 2011. 9:54 AMMattATC says:
Hey Dan. I have a 5w led I am needing to use. Using this set up what resistors will I need to change out and at what values? I will need to be running 750mA, and the battery will be a 9 volt. Thanks for your help!
Oct 7, 2011. 1:24 PMyohanc777 says:
Hello Dan.I like your circuit its quite simple and neat.However im using a 3 watt led from luxeon.which needs 700 mA. What do i do to Q2 to power my led to 700 mA instaed of 200 mA. Kindly let me know yohanc777@gmail.com

Sep 23, 2011. 5:30 PMslithytove2 says:
I constantly reference your High Power LED schematics, usually this one. I was wondering if you (or somebody else) could check my math:

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..
Oct 1, 2011. 8:00 AMslithytove2 says:
Oh. So I did the right math, just in the wrong place? To check the power on my FET, just measure the voltage across it, then multiply by the current? Is the first part, about the 1.6 watt max w/o heatsink correct?
Oct 1, 2011. 12:28 AMleaualorin says:
Hello Dan!
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!
May 14, 2011. 9:14 PMkrawczuk says:
how do you work out :

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 ?
May 23, 2011. 1:56 PMaisvo says:
in other word, R3 = 0.5 / Current
If you want 200mA, then your R3 will be 0.5/0.200 = 2.5 Ohm
May 17, 2011. 4:23 PMbobelon says:
It's a good question, I can't figger it out either but it looks like the author is no longer responging.
Jun 15, 2011. 8:39 PMtdawber-mandeno says:
to work out resistiance
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')
May 5, 2011. 10:34 PMskushwaha1 says:
i m making a torch and i need 6v input and out put should be 3.5v with 700mA can u plz help me my id is sandeep200828@gmail.com hope for reply
Apr 24, 2011. 9:07 PMngwanhoe says:
Hi,

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


Oct 12, 2010. 3:40 PMrichie1479 says:
Is a good design
Apr 13, 2011. 6:09 AMakimirza says:
it is best...
thanks
Apr 6, 2011. 2:15 PMbudabob07 says:
Very clever, certainly easier than using a microcontroller to monitor the current and adjust the PWM accordingly.
Feb 23, 2011. 10:30 AMsnowluck2345 says:
is there an easy way to adjust brightness in this circuit? I was thinking of a potentiometer as a replacement for one of the resistors. Or could you use a pwn circuit?
Mar 4, 2011. 1:43 PMSpuzzum says:
I used a 100K 25-turn pot for R3, and needed to tie the free leg to the center leg.. otherwise the current climbed on it's own. This way, it's a "true" variable resistor.

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/
Feb 23, 2011. 12:51 PMsnowluck2345 says:
could youe use a 555 timer to switch a transistor to switch this circuit on and off, with a potentiometer on the 555 timer to control the speed of switching?
Jun 21, 2011. 5:33 AMscottinnh says:
Probably. Don't ask me for details though.

Here is a constant current 555 driven led driver (see part, Inari):
http://web.jfet.org/ignignokt/
Feb 12, 2011. 8:19 AMSpuzzum says:
This is great bro! I've already modified an atx psu to supply a panel I'm making, and was looking at the ncp3066 circuit for a constant current source. But unless I use 24v with it, it's only 75-79% efficient. Powering off the psu with just resistors is already 87% efficiency. So I scrapped that idea, but still need a constant current regulator. I then looked at the lm317, but that wastes 1.25v just to make it run. This circuit uses what.. .5v? Even better! Now if it can handle 1.4 amps I'm set. Only need 1000mA, but want some wiggle room.

Anybody know the maximum current this can handle? At least 1.5 amps?
Feb 17, 2011. 12:38 PMlasermaster3531 says:
dude read the instructable. all the info you need is right there.same for Jo
-burg.
Feb 17, 2011. 12:39 PMlasermaster3531 says:
sorry I meant jo_burg.
1-40 of 258next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
525
Followers
47
Author:dan(MonkeyLectric)
Dan Goldwater is a co-founder of Instructables. Currently he operates MonkeyLectric where he develops revolutionary bike lighting products. He also writes a DIY column for Momentum magazine.