Auto Bike Light: On When Moving Off When Not

auto-bike-light

If you’re plagued by perpetually dead bike light batteries you’ll like this one. It’ll also fix the problem of remembering to turn the lights on in the first place. This hack uses an accelerometer to switch the light when the bike is in motion.

In this case the bike light was chosen for its ability to fit the control board inside the case. But with this proof-of-concept you can easily spin a tiny board with uC and accelerometer to replicate the functionality (the Bluetooth module shown above is going unused in this application). Many accelerometer chips have low-power mode that can be used to was a uC so we could easily see this having very little impact on the normally battery life of your light. The one caveat being the need to regulate the voltage as many of these lights take a 12V cell.

The other alternative is to make sure your battery is always charging during the day. This solar setup is one way, but then you won’t want to leave the thing unattended.

 

An amazingly professional LED bike light

light1

[Tom] sent us a link to this very professionally done project. He built a bike light that is a 540 lumen Luxeon light with a custom case.  The LED, Lens, and driver were purchased first. Everything else was designed around it. The design is compact and good looking. You can download the CAD files on the site if you want to make your own. He is using an Atmel AVR ATTiny13 to control brightness.

AVR light controller

halogen

[Matthias] sent us this project where he builds an AVR light controller. He had a halogen bike light laying around, but was unsatisfied with its lead-acid battery. He wanted to use a lithium-polymer battery but found that they can’t be used directly with halogen lamps due to their voltage. His produced 8.5 volts at full charge and can’t be discharged to below 5 volts. He new a power controller would be necessary to try to flatten that out for his lamp, which needed to stay between 6-12 volts.

He used an ATtiny45 doing PWM to change the voltage. Some other cool features he added were the high and low settings and an LED status light for warnings. You can find pictures, schematics and source code on his page as well as tons of great information. Great job [Matthias].

Follow

Get every new post delivered to your Inbox.

Join 96,345 other followers