Electronic – Suggestion for a lack of light warning unit when in motion

light-sensormotionoptoelectronics

I would like to build a small device that warns me, with sound and or a 'dash' lamp, that my headlight is off if the motorbike is moving. My challenge is it is under warranty, so I cannot in any way modify or attach to existing wiring. The unit must strictly only connect to the bike by something like silicone glue or Velcro.

I first though of an accelerometer in combination with an Arduino or something, but now I've wondering if a simply unit could be made with some kind of pendant switch, as I only need to detect some acceleration, not the magnitude of it.

The unit would be smallish, with a light sensor on one end, and a bright LED array on the front, to provide an iota of emergency visibility if the rider doesn't hear or see the warning for some reason.

The main gist of my question is, once the light detector and alarm is built, how do I enable it only when in motion?

BTW, the main use of this is for when a motorcyclist forgets to switch on his headlight during the day. It's quite easy to notice that it's off at night.

Best Answer

Use a dynamo to power your circuit. This is how old bike lights used to work before batteries became more popular. This way motion detection is passive and all you need to do is have a buzzer sound when a light sensor reports darkness.

You can still buy small clip-on bike dynamos cheaply and you can just modify one of those into a single device that has the buzzer and light sensor built in.

http://www.ebay.co.uk/itm/BICYCLE-BIKE-DYNAMO-LIGHTS-SET-HEAD-REAR-LIGHT-Cycle-Power-Retro-Classic-/262145176729?hash=item3d0911f499:g:DqoAAOSw~CRTpzDo

These devices simply have a shaft with a friction wheel on one end that presses against the tyre and spins powering a small generator. Simple and effective.

Related Topic