Home » DIY LED Projects » 3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit
3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit

3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit

The following article provides a simple yet very decent solution for driving powerful LEDs rated at 3 watt or 5 watt.

Circuit Objective

These 3 watt 5 watt and similar high watt LEDs are able to produce highly intense and powerful light outputs, however these are extremely vulnerable too with their operating parameter. Let's learn more how to operate these devices very safely  using a simple power supply.

We have seen quite many power supply and driver circuits in this blog using the IC LM338, that's because this particular device is so versatile with power regulation and control functions.

The same IC yet again takes the center stage in this application too. Here the IC LM338 has been configured in its standard mode and it perfectly executes the expected current as well as voltage regulations for driving a 3 watt or a 5 watt LED.

Circuit Operation

As shown in the circuit diagram below, in its standard mode the resistor 240 ohms is a regular placement, and the next resistor connected to it is the one which decides the voltage at the output of the IC. Here it has been calculated and set for producing around 3.3V at the output, which is the optimal voltage value for driving all types of white LEDs.

However the IC itself cannot control the current and normally would allow about 5 amp at the output.

We can see that the IC is associated with an additional active component which is the transistor connected to its ADJ pin.

The transistor here is employed solely for controlling the current at the output to the specified limits.

The resistor across ground and base decides how much current would be allowed to the output.

As indicated in the diagram, 0.6 ohms will pass about 1 amp maximum current which becomes suitable for driving a 3 watt led safely, and if a 5 watt LED needs to be driven safely, this resistor must be replaced with a 0.3 Ohms, which will allow a maximum of 2 amps of current.

The input to the IC can be derived from a standard transformer bridge capacitor power supply or from a suitably rated battery supply.

In fact, the transistor and the associated base/emitter resistors are absolutely not required, because once the voltage is set to precise 3.3V, the current would automatically get adjusted as per the LEDs specs.

So the correct circuit should be as given below:


The above suggestion is not recommended, therefore users are requested to go with the first circuit design using the BC547 as the current limiter stage for enabling the intended current control function.


About the Author

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials. If you have any circuit related query, you may interact through comments, I'll be most happy to help!

123 thoughts on “3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit”

  1. Hello, I have the following scheme but i dont know how to calculate resistors and stuffs since i am using a little more difficult scheme.
    All the LED diodes are 3W and need 700mA to light in full power.
    As power supply i am using PC power supply with 12V as input.
    Check the image and i will be really happy if u can help me and give me guidinence.

    • Hello, if you are using a fixed 12V then no resistors would be required, because you have 4 LEDs in series which will be getting only 3V across each of them.

  2. Hello Sir,
    My 3 wheel head lamp have 1w x 6 leds. 3 for dim and all 6 for head lamp. But Alread damaged its PT 4115. So which circuit is the best out of ur two ? Or need modification ?. Should I make 2 circuit that u selected for me for dim & head lamp. Reply me soon. buddhiws@gmail.com


    • Hello Buddhi, I cannot suggest until I know how these LEDs are configured, are they in series, or are they in parallel?, do they have resistors associated with them? please specify all these details or simply build a fresh new circuit for your bike headlights using my suggested design….

  3. Hello Sandeep, yes it's possible, but I am not sure about the discharge rate and the back up specs of the battery, so I cannot confirm the 4 hour estimate.

    you can use a 9V/2 amp solar panel, and regulate the output to 4V though a LM338 circuit, and supply this to the solar garden light design, this will allow you to get the intended results.

  4. Hallo.. I need power supply with 0-6volt max output voltage for 6v 20watt halogen lamp. I use 10k potensio to adjustment 0-6volt lamp. Please how get it ..

  5. Sir is this circuit suitable for 9 watt and 12 watt
    As I want to use 9 parallel led of 1.2 watt and want to operate circuit at for 12 volt battery source led spec is 9- 10 Voff and 120 MA current please tell me what change is exaxtky required and Lm 338 required heat sink or suggest any other good ckt for different combination like strings of 4 led 3 volt Voff and 3 parallel series of this

    • Tarehi, you can configure this circuit to handle upt 150 watt LED….so yes you can operate the mentioned LEDs with the above circuits after changing the resistor values appropriately.

  6. Hi Swagatham,
    I have 3.3V battery to power on the LED. But i wanted to control the brightness of it by PWM function from micro-controller output. Microcontroller also operates on same 3.3V battery. Can you suggest a way?

    • Hi Nishanth, presently I do not have this article in my website, but possibly I may soon post it with the required data.

  7. sir i have a 12v 7.2 mAh battery,,, maximum how much 5 watt cree xm-l led can i connect in parallel? please send circuit diagram.. i have seen the cree- xm-l led driver,,, but i can't understand which one i use….. i have connected the led direct , it getting hot and ligts are flactuated,, …

    • sir i got it,, but the input is there 12 volt 3 amps,, but my battery ratting is 12 volt 7.2 mah,,, is the current automatic controlled by LM338… and what is the Rx value for 12volt 5 watt lights… is it 0.24 ohm 1 watt.

    • Nanigopal, Input is 12V 3amps?? sorry I did not understand? I thought the input was supposed to be from the battery 12V 7.5 AH (not mAH, right?

      yes the LM338 along with the BC547 will control the current for the LEDs

      5/12 = 0.41amps

      Resistor = 0.6/0.41 = 1.46 or 1.5 ohms
      wattage = 0.6 x 0.41 = 0.246 watts

    • sorry , its my mistake …. yes my battery is 12 volt 7.2 Ah…… thank you very much sir… but one problem is that the LM338 currently unavailable in our local shop…… so is there any alternet for LM338, such as TO- series???

    • since the current requirement is below 500mA, you can easily use a LM317 IC for the same….LM338 is not required….the circuit design for LM317 will be exactly similar to LM338

  8. Hello der v r using 12 v 20ah car battery and willing to connect 5w LEDs ..can you plz suggest d proper circuit for it..is it possible to connect them in series and what would be the proper size of the heat sink

  9. hello sir i want to power a single 12v 10watt led with bike battery of 12v 7.2ah
    i tried finding circuits on goolge but no luck.
    according to me powering direct throught battery amps will kill the led

    i want to make a search light for night with the help of single led 12v 10 watt
    please suggest some circuit sir

  10. Hi Swagatam,
    Thanks for the great advice and circuits!
    Have you had a chance to have a look at a circuit for the LED mentioned by Guruh above?
    I would like to retrofit my 3 cell Maglite with this Cree LED and upgrade the batteries to Li Polymer. Do you have any advice on the battery voltage I should choose and how would I achieve changing the intensity of the LED to a high, medium and low state with the existing on/of switch?
    Typical information on the LED:
    CREE XM-L T6 Mounted on star board
    2.9V-3.5V 3000mA 6500K
    Maximum Drive Current 3 A
    Maximum Power 10 W
    Light Output 1040 lm @ 10 W
    Forward Voltage 3.1 V

    Regards and thanks in advance,

  11. Hello, for 10 number 3 watt cree LEDs , what capacity driver needed. thanks
    Power: 1W-3W
    Model Name: CREE XPE-R3
    Emitted Color: Cool White (6500k)
    Brightness: 1W:122LM 3W:320LM
    DC Forward Voltage (VF): 3.2V-3.6Vdc
    DC Forward Current (IF): 350mA~1000mA
    Maximum Pulse Voltage: 3.8V
    Maximum Pulse Current: 1200mA
    LED Viewing Angle: 120 degree
    Diameter: 20mm

    • Hello, just multiply the voltage rating with the current rating of the particular LED and you will get the maximum wattage for the driver….and it also depends how you want to connect the LEDs…if in series then the current becomes equal to the rating of the single LED, but voltage ratings combines.

  12. Hello Sir….
    I want to run 5 watt LED (normally runs on 9 volt DC) on 12 volt DC with the help of IC 7809 on my scooter Headlight. But both LED and 7809 got Very hot…. is there any risk to run with 7809…?
    2. I want to run these LED on 220Volt. I made a circuit with bridge and capacitor with 100 ohm .. but light is dim… how can I increase light…coz when i run this LED with 9Volt DC it brights light…
    pl solve my probs.. How can I run these LED..


    • Hello hv, using 7809 is OK, and if the LED and the IC are getting hot, that's normal too and may be simply controlled by using large heatsinks for both.

      However 7809 is not current controlled, therefore I would recommend you to use the first circuit from the above article, it has a current control feature and also a voltage adjust feature which you can set to 9V as per your LED spec.

      for 5watt, 9V led the current requirement would be 5/9 = 0.55 amps

      therefore the value of the lowermost resistor will need to be = 0.6/0.5 = 1.2 ohms, 1 watt

      for 220V operation also you can incorporate the first circuit and feed the input from a 12V/1amp adapter

  13. The second circuit diagram is a voltage regulator circuit, not a current regulator (wikipedia- LM317)! And LEDs should be run from current regulated source.

    • yes I know, this has been already discussed in one of the previous comments with Richard Hoad May 21, 2013 at 5:53 PM

      the second circuit is also correct if sufficient heatsink is provided and the room temperature does not fluctuate by much.

      a thermal runaway situation may arise only if the heatsink is not adequate or the ambient temperature gets too warm, as in tropical countries.

  14. sir but red green blue white 3w leds having various voltages. red-2.8v, green,white & blue 3.8v,
    my question is 240ohm, 400ohm is suitable for any color 3w led?

    • Which LED do you want to want use exactly,

      the 400ohm will set the output to 3,3V approximately

      you can alter the 400 ohm resistor accordingly using an online LM317 calculator.

  15. sir can i use LM317? with last circuit for one no 3W led. what will be the wattage of 240ohm and 400 ohm resistors.?

  16. Hello Swagatam,

    I have tried doing circuit 2 on this page for 4 x 3.3v 700ma leds in parallel, circuit works and is great with my resistor values being R1 =270 and R2 being 440 but the LM338 is getting extremely hot, i have a heatsink attached to it but it gets hot to point of it hurts to touch.

    700ma x4 = 2800ma so it's well within it's current tolerance, so why is it getting so hot?


    • Hello Emile,

      yes, even though 2800 may look within it's range, these linear ICs tend to generate a lot of heat.

      The remedy could be to use higher voltage and to put the LEDs in series, this would greatly reduce the current as well as the heating up of the IC.

      for 4 LEds you could use a 4 x 3.3V input meaning a 15V input so that all the LEDs could be wired-up in series, requiring just 700mA for the entire series.

  17. Hi Swagatam! Posting this again because my first post simply disappeared! Really amazing blog.. appreciate the hard work you put in to keep this blog buzzing.

    Regarding the 3 Watt, 5 Watt LED DC to DC Constant Current Driver Circuit,

    1) If I need to run 6 x 1 watt leds from this circuit, what changes do I need to make in the circuit? The input voltage shall be from 12 volt car battery.

    2) Instead of 6 x 1 watt leds, if I decide to run 3 x 1 watt leds, what changes should I make to the circuit?


    • Hi Vimal,

      Thanks once again, OK got it, here are the answers:

      1) make two parallel strings each having 3 LEDs in series, change the 400 ohm resistor in the first circuit to 1.68K and use 1 ohm resistor for the bottom most resistor

      2) for 3X1 use a single string having 3 LEDs in series, the 1.68K will not change, but the above 1 ohm will now become 2 ohms.

  18. Hi Swagatam! Really amazing blog and such simple circuits. Appreciate the effort you put in.

    1) If I want to drive 6 x 1 watt leds, should I connect them in series or parallel? Also do I need to make any changes in the above constant current circuit?

    2) Instead of 6 x 1 watt leds, if I want to drive 3 x 1 watt leds, what changes should I make in the above circuit?

    • Hi Vimal, thank you! Due to a large number of comments the replies occasionally get delayed, although I try my best to finish them quickly.

      Answering to your question the series or parallel specifications will depend on the voltage level that you are using.

      How much voltage do you have or intend to use? Please provide me the data I'll let you know how to proceed with it.

  19. Dear Vinod, cmake three strings each having 3 LEDs and a series 6omh/1watt ersistor.

    put these 3 strings in parallel and connect their common ends to a 12V/2amp smps adapter.

    use heatsink for the LEDs,

  20. Hello sir,
    I need a 12v to 28vdc converter 3w/5 w. Want to light up 5 led of 1 each.
    I have seen an ic circuit but the manufacturer has rubbed the number on it. So plus can u help me with an alternative circuit or anyone knows which ic is used in this kind of circuit

  21. Thank you for ur quick response…. I am having one doubt… Suppose My LED panel needs 14v, 700mA. But if I connecting 14v, 2Amps battery to the LED panel means, wil it affect the LED panel lifetime due to the higher Amps from the battery? or the battery backup wil increase??

    • if the voltage does not exceed the forward voltage of the LEDs then current will not matter….however if the ambient heat increases the situation could become dangerous, so use of a current controlled supply is recomeneded, for example using a LM338

  22. I made a LED panel by placing four 1watt LED in series fixed on 4×4 inch 1mm aluminium sheet. Like that two panel connecting in parallel. This panel will work with motion sensor. Now I like to make a power supply and backup for that. The panels need 14vdc, 700mA and the sensor circuit need 5vdc. Please provide me a smps circuit for the follwing specification:
    1. The circuit's input should be a AC main connection.
    2. I need two outputs from the circuit. One should be 5vdc and another should be 14vdc, 700mA.
    3. Battery backup should be there in the circuit for both output. so if AC main supply is there means , the light panel and the sensor should work with the AC main supply. Suppose if AC main power failure occurs means, instantly the sensor and the pannel should work with the battery backup.
    4. Then if AC power supply comes means again the output should work with AC supply only and battery should start chraging.
    5. The battery should contain overcharge protection.
    6. The backup time should be 2-3hrs. so what volt and amps of battery i need??
    Thankyou in advance…

  23. Hai swagatam, your blog is awesome. I am following it. I made a water tank controller from ur blog. Its working great. Thank you. Now I am planning to make LED pannels for my home. If I connect ten 3watt LED in parallel means how much amphere should i need??
    and how to calculate it??
    LED specifications:-
    Forward voltage = 3.5v
    Forward current = 700mA
    Power dissipation = 5w
    Please help…

  24. Good day sir i want to connect 5 pcs of 3Watts leds to this circuit of yours please guide me thank you… power supply will 9v 1700mah

  25. hi sir i want to create a led lyts for my farm .. i want to connect 30 leds in parallel my problem is that i have 12volt 200amp battry when im trying to connect leds to battery they are going to be hotter what should i do brightness is very awsome but why they are going to be hot..?

    • Nizamani, you will need to fix the LEDs on a large aluminum plate so that the heat from the LEDs is sinked and dissipated otherwise the LEDs will get damaged within minutes.

      While fixing the LEDs on the aluminum make sure the leads do not short with the aluminum plate.

  26. Hi Muhammad, you can use the first circuit from the above article, no changes would be required except for the bottom most resistor which should be replaced with a 0.2 ohm resistor

  27. Hi There, Mr.Kapila and Specially Mr.Swagatam!
    Sir if i need to connect these 3w X 3 LEDs in parallel then which type of modificatons to be required?

  28. You referred me to this page. I mentioned in my previous post that I wanted to convert a 110V 10W LED floodlight to 12VDC and also have the ability to flash as an emergency light. MY question is, this article is for a 3W and 5W LED. Can I still use it for my 10W LED and do I need to change any of the components ?

    • You did not mention 110V in your previous comment, you said that the LED had a forward voltage of 12V and current rating of 1amp and you wanted to operate it at a little lower current than the given max specs.

      Anyway, here's what you need to do in the first circuit:
      replace the 400 ohm resistor with a 1.8k, 1/4 watt resistor
      replace the bottom most resistor with a 0.66 ohm 1 watt resistor

      as already mentioned in the previous comment, you can use a standard IC 555 astable flasher circuit and connect its pin#3 with the collector of the transistor in the above circuit. connect pin3 via a 1N4007 diode, cathode should be connected to pin3.

      Whenever you switch ON the 555 circuit will result in the flashing of the LED

  29. Hello sir,
    I want to install my home 1w high power led's in series connection, using 12v 7.5 AH lead acid battery. Please give the method. Thank you sir.

  30. Hi,

    Can you please give the resistor value (ohms & watts) for 2 led in parallel?

    what is the recommended capacitor volage for 12-14v circuit?

    Thank You.

    • Hi, if you are using 12V then you should connect them in series.

      Use 1.2k resistor in place of 400 ohms, rest of the values will be as it is

    • divide the wattage of the LED with supply voltage and multiply the result with 0.6, this will give you the wattage for the lower resistor, remaining will be 1/4watt rated.

  31. Hello Swagatam Majumdar sir,

    i want to install 2X3Watt 12 volt Led lights as a my bike Pilot lamps (parking lamps), i want the 12 volt constant current regulator for these leds please give me the Driver, thank you.
    if possible please forward the details to my mail id chkrishnachaitanya9@gmail.com

  32. You can use the first circuit.

    If you are connecting the LEDs in series, replace the 400 ohm resistor with a 1.68K resistor, or a 1k and 680 ohm in series.

    the vertical resistor at the bottom should be replaced with a 0.4 ohm 1 watt resistor.

  33. Hii…

    Your blog is real cool.
    i had a doubt regarding the forward voltage of the 5W LED. I thought it was 7V at If=700mA instead of 3.3V.
    can you please provide the specs. or link to the datasheet of the LED used here..?


  34. Thank u very much Mr. Swagatam. I am trying to implement those circuits. Pls. send some more links for the real time circuits which is useful for solar applications like solar converter for existing normal inverter, solar charge controller for different amps, solar LED driver circuits, solar lanterns 3w,5w circuits, etc.,

  35. hi
    i want 5 x 1 watt blue led to be put in this circuit,
    does it require any change in components…
    and can i put a solar panel of 12 volt 5 watts as the input,,,

    pls guide me

    • Use the first circuit and connect the lEds in parallel at the output, use a 0.5 ohm resistor in series with each LED and select 0.3 ohm as the current limiting resistor as shown in the circuit.

  36. Use a bigger heatsink, it's as simple as that. Try increasing the size until it prevents any further rise in the heat.

    If you diffuse it you would reduce the amount of light from it, so it's better not to look at it, which is a dangerous thing to do anyway..

    • if you are using 9V PP3 battery, then it won't work, it should be rated at least at 4AH.

      With a 9V fixed supply you won't require any circuit or resistor, simply put the LEDs in series and connect it directly to the battery.

Leave a Comment