Control all switchable lights from small push-to-make switches
Indicators - Single press starts automatic sequence of 10 flashes, then cancels
Indicators - Second press of button cancels currrent sequence
Indicators - Pressing other indicator button cancels current sequence and starts a new sequence on the other side
Indicators - Holding down a button will cause sequence to continue indefinitely
Hazards - Pressing both indicatos simultaneously will make all indicators flash as hazards. This will continue indefinitely.
Hazards - Second press of either indicator button cancels hazard lights.
Main/Dip - Assuming dip beam is always on (daylight running), pressing this button will toggle between main or dip.
Brake lights - Light brake lights when brake switch inputs are activated
Horn - Sound horn when horn button is pressed
Bike electrics are 12V based
All outputs to be protected. Solid state breakers preferred.
Small and light construction.
Fully sealed against water and dust.
Vibration resistant.
Future options:
Add intertia switch to flash hazards briefly under hard braking
Modify horn to sound bip-bip-bip-beeeeeeeeeep instead of single beep for greater presence
Using ISIS VSM simulation software and Microchip MPLAB, a proof-of-concept prototype of the basic indicator operation was created. The PIC used is an 18F1320 18 pin device, and the source code is written for the Microchip C18 compiler.