Introduction: Super Simple High Power LED Driver

This Instructable will show you how to built a Constant Current for high power LEDs, using only two components.

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.

Step 1: Get the Parts.

Here is a list of the the things you'll need.

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.

Step 2: How 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

Step 3: Assemble It

I couldn't get my schematic drawing program to work, so here is a hand drawn.

The constant current source has a drop voltage of 3 V, so the supply voltage should always be 3 V higher than the LED voltage and can be up to 37V which is the maximum input voltage of the LM317.

Example: You are going to connect two white Luxeon LEDs with 3,42 forward voltage each (mostly mentioned as Vf in common datasheets). The input voltage can change from 9,84V (3,42 + 3,42 + 3) till 37V (3,42 + 3,42 + 30,6).

You can connect up to ten high power LEDs to this circuit.

The higher voltage you supply the LM317 with, the hotter it gets. so it wont be a good idea to supply it with unnecessary high voltage.


DayFrame (author)2017-03-07

Input voltage ?

VineethK7 (author)2015-12-09

why cant u put dot(.) instead of comma(,)
it makes little confusing.... :/

RhealD1 (author)VineethK72017-02-28

Why cant you look at the comma and see a dot?

JimTheSoundman (author)VineethK72016-01-01

In Europe they use a dot where a comma would go, and a comma where a dot would go. Just accept that and change it accordingly when you make your own plans.

JamesF153 (author)2016-04-06

Yup, low value resistor+lots of current = lots of power (heat) loss. Switching is the way to go. If you get creative, the power loss in the driver circuit can be cut down to almost nothing. A switched diode / capacitor combination would work quite well.

SabrinaV3 (author)2016-01-26

this circuit is a nonsense.

using a high power resistor is a proof of very poor efficiency !. Most of energy is used to produce HOT in the R.

switching regulator is the right way...

NCP3065 just a little bit more complex

imaadak (author)2016-01-21

can you suggest the other regulator ICs for the same job ()? i need to drive a typical 5W power LED at maximum efficiency as a strobe.

Regards and Thanks.

AbdulA55 (author)2016-01-15

i made it, the wire melted, it's overheat

lex76 (author)2015-11-04

Where would I hook up the pot meter as in where do the pot meter wires go please help me out thanks

kjbkjbl (author)2015-10-06

buen dia

me podrian dar el cricuito para conectar un led de 50w para 12v usando lm317


LostinAsia (author)2015-05-12

Good morning kind sir.

I was skeptical that this circuit would work due to it's simplicity.

However, it worked fine and I am quite satisfied.
In the article you mentioned that the circuit supports PMW.

Not sure how to do this, just can't get my head around it. lol

I would like to control the brightness of the LED using PWW from a Arduino Mega.
Not sure how to do this.
Should I just connect the PWW output from Arduino to the ADJ pin?
Thank you in advance.


assasinsareus (author)LostinAsia2015-10-01

If I were doing I would probably use a P channel FET to switch the VIN signal or a N channel FET to switch the LED Cathode pin. Either should work. Make sure the FET is a logic level type FET so you can switch it on/off correctly with Arduino voltages. Also make sure the FET can handle the LED current.

qasimr1 (author)2015-07-06


i have 3 volt source and 3 volt led with 20 ma current can u help me in designing driver ckt for this led thanx

assasinsareus (author)qasimr12015-10-01

You need a 1 Ohm 1/8W resistor in series to give you 20mA. Type LED calculator into google and the top link is useful.

assasinsareus (author)2015-10-01

I like how simple this is. Probably not that efficient as a lot of energy will be wasted on heating up the LM317 device but still a good job.

icskill (author)2015-04-01

can you use 1w led driver to power up 3w leds?

martik777 (author)2015-03-13

CC Led drivers are so cheap on ebay now, less than $1 each, for up to 3 leds, although I've been able to drive 4 from these. There are drivers for 4-5, 8-15 etc for not much more. I have been running these 24x7 for a couple years with no problems.

dröhricht (author)2015-01-31

nice tut. maybe when you have time can you make an tut for a 100watt led? oder when cou can help me to tell how i can do it then i made an tut and add inspired by then your nick ,greetz from germany

dröhricht (author)2015-01-31

nice tut. maybe when you have time can you make an tut for a 100watt led? oder when cou can help me to tell how i can do it then i made an tut and add inspired by then your nick ,greetz from germany

sango0711 (author)2014-10-27

I have a question about the resistors. I want to drive my 10W LEDs with this. Do the resistors need to be 10W or are 1W Resistors enough? My calculation would be a 1,3ohm Resistor for 900mA at 12V

instruct839 (author)2014-10-24

this is good driver for led. thanks for sharing

3x1W LED_12.jpg3x3W LED_13V.jpg6x1W LED.jpg6x3W LED.jpg
instruct839 (author)2014-10-24

this is good driver for led. thanks for sharing

3x1W LED_12.jpg3x3W LED_13V.jpg6x1W LED.jpg6x3W LED.jpg
hlem (author)2009-06-21

Hello AI, Can you give me input on this design here? is it correct? thanks Ha


Sorry, I can't sse the image. You have to be a registered member to view the image.


That picture just shows a fish and says "Reef Central".


Sorry, i dont know why linking wont work, but i just found the option here to upload image directly. Also, to add to my question, how efficient is your design?


Your setup looks fine to me. As far as efficiency goes, I don't know. Remember using heatsinks for your regulators and of course LEDs.


It is extremely inefficient, among the least efficient ways possible to drive an LED.

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 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.

instruct839 (author)ac-dc2014-10-24

Using a resistor also is not a good idea. resistor can make your LED low bright or make life of led shorten because no other component limit the ampere.. i used resistor before and it works good my led light in bar are working for how many years before light is fading. so, that is the difference

mpinner (author)ac-dc2014-08-04

i do appreciate diyers and hackers are willing to do whatever takes to get stuff working. efficiency is often a luxury i cannot afford.

thanks for the heads up and cleaning up some of my understanding about the lm317 way of doing things.


ok thanks, wonder why people would spend $20 or so for a constant current Buck...when they can easily make this for a few $.
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?


I think, people buy the expensive constant current LED drivers, because they think, it will somehow increase the lifetime of the LED, even though that is not the case. The LM317 will dissipate the 1.8V by turning it into heat. you can use the extra 2.3 Amps to drive more LEDs or other electronics, if you want to.


thanks AI. I was told that the other constant current drivers is more efficient because they waste very little power, using the LM317 in my config will waste over 1W of power. And since there is only 1.8V left, I cant really run more LEDs,

diy_bloke (author)hlem2012-11-01

thge effficiency is easy to calculate and thus to compare (though in practice there may be slight variations): if you are using an LED that is say 3 Watt at a forward voltage of 3 Volts and 1 amp current and you are putting in X Volt, well you do the math.
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


Yes you can, because your power supply is capable of delivering 2.3 Amps more than you need and so you can use those excess Amps to power more electronics if you want.

instruct839 (author)hlem2014-10-24

it won't work because you put too much led on your 24V even though it is paralleled. 6 LED with 700mA needs to be.. see this picture i attached.. morethan 24V will work and change your resistor to 1ohms

muhesuko.regency (author)hlem2014-08-15

i think the heat would be problem. and the power loss is big. as the datasheet said the input and output voltage diff must be approx 2-3volt, i think its waste energy. btw its a good idea if the efficiency dont bother you

muhesuko.regency (author)2014-08-15

i'm prefer driving HPL with mosfet and npn transistor, since lm317 have big power loss. in matter of cost efficiency 1 mosfet, 1 npn transistor and 1 limitting resistor would be great. you could make option what type mosfet and npn transistor depend the spec of your HPL. or also you could connect it to PWM (the simple PWM could make with 555 ic, but it could only give you 1A current with 4-15V input0... at least mosfet and npn transistor is the simple way and cheap way to drive HPL in good brightness and good condition

Ploopy (author)2014-07-13


sbuchholz2 (author)2014-03-09

Hi, I'd like to dim this LED ( with my Arduino UNO via PWM. It has 350mA and should have 3.2 - 3.4 Volts. How can I do that with my Arduino? I think I'll use the LM350 and a 3.9 Ohm resistor. Or should I rather use the PQ12RD21 because of the 4th Pin? Thank you for your time! :)

shebbron (author)2014-03-08


Great job. Nice and cheap and easy.
I do have a quick question if i may. If your still taking questions.

Or if anyone else here can help me.

If i was to use several star leds in series, all 1w leds, can they be different forward voltages? Say for instance, i wanted to put a red (2.2-2.6v) and a green (3.2-3.7v) in series, same 1w, 350ma, could you do that? Or would one appear dim from low voltage, or the other burn out from over voltage.

Any advice, however little would be great. Thanks.

tos1234 (author)2013-07-22

Hi there, wonderful guide. I've used it to power some LEDs at 350mA but I am looking to assemble a light using LEDs that require a higher current and just want to ask a few questions to make sure I do it right.

I want to power 8 of these : at 2100mA, and I want to run them all plus a 24v fan for cooling from a single 24v power supply, is that possible?

I did the calculation and it looks like I need a resistor that is .6 ohms (do they even make them that small?) to get a 2100mA current from this LM317 regulator.

How many of those LEDs would one driver be able to power? With 24v in I think that would be 6, is that right?

Should I use a different regulator so I can use a resistor that I can actually find?

Would I wire everything in series, with the fan being the first to get power?

How hot do you think these regulators will get?

Any constructive criticism is appreciated as I am a noob with this stuff and it gets a little confusing.

Dark Alchemist (author)tos12342013-09-02 and switch to a LM350T as it can sink more than the LM317 plus it is a drop in replacement.

gizmo13 (author)2013-04-26

I tried to use this for a 3w led and the only thing that happened was the regulator
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!!!!!!!!!!

gizmo13 (author)gizmo132013-04-26

Forgot to mention the specs of the led's.
forward voltage: 2.9v-3.3v
forward current: 750 mA
hope that helps.

petebarchetta (author)2013-04-05

I'm building a bike light version of this running 3 Cree MC-E LEDs, I'm curious if this circuit would run them, also would it interface with a pwm 555 chip if so what would the correct component values be?

santmich (author)2013-02-21

another question excuse me for using that resistor 1W LED

santmich (author)2013-02-21

hello I congratulate you for what you share only one question in your experience that other component or components you can include it stays cool for both thanks

About This Instructable



Bio: 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 ...
More by Artificial Intelligence:DIY Copper Style LED Painting IlluminatorThe Arduino AA UndershieldLED Parachuties
Add instructable to: