Lower power, cheaper batteries, rechargeable batteries, Hub dynamo's.Auto shutoff. The schematic below show how the voltage regulator circuit could be modified to allow digital shutoff (for instance when ...
Group riding would be much safer if bikes had brake lights. The lack of brake lighting on bicycles has lead to the audio cues of "SLOWING" or "STOPPING" being shouted at every turn. While this may enhance safety, it certainly cuts into the serenity of a ride.
This project offers a viable solution that can increase both safety and serenity on a group ride. With embedded programming made easy by the Arduino integrated development environment, electronics getting smaller, more capable, and cheaper, this project is possible for the do-it-yourselfer.
BEBL Challenge! Be the first, and get your hardware cost reimbursed. I will award a $35 reimbursement, by mail or PayPal, to the first person to post a video online that demonstrates a functioning and mounted Bar End Brake Light made from these plans. Looking forward to seeing your project.
Design Criteria Other than the obvious criterion -- light up when braking, I wanted this light to look cool, cool enough to mount on any expensive racing bike. This rules out any visible wiring. I also wanted the light to be portable, meaning it will work on more than one bike. Thus no brake-lever specific triggering should be used.
The final design is centered around a 3-axis accelerometer board provided by Pololu.com. This product is simple to use with an Arduino, small enough to fit inside the handle bars, and best of all cheap at $15. Also, this accel has an on-board voltage regulator that we will take advantage of to power the whole circuit.
The processing takes place in an ATmega328 programmed with Arduino. These chips can be also be programmed directly in C, but Arduino takes care of a lot of setup and generally makes programming less tedious. Arduino has everything this project needs. The ATmega168 would probably suffice for this project but the ATmeta328 at $1 more, provides 2X the program space.
Mounting the computer inside the handlebars provides an enclosure for the project.
The schematic and layout are included here for those who don't want to wade through detailed instructions. This schematic is for a potential printed board in the future. There was no room for the serial interface on this wired board so these elements can be ignored. I've indicated the unnecessary parts on the schematic and have omitted them from the layout. The slave LED D2 is not shown in the schematic but is placed in parallel to D1 as otherwise indicated.
Let me know if you are interested in a printed board. We can combine orders and save!