• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Automobile Electronics / LED Lamp Circuit for Motorbike Headlamp

LED Lamp Circuit for Motorbike Headlamp

Last Updated on June 29, 2022 by Swagatam 57 Comments

In this post I have explained a simple 21 watt LED lamp circuit module which can be used as a direct replacement for a standard halogen lamp used in motorcycles headlamp.

Table of Contents
  • LED vs Halogen Lamp
  • How to Assemble the Circuit
  • A Current Limiter is Essential

LED vs Halogen Lamp

The proposed "halogen" LED lamp replacement module image can be seen below:

warning message: electricity is dangerous, proceed with caution
Replacement of 10W halogen lamp SMD LED 1
Conventional filament type halogen lamp is shown below:
h7 cool blue h7 x racer 1

The image at the top shows an example LED lamp replacement for a standard halogen bulb fitting shown below it.

With the easy and extensive availability of LEds, today it's quite possible to make any desired LED lamp module at home for replacing other forms of less efficient lamp options.

So here we'll discuss how to make the proposed halogen LED lamp replacement circuit. I have explained the procedures:

Referring to the above image, we can see the LEDs are wired over 7 separate PCBs and then wired together to form one single module.

How to Assemble the Circuit

Each board can be seen with 3 LEDs each, constituting a total of 21 LEDs.

3nos LEDs are selected because the supply 12V available from the vehicle allows only 3nos to be connected in series, and series connection facilitates sharing the same current across the three LEDs.

Now since more than 3nos. of LEds cannot be accommodated in series, 7 such strings are connected in parallel with each other for achieving the desired 21 watts.

The above assembly must be done over a well designed heatsink cored glass epoxy PCB.

The entire configuration may be tightly fixed over an thick hexagonal aluminum cylindrical former or base to form the proposed halogen LED module unit. The aluminum will hep to sink the generated heat from the LEDs.

A Current Limiter is Essential

The above unit will strictly require a current controlled driver circuit which can be understood with the following points:

We once again take the help of the versatile LM338 IC for the required current control function.

Referring to the circuit diagram we ca see it in it's simplest current limiting mode. The LEDs consume around 2.5 amps together which is never allowed to exceed by the IC keeping the unit safe from the issue.

motorcycleledhalogenlampcircuit

The above design can be upgraded with a Dimming option, as shown below:

motorcycleledhalogenlampdimmer

Aluminum mount (for heatsink) or base design for fixing the LED PCB assembly

aluminumheatsinkmount

Efficiency Comparison between Motorcycle Halogen Lamp and LED Lamp

<<<<Output----------------Halogen Lamp--------LED Halogen Lamp>>>>

  • Nominal wattage----------55 watts-----------------------21 watts
  • Nominal voltage-----------12V----------------------------12V
  • Test voltage----------------13.2V--------------------------13.2V
  •  Color temperature -------3200K ------------------------6000K
  •  Luminous flux-------------1500lm------------------------2500lm

You'll also like:

  • 1.  Motorcycle Accident Alarm Circuit
  • 2.  Sequential Bar Graph Turn Light Indicator Circuit for Car
  • 3.  Automotive LED Driver Circuits – Design Analysis
  • 4.  Modifying Car Turn Signal Lights, Park-Lights and Side-Marker Lights
  • 5.  Automotive Trailer Lights Interface Circuit
  • 6.  Car Reverse Parking Sensor Circuit with Alarm

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Convert SMPS into a Solar Charger
Next Post: Zero Drop LDO Solar Charger Circuit »

Reader Interactions

Comments

  1. Racky says

    October 8, 2020 at 8:58 am

    hi swag

    may I ask your advice please ?
    I have a 9 volt 10 watt 3 sided led light for my motorcycle. unfortunately this lamp driver was damaged due to overheating. I took apart the casing and saw the electronic parts scattering off the PCB.
    The LED light itself is in good condition because I tried it with an external power supply that is connected directly to the COB led and it all lights up.
    My question is; can you help make a circuit based on this LM338 for the COB LED driver that I have, complete with the hi-lo LED switch connection

    The COB LED data that I got is:
    2 x 9V 10 watts @ 900mA / LED for low beam
    1 x 9V 10Watt @ 900mA / LED for High beam, in high beam condition 3 LED lights light up simultaneously.
    Thank you in advance.

    Reply
    • Swagatam says

      October 8, 2020 at 7:25 pm

      Hi Racky, you can use the following design for the mentioned application:

      comment image" alt="dimmer dipper COB LED using LM338" />

      The values of the resistors are not calculated, you may have to calculate them to set the precise current limiting ranges

      Reply
      • Swagatam says

        October 8, 2020 at 7:31 pm

        Here’s a more correct design which will allow all the LEDs to light up together in the high bright mode:

        comment image" alt="select curent limit for COB headlight" />

        Reply
  2. Kiwi 5000 says

    May 6, 2017 at 2:33 pm

    Hello, I have five 5w LEDs I'd like to use together. Each one has a voltage drop rating from 6-7 and forward current of 700ma. Can you help me decide which resistors I need? I'd like to use the dime option too.

    Reply
    • Swagatam says

      May 7, 2017 at 8:36 am

      Hi, where do you want install them, or what supply voltage do you have for these LEDs

      Reply
    • Kiwi 5000 says

      May 7, 2017 at 10:28 am

      I'll be making a device as the above but on a heat sink with a small fan. It's a regular 12v motorcycle battery so it'll range anywhere from 12-14 volts. Thank you 🙂

      Reply
    • Swagatam says

      May 7, 2017 at 2:49 pm

      OK great, in that case you can try the first circuit from the above article, use one LED on each string, so you will 5 strings for the 5 LEDs.

      use 8 ohms 5 watt resistor in series with each of the LEDs, and use 0.35 ohms 5 watt resistor for the LM338 output resistor

      Reply
    • Kiwi 5000 says

      May 7, 2017 at 3:08 pm

      Thank you so much for your help! What if i wanted a dim switch? What would you recommend?

      Reply
    • Swagatam says

      May 8, 2017 at 2:41 am

      You are welcome….If dimming option is required then you could opt for the second circuit, and use a 1 ohm 5 watt for the other resistor associated with the dimmer switch.

      Reply
  3. Lengkap says

    December 31, 2016 at 4:42 am

    ic LM338 hard to get so i want replace it with LM317,with LM338 we can wire 7nos and the question is how much nos of the leds when i use LM317?i need your help.thanks in advance.

    Reply
    • Swagatam says

      December 31, 2016 at 11:47 am

      3 strings can be used, with 3nos 1 watt LEDs on each string and the LM317 mounted on a huge heatsink

      Reply
  4. Lengkap says

    December 16, 2016 at 3:25 am

    im wondering if there is a replacement part LM338, LM338 is difficult to get in where I live, more than 20 electronics store I was looking but they do not have. is there any substitute LM338 IC, and IC series what to replace, thanks in advance (sorry bad english,im using google translate)

    Reply
    • Swagatam says

      December 16, 2016 at 11:03 am

      sorry there's no direct replacement for this IC, alternatively you can try the following discrete method of replicating this IC

      https://www.homemade-circuits.com/2012/01/how-to-make-versatile-variable-voltage.html

      Reply
  5. raja prakash says

    October 31, 2016 at 3:12 pm

    helo, i want to replace, bike 35w halogen bulb to 20w LED..What diode do i need to use, to make the bridge rectifier nd also the capacitor value for the same. thanks

    Reply
    • Swagatam says

      November 1, 2016 at 4:07 am

      hello, you can use 6A4 diodes for the bridge, and a 6800uF/35V caapcitor

      Reply
  6. David says

    July 20, 2016 at 2:44 pm

    Hello sir,

    I am trying to bi-color LED (Warm and Glow) to change the color from warm to glow by using the dimmer circuit. That's different than changing the brightness by the dimmer.
    I gave an idea to do that but I need help here. My idea when you use the regular dimmer the warm LEDs will start light up until it get full brightness and the glow lEDs will be at full brightness and as you use the dimmer it will bright down until get OFF. Do you have any idea how i can achieve that.

    Thanks in advance,

    Reply
    • Swagatam says

      July 21, 2016 at 8:05 am

      Hello David,

      In simple words you want a dimmer circuit that can implement a smooth transition of the LED illumination from warm white to cool white and vice versa through the control of the dimmer circuit…. right?

      Reply
  7. Syed Ameer Hamza Askari says

    July 9, 2016 at 12:13 pm

    Sir thank u for reply, Sir can u please tell me the value of capacitors and bridge rectifier and after this what component used?

    Reply
    • Swagatam says

      July 9, 2016 at 1:37 pm

      Syed, please specify the LED wattage, that will help me to figure out the bridge rating and also the capacitor value roughly….please remember that super capacitors are very costly…but are almost permanent

      Reply
    • Syed Ameer Hamza Askari says

      July 9, 2016 at 2:08 pm

      Sir any alternate of super capacitor? And i think led current is about 0.45 amp

      Reply
    • Swagatam says

      July 10, 2016 at 4:16 am

      0.45amps looks quite small for the headlights, it should be at least 2 amps, you can use 1N5408 diodes for the bridge rectifier and for the capacitors you can try 4 nos of 6800uF/25V in parallel,

      Reply
  8. Syed Ameer Hamza Askari says

    July 8, 2016 at 9:04 pm

    Sir meri ap se request hay k ap aisi led headlight circuit design karain motorcycle k liye jis ki roshni bohot tezz ho or wo without battery pe chalain bike ki power pe mere matlab hay k meri bike me abhi battery nahi hay laikin jb bike start hoti hay tu light on ho jati hay laikin wo shayad ac source hay or wo acceleration pe depend hay zyada acceleration ho gi tu zyada tezz light chalti hay please aisa kuch design karain

    Reply
    • Swagatam says

      July 9, 2016 at 9:02 am

      Syed, you can try using a bank of super-capacitors with the supply after rectification using a bridge rectifier, this will probably help the LEDs to produce a constant glow regardless of the motorcycle speed.

      Reply
  9. abhishek singh says

    January 29, 2016 at 6:30 pm

    Hello sir,
    I need your help i made a bike led bulb
    I installed 2 led of 20 waat and 3 led of 12 waat
    Please help me to design it's circuit because when we connect direct to battery it will turned on it will heat and fused after some time so give me correct circuit diagram please help me

    Reply
    • Swagatam says

      January 30, 2016 at 5:19 am

      Hello Abhishek, any high watt LED will get burnt if proper heatsink and current regulator are not used with it.

      You will need to mount them on large heatsinks and inset the following explained current regulator between the supply and the LEDs:

      https://www.homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

      Reply
  10. jasmeet singh says

    November 29, 2015 at 1:37 pm

    Swagatam you have shown 21 leds which are producing lumen between 1500-2500 lumen…if we calculate lumen per led it makes atleast 71 lumens for a single led….could you plz guide where to procure such high lumen led's and what is estimated price for them…..

    Thanks

    Reply
  11. Sameer Patil says

    April 25, 2015 at 6:21 am

    sir which led have to be use i mean led number, or can i use smd led 5730 with your resistor value. wating for your reply sir

    Reply
    • Swagatam says

      April 25, 2015 at 12:42 pm

      Sameer, the circuit shows a set up for SMD 1 watt LEDs, for other LEDs you'll need to calculate the resistors accordingly

      please read the following article for more info regarding the subject:

      https://www.homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

      Reply
  12. basit momin says

    April 4, 2015 at 1:39 pm

    While connecting the LEDs in series it is important to see cathode and anode terminal, my question is that sequence of terminals really matters.?? Can I connect the LEDs in series in any manner without seeing the positive negative terminal?

    Reply
    • Swagatam says

      April 4, 2015 at 3:14 pm

      yes for LEDs must be always connected by observing correct polarity especially when connected in series, even if a single LED is connected in reverse the whole array will remain shut off or may get damaged.

      Reply
  13. basit momin says

    April 2, 2015 at 6:13 am

    Ok i will try thanks

    Reply
  14. basit momin says

    April 1, 2015 at 1:29 pm

    So we cannot make AC led Series bulbs

    Reply
    • Swagatam says

      April 2, 2015 at 6:04 am

      you'll have to include the high voltage isolating capacitor, rest of the components can be eliminated.

      make two 50 LED series and connect their opposite ends together, meaning the anode end of one series should be connected with the cathode end of the other series in both the ends.

      now simply connect one end of this assembly to one of the mains terminals while the other to the other mains terminal through a high voltage capacitor.

      the whole set up will be too dangerous to touch, exercise adequate caution.

      Reply
  15. basit momin says

    April 1, 2015 at 7:40 am

    Thanks for ur prompt reply bt sir can we run the LEDs without the circuit by adding some ics to each led………. I want to run it direct on 230v AC without any circuit like festival series lamps

    Reply
    • Swagatam says

      April 1, 2015 at 12:39 pm

      LEDs are different from filament bulbs, without capacitor the LEDs will start blowing off with slightest voltage fluctuations if connected directly or through resistors. therefore the recommended capacitive circuit has to be used with it.

      Reply
  16. basit momin says

    March 31, 2015 at 6:05 pm

    Sir actually I want to make 100 nos of led toran of 2 array each array of 50 leds I am trying to convert leds in AC bulbs like 6.2 v festival decoration lamps so that's my question sir

    Reply
    • Swagatam says

      April 1, 2015 at 4:54 am

      You can use the following circuit, and simply connect the two arrays in parallel across the outputs:

      https://www.homemade-circuits.com/2012/04/how-to-make-led-bulb-circuit.html

      Reply
  17. basit momin says

    March 18, 2015 at 8:38 am

    Hello sir i am trying to make AC 1 watt bulb like 6.2 v 3 amp miniature lamp ……so it will be easy to solder led in series without seeing plus and minus of led so pls help ………..Thanks in Advance

    Reply
    • Swagatam says

      March 18, 2015 at 12:19 pm

      hello basit, I did not quite understand, where and how do you intend to solder the LEDs??

      Reply
  18. basit momin says

    March 18, 2015 at 8:34 am

    Hello sir i am trying to make AC 1 watt led bulb like 6.2 v 3 amp miniature lamp or festival decoration lamp so it will be easy to solder led without seeing plus and minus of leds so pls rpls ……and Thanks in advance

    Reply
  19. Rajasekaran :: T2T Designs says

    December 2, 2014 at 4:49 am

    thanks for the suggestion and for the prompt response; thanks once again !!!!

    Reply
  20. Rajasekaran :: T2T Designs says

    December 1, 2014 at 10:10 am

    i have a 20v 3amp DC out; can i use 50ohm 2watt resistor in series for a single LED 3watt

    Reply
    • Swagatam says

      December 1, 2014 at 2:28 pm

      R = 20 – 3.3/0.9 = 18.55 ohm

      W = (20 – 3.3) x 0.9 = 15 watt

      please refer to the above specs…you'll need around 20 ohm, 15 watt resistor for the said implementation

      Reply
  21. William Tham says

    May 30, 2014 at 8:00 am

    Can this be use for high and low light control in normal car headlight

    Reply
    • Swagatam says

      May 31, 2014 at 4:02 am

      yes it could used but the light would be relatively insufficient for a car headlight application

      Reply
  22. Raja Banerjee says

    January 23, 2014 at 8:21 am

    then could we wire 4 white leds per string in series with a 47 ohm resistor (for 8mm led 20 ma current, taking 14.5v batt voltage) looking for making led tail light. thanks.

    Reply
    • Swagatam says

      January 24, 2014 at 6:20 am

      if it satisfies the calculations then yes it can be done.

      Reply
  23. Raja Banerjee says

    January 20, 2014 at 2:46 pm

    a fully charged battery will give around 13 v and when the vehicle is running the batt voltage varies from 13 v to 16 v (as most automotive dc regulators are capped at 16 v.) so can we wire up the leds without the limiting resistor and 4nos in series with lm 338 wired to deliver current a bit lesser than the total forward current of the leds?? thanks

    Reply
    • Swagatam says

      January 21, 2014 at 5:28 am

      for a single string it will do but when more parallel strings are involved individual resistors become necessary for uniform distribution of current through the strings.

      Reply
  24. Ajay says

    November 7, 2013 at 6:03 am

    Hi all,
    Thank you very much for the shared information. I am planning to make a head lamp using the above circuit diagram. I want to make it with a dimmer circuit as shown in circuit no 2. I am fitting it on my Honda Unicorn. Unicorn draws power directly from the alternator. I will be using Philips 1 watt high performance LEDs. I have check the pinout diagram of LM 338 but there is no pin called Adj.
    1) What is Adj pin in IC 338?
    2) Can I draw power from the alternator or draw power from battery/
    3) I have learnt that a LED driver circuit is required to drive a cluster of LEDs. Is it true?
    Kindly revert asap,
    Thank you.
    Ajay

    Reply
    • Swagatam says

      November 8, 2013 at 4:28 am

      1) check LM338 datasheet, you will get the correct pinout diagram in it.
      2) Power can be drawn from the alternator as long as it's connected with the battery also.
      3)The above design is a current controlled LED driver circuit.

      Reply
  25. Rajthilak Kuppuswamy says

    October 21, 2013 at 6:54 am

    Hi Swagatam,
    Is there any way to make 1 W led driver using 12V DC? I mean atleast powering upto 10-12 LEDs in series, i have gone through your other driver circuits but I would like to power up more than 10-12 at a time, please let me know your thoughts and if possible, the circuit. Thanks in Advance.
    Rajthilak K

    Reply
    • Swagatam says

      October 21, 2013 at 2:20 pm

      Hi Rajtilak,

      you can try this circuit, the coil will need to be experimented a bit,:

      https://www.homemade-circuits.com/2012/09/led-emergency-light-circuit-using-boost.html

      For the coil you can try 22SWG wire wound inside a torroid ferrite core with 20 turns.

      Reply
  26. Kapila S.F. says

    August 15, 2013 at 6:40 am

    Hi. Mr Swagatam.
    There are 3 pin outs of the Head lamp bulb.
    So How its Dimm the head lamp?

    Reply
    • Swagatam says

      August 15, 2013 at 1:50 pm

      Hi Kapila,

      The above design does not include a Dimming feature, but it can be easily modified with that feature. It can be done by providing a higher value resistor selection option for reducing current input from the IC, for dimming the LEDs.

      I'll try to update it soon.

      Reply
      • Mick says

        November 10, 2024 at 7:34 am

        Hi Swagatan
        I have a small 1970 125 6v ac Magneto system Motorbike.
        The Lights are awful
        I want to use LED bulbs.
        The AC Power out put from the single coil magneto only just powers a 20 watt head light bulb. A single diode from a coil tap also charges a small 6v battery which then powers just 21w brake light and 10w indicators. The main Head light is powered direct ac from the mag
        Supplied power from the magneto coil is low and varies with revs
        So as not to waste power. Shunt or series regs turn pwr int heat.
        I can not get a SEPIC or BUCK regulator to work down further that 4v
        At tick over revs the the bulb will go out.

        Any Ideas There must be some circuits out there.

        Reply
        • Swagatam says

          November 10, 2024 at 8:47 am

          Hi Mick,
          I think a simple buck converter should be enough to ensure your headlamp lights up much brighter under all conditions.
          You can try the the following circuit for fulfilling the above requirement:
          https://www.ti.com/lit/ds/symlink/lm2596.pdf
          These modules are also available readymade from the market.

          The LED can be a 3V-3.7V Round COB LED Light Double Ring Cool White LED
          Please let me know if you have any further doubts or questions…

          Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Adjustable 0-100V 50 Amp SMPS Circuit
  • ibrahim on Adjustable 0-100V 50 Amp SMPS Circuit
  • Swagatam on Contact
  • KRAB Babu on Contact
  • Swagatam on How Shunt Regulator TL431 Works, Datasheet, Application

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations