LED Bike Lamp

84K32954

Intro: LED Bike Lamp

If you wish to make by yourself a powerful lamp for your night bike rides, as some beautiful lights you can buy, the best choice in my opinion is to build it with a commercial LED lamp. Since some of these lamps work with 12V AC current, I decided to use as power source a 12V DC Li-po battery. The lamp has an included rectifier which converts current from AC to DC, so using a DC source works good here.

NOTE: I made this projects specifically to have a powerful lamp to mount for a night ride. All the connections, the meter, the lamp pins, the battery terminals, are NOT waterproof, neither water-resistant. For the same reason I don't need any power switch, and I need a fast to plug lamp support. Pay attention to use a so much powerful battery pack with rain or wet hands!

STEP 1: The Lamp

Since commercial 12V LED lamps are now very common, you can find any number and type of them. There are lamps with a big number of standard white leds, with 3 or 4 or 5 more recent CREE leds, also with one single huge beautiful COB led.
I bought in a shop a 4 cree leds 6W lamp, but of course I can change it whenever I wish with a more strange or powerful LED spotlight. You can determine your best choice also referring to the beam angle. You can find an angle from about 30° to 60°, remember that a narrow beam will light further, but street sides will remain in darkness, the same as road signs.

STEP 2: Power Source and Connections

The power source I chose is a powerful 5000 mAh Li-Po 3 cell 11.1 V battery pack. It's not handy because it need a proper charger, you can't store it with 100% of charge, you have to pay attention to not let it discharge more than a certain value, and you have to check your Li-Po battery packs every 6 months to ensure they have the right storage voltage. But, it's an awesome battery referring to weight and capacity!
You can buy a little cheap display which shows voltage and amperage (mine from HobbyKing.com), so to solve the discharging problem.
In the first picture you can see the cables I made to connect battery to the lamp, and you can insert the display between them if you wish.
To make the lamp plug I simply used a pair of electrical screw connections for wires, I sanded down the sides, so to glue them and obtain the right distance between holes. In this way I can tight the MR16 pins with the screws.

STEP 3: The Stand

To make the stan I had an almost ready steel frame, which was probably for a bike reflector.
I decided to build a "fork" which holds the lamp from the two groove on the stem sides.
So, with the aid of a saw I cut an opening in its end, and I enlarged it with some files.

STEP 4: A Bit of Work

I had to enlarge that opening to achieve the exact dimensions of the lamp grooves. Width of the opening has to be 9 mm and thickness of the plate has to be 2 mm. Because I couldn't reduce the thickness of the plate I gave them an edge, so that they fit into the grooves.

STEP 5: That Fits!

Pushing the lamp inside the aperture, you'll notice that the connection is very tough and there is no danger the lamp falls out.
Some lamps have a glass or ceramic stem. In that case you have to pay much attention to make a perfect "fork" and to not break the stem.

STEP 6: Fastening the Battery Pack

To see the display I decided to lock the battery over the horizontal pipe of the frame, where I already had a padding. If you don't have a padding, use some thick rubber. Li-Po battery packs have to be protected against collisions, so try to avoid open areas as the bottom of the oblique pipe. Li-Po cells can explode if struck, it's very dangerous!
I fastened everything with some velcro. Let some freedom to the white wire, so you can steer with no constrictions.
There is no power switch since the connections are very easy to unplug.

STEP 7: Mounting the Lamp

When the front part of the light system is assembled, you can hang it on the bike fork, with the same bolt of the front fender.
I had to bend the support because my lamp was too low and the wheel shadow was annoying. The more you lift the light, the better you'll see in front of the wheel.
About the cost of the set it's not high at all (the lamp is about 15$, and the battery is an all purpose battery you probably already have if you like hobby-modeling). Of course we all know that nowadays you hardly save money making a tool or a gadget, but you could love the making more than the buying ;-)

STEP 8: Let There Be Light

You can now connect everything and leave for your night-riding!
You have more than 10 hours of autonomy with a 5000 mAh battery! That's too much for me so I'm planning to add a second identical lamp and mount them side by side!

NOTE: I'm not sure the reason my lamp draws 350 mA from the battery, since the lamp details say 700 mA. It certainly derives on the fact the lamp is for AC current and I power it with DC current. But although I red some topics about the matter, I didn't understood enough to explain it here, I'm sure some of you can enlighten us ;-)

55 Comments

There are some pretty rough roads around here - I'd be concerned about the lamp falling out of that holder without some additional support. Other than that, I have to say it's a brilliant idea and looks rather neat for such a simple lamp.

I am operating my electric assist at 24V, can I use 2x of these lights in series and power it via my 24V pack without a DC-DC transformer?

This way I can use a 60° and a 30° for a long range narrow beam and also light up the sides of the road and signs as well.

I have a 24V-20AH LiPO4 pack that I normally only deplete to about 7-10 AH so plenty of juice for the lights.

I like this idea.

I'm finding the conversations about the apparent "loss" in the bulbs interesting. I think the real reason is much simpler- they are designed to take less current than the potential maximum.

Several posts mention 700mA as the driving current. This is usually a maximum current for these types of LEDs and to achieve that level of current through the LED you need a significant amount (relatively) of heatsink. This lamp is rated at 12v(AC) 6W, so it is only designed to be taking 500mA maximum anyway (Watts=Volts x Amps). To cut down the heatsink sizes to the lamp sizes means reducing the heat losses and hence driving on lower currents. If you look at some of the higher power LED bulbs, you will see various external heatsinks used to solve this problem, which will get better over time as LEDs are designed ti be more efficient.

Regarding the rectifier, it has to be a bridge rectifier as a single LED will cause way too much flicker on AC unless they added a smoothing capacitor and this wouldn't be feasible due to the size of the capacitor needed. So does this cause the apparent loss in current/power? Yes and no. It will cause a power loss as stated by several posts, but it won't affect the brightness of the bulb versus AC in a designed lamp. Why not? Again, because that voltage drop will be compensated for in the design and will therefore be present both in AC and DC.

There is however an issue with driving it with 12DC versus 12AC that needs to be considered. LEDs do not obey Ohm's Law, which is for linear resistors. As LEDs are semiconductors, they have a non linear voltage-current curve. They take very little current until they turn on, then have a very steeply rising current use as the voltage rises slightly. This non-linear voltage versus current curve is the reason you need to use either a current limiting circuit or resistor with LEDs. Therefore, as these are probably using simple (cheap?) circuits to control current, they will set the max current to be used at the maximum AC peak voltage (1.414x12v=~17v), which will probably be causing the drop from the expected 500mA to the 350mA quoted.

Also, in designs like this they will need to build in an overhead for over-voltage of the supply. Halogen bulbs are more tolerant of overvoltage than LEDs and transformers are not in themselves a controlled voltage. The voltage of a transformer drops as more current is taken. So, if you place a lower wattage bulb in a transformer driven system, the driving voltage will be higher. With a lamp which is sensitive to overvoltage, designing for this means making the current draw lower than the max possible to allow for this contingency.

Finally, there are also efficiency advantages to running LEDs at lower currents. They convert current to light more efficiently at lower currents. So therefore, using the same total current, four LEDs of the same type will give more light than three of the same type, with less heat wasted and will also be more reliable due to the lower current.

Putting a greater voltage in the bulbs will definitely cause them to be brighter but measure your current whilst doing this and keep an eye on the heat in the bulbs, especially if you intend to mount them in an enclosed case.

Finally, what would you actually recommend as a good angle to actually start with after using these bulbs?
Thanks! This is really interesting, I hope your explanation will be right, as you said that means a longer duration of the battery and a better efficiency of the lamp! I will make a photo-comparison between this lamp and a 220V 9W one.
As beam angle I have a good experience in using 36°, 60° and 10° halogen 12V bulbs in bike night rides. 60° are very useful in woods, as you can see high branches and side obstacles. I suggest 36° for traditional roads, and if you want to enjoy yourself mount a 10° lamp on the helmet, you can light far mountains too, although you have to be VERY CAREFUL to not point to mates or car, so it's better to turn it on only in isolated tracks.
Andrea, congratulations on building this light! And thanks for the link to the battery meter, it's very nice (I love numbers and stats).
I don't want to sound critical but the safety aspect have to be mentioned.
To me, this light only seems suitable for road bikes on good roads, riding in dry weather. I wouldn't trust that bracket holding the bulb (at least not for a mountain bike and not for bumpy roads).
I also don't see any weatherproofing or a safety fuse. The battery connectors you're using might be water-resistant but probably not waterproof, that battery meter doesn't say anything about weather resistance (so it's most probably not), and your light bulb connector is completely exposed to water incursion. I hope you're aware that these kinds of batteries can supply very high currents, so in the event of a short circuit the battery or the wiring will most likely burst into flames (or even explode). Do you have an on/off switch? If not, do you turn off by unplugging? If the connector is unplugged, it's one more point water can get inside. Anyone making similar projects should keep safety in mind. Bike lights are not the same as R/C toys, which are used in dry weather, and have to keep the weight as low as possible so are willing to sacrifice safety for weight savings.
Would you care to mention the costs of building this project? Because these days you can buy really cheap purpose-built bike lights from China (e.g. on Deal eXtreme), which come as a set, with proper handlebar mount, with 2+ brightness modes, full waterproofing, the battery comes in a neat-looking pouch with mounts for the frame tube, level of discharge is usually indicated by a LED that illuminates the mode switch.
Hi gpavlovsky, thanks for the compliments. You're right about the safety, this is actually a project I did specifically to have a powerful lamp to mount for a night ride. All the connections, the meter, the lamp pins, the battery terminals, are NOT waterproof, neither water-resistant. This could be a problem for long travels, but it's good enough for my city rides. For the same reason I don't need any power switch, and I need a fast to plug lamp support, I'll try it on bad roads to know much about stability. I'll add some better detail in the intro..
About the cost of the set it's not high at all (the lamp is about 15$, and the battery is an all purpose battery you probably already have if you like hobby-modeling). Of course we all know that nowadays you hardly save money making a tool or a gadget, but you could love the making more than the buying ;-)
Your reasoning about the safety issues is exactly how I thought, and all is fine as long as you understand the risks and avoid rainy days, puddles etc.,
But you might want to mention the electrical safety issues in your instructible, since others might want to follow/copy your project without realizing the dangers it might bring in the wet.
And if I were you, I would at least add a sealed ATM (mini) automotive fuseholder with a 5A fuse (or smaller if you can find one), to avoid a fire and/or melted wiring. It's cheap and compact and should be easy to find in automotive shops. Install the fuse on the + wire from the battery, as close as possible to the battery. I use these:
http://www.easternbeaver.com/Main/Elec__Products/Fuseholders/C-Bfuseholderlong_9089.jpg

Just want everyone to stay safe :)
I totally understand you, the fun in building something is quite often a good enough reason to do it yourself instead of buying. I think the battery is the most expensive part of your build, thus if you already had a spare one it makes sense to put it to good use. But if your budget isn't super tight, I'd still get some kind of waterproof automotive/motorcycle LED light designed for 12VDC operation (make sure it would work on 11V or even lower). If you want waterproof connectors, I'm a big fan of automotive AMP SuperSeal connectors (available from 1 to 6 wires) available from Mouser or NewArk. 
Thanks! Those AMP automotive superseal connectors are great!
You're right about the fuse, I used to connect it every time when I was younger and I built some 12V night lamps for my mountain bike, powered with lead sealed batteries. I have to add this also to the note I inserted in the first step.
Nice Instructable.
The explanation you are after could be something like this.
LED's are diodes so will only allow current to pass in one direction.
As the lamp you used is an AC one then it has a clever device in the head (rectifier) that allows it to use the supplied current (AC) in both directions.
As you are only feeding it with DC (one direction) then the rectifier could be working against you??
Not 100% sure that this is the reason as I think the rectifier should just allow the DC to constantly flow. but it could be.
I suspect too that this is not the reason... but it could be, I frankly hoped that someone skilled in electronic would have given an instant answer... I ought to post my question in the science forum section or in the answers page. Thanks anyway!
The way I understand it, the rectifier essentially 'expects' only AC, so switches (at however-many-Hertz) to match that. Therefore, since you are only supplying DC, the rectifier has nothing to rectify half the time, so halves the lamp's current draw. Effectively, you are 'pulsing' your current to your lamp at half-speed.

You might be able to open the lamp housing and bypass the rectifier, but you'd have to do that each time you changed lamps - whether for aesthetic or practical reasons.

A DC-to-AC converter ought to allow you to power such a lamp (or 3), but you'd be converting battery power into mains, to be converted straight back into DC... - not exactly efficient!

And I'm not sure what size battery you'd need to provide enough AC for your lamp to work at its full potential for as long as you might need, but I don't think it'd be worth your while.

The only other alternative I can see is to replicate (maybe with a 3D printer?) the look of your lamp, but build it without the rectifier. If you look at http://led.linear1.org/led.wiz , you can see what resistors you need for however many LED's (whether 'ordinary', High Power or Cree) you want in an array.
Actually all bulbs will run on dc current. If you look at house light (incandescent) with a fast enough camera they blink. LED's will run on AC but they will only be on for 1/2 the time a standard bulb will be (look at a sine wave to explain)

The bulb looks like a replacement bulb for a track lighting system. In that case most track lighting systems have a small transformer pack that mounts in the ceiling. Depending on manufacture some of these lights actually run the bulbs on a DC current. In that case there will be a diode bridge in the transformer.

A diode brige simply converts the sine-wave(+ and -) of AC current into a proportionate DC pulsating-wave(+ only).


As for the reduction in amp draw. All bulbs (incandescent and LED) have a lead-in wattage(Volts*Amps=Watts)  that has to be overcome before the bulb emits light. Soon as that lead-in wattage the wattage required to continue emitting the light is reduced.

When powering the bulb on either AC or pulsed DC current every time the power supply drops bellow this "continuance wattage" the bulb must be exposed to its lead-in wattage before it can start emitting light again and so it requires more wattage over a given time to emit light.

On a pure DC power source(battery or normalized DC supply) the supply can maintain the "continuance wattage without drop-outs and so it requires less wattage to maintain the light.
Hi, actually incandescent lamps don't blink, filament glow is a physical continuous effect, but NEON and CFL lamps blink.
Thanks for the explanation for the lower consumption, don't you think that the exact half value is connected with some other reason?
In truth this is correct, however, they do blink. As the voltage across the affiliate returns to zero the filament is no longer being heated and will decay in its intensity(lumen) by a nearly imperceptible value(probably in micro decimals) however it does blink. That statement was more directed at those lights that use only half the ac wave curve(aka non bridged).
This is not correct, a bridge rectifier is a "passive" component, as electron_plumber pointed out quite rightly though, most AC voltage specs are RMS specs which means that you can expect the Rectified output to be 1.44 times the ac voltage input to the rectifier. If however you had an AC supply of say 10 volts PEAK AC, you would expect the dc rectified voltage to be approx 8.6V DC because of the voltage drop across either two of the four diodes on any given half cycle.
Thanks for that. I did/do know I wasn't correct, which is why I phrased that first paragraph the way I did.
The most common way to convert AC to DC is to use a simple 4 diode circuit known as a full wave bridge rectifier:

http://en.wikipedia.org/wiki/Diode_bridge

The bridge effectively flips the negative side of the the AC wave positive, so you end up with pulsating DC. If you want it to be a nice, constant DC voltage, you need to smooth it with a cap. For an LED, the pulsing isn't a problem. Note that the pulsing will be at 120Hz rather than 60Hz because of the flipping.

Bottom line is that putting DC into a full bridge rectifier gives a constant DC out. So this will work, with some small caveats. The brightness might be somewhat less than you expect. 12VAC usually means 12VAC RMS, which goes way above 12V for a good fraction of the time. The more serious issue is that you are passing all the current through only 2 of the diodes, and they might not be able to dissipate the heat. I have seen some of these LEDs rated for lower DC voltage than AC. I presume this is why.

That said, I have seen cheap AC LED devices that use a half wave rectifier. This uses only 1/2 of the AC cycle - the positive bits. If you run across one of these (easy to recognize, because they "twinkle" a bit), you will need to plug the DC in the right direction for it to work. The good news is that plugging it in the wrong way doesn't hurt anything, but it doesn't work.
This lamp behavior and consumption are not affected by the polarity of the DC source, I've tested that...
Maybe you're right about the diode bottleneck, actually double current flows in each diode, and they could be meant to letting flow the exact current for AC source.
More Comments