Step 6Mount It and Use It!
Whether you use the project as an alarm or lights, be sure to test battery operation periodically. While the Atmega168 or lights are running, the battery will drain fairly quickly. To arm the alarm, turn the key switch to the on position. If the tire monitored by the reed switch is turned far enough, the alarm will sound for 30 seconds unless the wheel is turned again, in which it will continue to sound.
When you are using the alarm, turn the wheel so the magnet from the bicycle speedometer is as far as possible from the reed switch. This will help minimize the chance of false alarms.
If you use a rechargeable battery pack, place the key switch in the off position when you want to charge the battery. Then, all you have to do to charge the battery is connect the charger to the plug.
Sorry I don't have a picture or video of the alarm in action, but I ended up getting a different bike since I started the project, so I ended up using just the LED lights because I don't leave the old bike anywhere I would use the alarm. The lights are great though because you never have to worry if you have your lights or if they have batteries.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|











































