3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino Bicycle Alarm and Lights

Step 6Mount It and Use It!

Mount It and Use It!
The next step is to mount the lights. For my lights, I connected the batteries to eight bright red LED's in the tail light. I then attached the super bright white LED's in another small project box to the head tube (the part of the frame directly below the handle bars). If the alarm is set to the off position, when you toggle the switch the lights should come on.

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 StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
7
Followers
2
Author:cheeyah