James is passionate with mountain biking. When dark comes proper lighting is required. For this he purchased a bike light controller which didn’t prove itself with its lack of button debounce, annoying strobe in super bright mode. Without thinking further he started his own controller project where he could select modes with single push button that would be properly debounced. He went with several lighting modes including 100% constant, 50%, 15% and 15% constant with a 2Hz, 100ms 100% flash strobe. Such strobe with steady lighting seems to work well when catching drivers attention.
For electronics part he’s chosen Attiny25 microcontroller which is small enough to fit in to existing enclosure with other components. He used 78L33 voltage regulator to get DC power supply for circuit from battery.