loading

In school this year, I have a pretty late schedule. Sometimes i'll be coming home from class after
sundown and with a bike that can be dangerous. Before purchasing a commercial bike light, I decided to see if I could make one myself. Using an IKEA lamp I found at goodwill (for $2) I figured I could make a pretty unique, environmentally friendly bike light. The lamp that I will show in this instructable can be found here. It uses a solar panel and re-chargable batteries which provides 3.6 volts to light several LEDs. The solar panel takes about 9 hours to charge and can provide 3 hours of light. I thought those specs were perfect for embedding a microcontroller (such as an attiny) to make a stylish bike light. Here are some features of the complete bike light:

-Solar powered

-about 3 hour battery life

-backpack mountable

-extra bright with 4 LEDs

-8 different LED animations (selectable via a push button)

This project is great for students, bikers, makers, and anyone who enjoys tinkering with electronics! And best of all it is not expensive to make. The parts list won't set you back more than $3 (assuming you already own the lamp). However, before we begin here are some warnings I want everyone to acknowledge before continuing:

WARNING!: GREEN LIGHT IS NOT AN ACCEPTABLE COLOR FOR BIKING. I USED GREEN LEDS FOR STYLE. WHEN I USE THIS WITH A BIKE, I WILL NEED TO USE EITHER WHITE OR RED!

DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY HARM DUE TO THE MAKING/USE OF THIS BIKE LIGHT.

Once you have acknowledged these warnings, lets begin gathering our parts for this project!

Step 1: Parts

You'll need these parts:

-attiny85 (or attiny45)

-4 LEDs

-4 100 ohm resistors

-1 SPST button

-SUNNAN LED lamp

You'll need these tools:

-Soldering iron (with rosin)

-Hot glue gun

-Dremel

-Wire strippers

-Optional: Multimeter

<p>Cool way to make such a portable bike light. Well done i just voted for your project.</p><p>Thanks for sharing your project with us.</p>
<p>This would be a great idea for a disaster kit I'm making. Could you write the code to blink S.O.S?</p><p>Just a thought.</p>
<p>Absolutely! Could you describe exactly what the S.O.S. blink should look like? Thanks for your comment</p>
<p>Here is a link that shows the light flashes for S.O.S.</p><p><iframe allowfullscreen="" frameborder="0" height="281" src="//www.youtube.com/embed/MKZ6rlqu-pg" width="500"></iframe></p>
<p>After a little googling I actually found someone who got an &quot;S.O.S.&quot; blink working on his arduino. Here is a link: <a href="http://www.instructables.com/id/SOS-signal-with-an-arduino/." rel="nofollow">http://www.instructables.com/id/SOS-signal-with-an...</a> </p><p>All you have to do is write a new function named &quot;sosFlash(){ }&quot; or something similar. And between the curly braces, add the code from the instructable I linked you to. </p><p>Thanks for the comment!</p>
<p>I like this :D Very neat.</p>
<p>Thanks so much! If you get around to making your own, please attach a picture!</p>
I will. I could probably go as far as turning it into a phone charger as well.
<p>Someone had the idea for this as a reply on my Sunnan-hack. Really cool that you actually did it. <a href="http://www.instructables.com/id/Easy-IKEA-SUNNAN-hack-non-destructive/" rel="nofollow">http://www.instructables.com/id/Easy-IKEA-SUNNAN-hack-non-destructive/</a></p>
<p>Thanks a lot! And yeah I actually saw that comment after I wrote this instructable but It's funny that we both had the same idea! </p>
<p>The Sunnan battery life is actually not that great, so it might be an idea to change the batteries. </p>
<p>Very cool idea. Completely repurposing that lamp was very innovative. Good job.</p>
<p>Thank you so much! And if you are interested, I took all these pictures with my smart phone (an HTC ONE) instead of my usual cannon t3i. So you too could take pictures like this in expensively. It's all about editing! Thanks again for looking </p>

About This Instructable

31,333views

187favorites

License:

Bio: I'm a student at UW-Milwaukee studying computer science with a passion for electronics. I'm always working on a project or thinking of new ... More »
More by bergerab:Flame Controlled MIDI ControllerSOLO Cup SpeakerBackpack Anti-Theft Alarm
Add instructable to: