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.

Super simple high power LED driver

Step 2How it works

The LM317 regulator gives out a constant voltage of 1,25 volts between ADJ and Vout, so by adding a resistor between these two outputs, you'll get a constant current.

Ohm's law says that U/I=R, which means that Voltage divided by Ampere makes resistance.

so if you want to connect one or more luxeon 1W LEDs, which has a power consumption of 350mA, the calculation should look like this: 1,25 (the constant reference voltage of the LM317) divided by 0,350 (the LEDs power consumption) makes 3,57. So if the resistor is 3,57, constant current will be 350mA. The closest E12 value is 3,9 ohms, it will give you a constant current of 321mA. However you can't see any difference in the light output.

If you use 3W LEDs, which has a current consumption of 700mA, the calculation should be: 1,25 divided by 0,7 makes 1,78. The closest E12 value is 1,8 ohms, the output will be 694mA

the resistor must be at least 1W in both calculations.

Although the LM317 is rated for 1,5 Ampere, I wouldn't recommend it for applications that need more than 1 Amperes, because it gets very, VERY hot. the LM350 is equal to the LM317, but it's rated for 3 Amps
« Previous StepDownload PDFView All StepsNext Step »
44 comments
1-40 of 44next »
Mar 26, 2012. 6:32 AMhamtons says:
Hi, I was trying to design a driver with LM1084IT-ADJ.

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 (:
Apr 3, 2012. 10:10 AMPedroDaGr8 says:
the first one. You are measuring the voltage drop across the resistor.
Apr 3, 2012. 11:38 AMhamtons says:
4.5W it is. ok thanks (:
Apr 3, 2012. 2:23 PMPedroDaGr8 says:
Don't forget to give yourself some headroom on the W. I wouldn't use a 5W resistor. Its going to get quite hot and there just isn't much headroom should things go haywire. 7.5W or 10W resistor would be better.
Apr 3, 2012. 11:56 AMTheGreatS says:
Ohm never forgot his dying uncles advice.

"Remember: with great power comes great current squared times resistance"

Excellent instructable by the way, bravo.
Dec 6, 2011. 10:32 AMchse720 says:
i am wanting to power an LED that requires 16.2V and between 1.5-2.5A. I would like to use a current of 2A for this project, how would i go about doing this and power source would you suggest? i would like to use a dewalt rechargeable 18V battery
Feb 3, 2010. 12:22 PMeugenehaller says:
 AI, I am amazed that you are still diligently answering comments two years after you you made your instructable.

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? 
Jun 6, 2011. 3:14 AMyugang says:
Hi Eugenehaller,

could you help me in designing a circuit for lighting 10 w power LED or 1*10 watt leds..

Thanks,

Yugang
Sep 9, 2010. 1:55 PMvalveman says:
Use an LM338 it is rated to 5A.
Mar 11, 2010. 1:40 AMseethasub says:
you have to add a PNP power transistor with IC to incease its current rating.
(Transistor 2N6111 On Heat Sink with LM317 ) 

 

 
 
 
 
 
 
 
 
 
 
Mar 1, 2010. 3:01 PMdoransignal says:
try using a LM350 it is rated at 3 amps or 3000 ma

Lee
May 1, 2011. 3:44 PMbroxlin says:
Hi!
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!
Feb 5, 2011. 10:38 AMJkirk3279 says:
Hi.

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.
Feb 22, 2011. 3:56 PMmjhilger says:
The voltage drop across any LED is dependent on the junction temprature. The temp will rise as they are driven in higher power. And, the voltage change between dim and fully bright is small (compared to the drive voltage). However the current to light output is relatively consistent. One should drive LED's via current to protect longevity and operation. Because each LED of the same part number, from the same manufacturer batch will vary its exact voltage per current, you cannot run LED's in parallel; there is no way to regulate the current to each in this manner. So you must drive them in series to maintain control to drive near peak output.
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
Feb 18, 2010. 4:55 AMbbas8 says:
Just would like to say thankyou for all your time and  replies to everyone.  I am learning a lot by how well you explain the different set-ups required by reading thriugh all the comments and links.  Hope to build my own soon when i understand enough..:-)

Thanks again.
Jan 29, 2010. 6:04 PMmatthewkhoury75 says:
Hi again, newtonn2 told me to use this regulator for everything http://cgi.ebay.com/5-x-LM350-LM350T-Adjustable-Voltage-Regulator-3A_W0QQitemZ250529410749QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item3a54b76ebd#ht_1542wt_939.  I just wanted to make sure it is going to work for my LED, more information is in the comments if you have questions
Jan 31, 2010. 8:00 AMmatthewkhoury75 says:
Is there any cheaper regulator?? the LM1084IT-ADJ is really expensive.
Feb 2, 2010. 2:36 PMmatthewkhoury75 says:
i dont know if this matters, but I am also powering other things with the same power supply.  I have a 12v lcd a 12v fan and a 2w speaker, so would it matter if the LED did drop 3v even though it is not going to get the full 15v?? 
Jan 21, 2010. 3:26 PMmatthewkhoury75 says:
Hi, I need some help. I dont know much about electronics and am making an LED projector.  I have a 14v 1.5a LED and need a driver for it.  I also need to know the output so I know how much the power supply needs to be.  my question is What is the difference between a regulator and a resistor. Also because my LED is different than yours can I still use the LM317 Regulator?? I did the math for the resistor and it says I need a resistor that is 9.333333... Is this correct??

Thanks in advance
Jan 22, 2010. 1:56 PMmatthewkhoury75 says:
I think I am going to use 15v to power the whole circuit but other things are included.  Here is a schematic that Newtonn2 made me. Maybe this will help.
Jan 22, 2010. 7:30 PMmatthewkhoury75 says:
I just found a 2 small heatsinks.  Will these work for the regulators?? I am using two of them and I really don't know how big the heatsinks need to be.  Here are some pictures in comparison to a quarter which is 1" in diameter.
Jan 22, 2010. 2:16 PMmatthewkhoury75 says:
I just found some resistors on ebay. I just wanted to make sure these are the right ones so here is a link http://cgi.ebay.com/6-Resistors-1-4-Watt-1-ohm_W0QQitemZ170357518698QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item27aa19716a
Jan 23, 2010. 1:56 PMmatthewkhoury75 says:
by parallell do you mean one on the adj and one on the out or do you mean two on the out?? Also can I use the LM1084IT-ADJ for my 12v regulator also??
Jan 23, 2010. 6:28 PMmatthewkhoury75 says:
This may be a stupid question, but how do you adjust the regulator?? Also, what should the regulator be adjusted to for the LED??
Jan 26, 2010. 6:41 PMmatthewkhoury75 says:
Thanks so much for the help so far.  Sorry, but the datasheet is foreign to me.  I need a regulator to regulate the voltage to 12v and I need another regulator to regulate the voltage to 7.5v, Do I need to buy anything for this to happen, or do I just have to wire it up a certain way??
Jul 1, 2009. 3:18 AMlightime says:
If I have three led's that I'd like to run at 700mA each will this work with Lm317? Or would the 700mA be divided into each of the three for 233mA each?
Jul 7, 2009. 1:03 PMlightime says:
Thanks very much for the reply. So each of the three LED's would get 700mA a piece for a total of 2100mA? or would each get 233mA for a total of 700mA?
Jul 8, 2009. 6:25 AMlightime says:
I would be connecting them in series. Thanks
Jul 8, 2009. 4:11 PMlightime says:
Thanks for clearing that up. I appreciate it very much!!
Jul 6, 2009. 4:27 PMavillegas says:
Hi everybody, I would like use this led driver on a SSC P7 led, that runs with 3.6vf, and 2800mA with 10W of power, I guess that I need the LP350, but can somebody help me to calculate the resistor value? ( ohms and power)... Thank You. Regards
1-40 of 44next »

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!
91
Followers
9
Author:Artificial Intelligence
Hi all, I'm a college student in the copenhagen technical college. I'm currently working with 3D printers and I'm building my own RepRap.