Main Content

Since I got my bike, I had always wanted to do something interesting bike related. Riding a bike at night is a bit dangerous, so I decided to build a DIY bike rear light to keep me safe.! Most bike lights on the market are some dummy red LED with just a switch, which might be running off some AA batteries. That is boring as hell and swapping out the battery once every few days seems to be a pain. In this project I will be using a microcontroller to allow for switching between the various functions I programmed. The entire system is built on the backbone of an ATtiny4313 chip with a few other parts totaling at about $35. It might seem a little expensive, but this build covers a lot of ground. You not only get safety-centric feature, you also get a handy USB charging facility and programmable LED display.”

Link to article