Archives

Your car shows brake lights when it brakes. Some cool cars turn their lights on when you approach your car at night. Some really cool cars change the intensity of brake lights when they brake hard.

My bike has a red light that turns on when you press a button.

NOT FAIR.

For my FedEx Day project (a day where our company lets us make anything for 'next day delivery'), I brought my bike into the future with the help of a coworker and a local design firm called Altitude. My coworker helped with the Bluetooth programming, and Altitude designed+fabricated the 3D printed rear light mount and brake detection assembly.

Open Items

I only had 8 hours to get this all done, so the front light was pretty sketchy. I'd like to move the Bluetooth hardware onto the main Arduino in the bike bag, and run a wire to a better looking front bike light.

Although functional, the code that detects braking is pretty simple and could be made more robust to detect braking on hills. It could also flash the LED ring after quickly braking.

Eventually, I'd be nice to redo this on a smaller Arduino, like the Arduino Nano, and to move over to Lithium cells for the battery so I could mount everything on the rear seat post.

Even further out: I'd love to shrink this all down into a custom board, have the front light wirelessly communicate with the rear light, and have the brake detection mechanical assembly be a little more robust which would basically turn this little hack into a real product.