DIY Bike LED Lights

by Constructed in Outside > Bikes

5009 Views, 38 Favorites, 0 Comments

DIY Bike LED Lights

IMG_0019.JPG
IMG_0013cover.JPG
IMG_0005.JPG
IMG_0024.JPG

I dont have a car...

That means most of the time, if I want to get somewhere I have to ride my bike. Unfortunately most of the times I ride my bike at night. After a couple near misses with cars using standard dollar store blinkers, I decided to upgrade. Using a strip of programmable LED's, I can play custom animations, cool party effects, and much more using the lights on my bike.

The total cost of this project was about : $48 US

But I spent more than I needed to, the bare minimum would just be: around $30 US

Lets get started!

Watch Video

DIY Bike LED Lights

I highly encourage you to watch the video

It goes over the entire build in a simple easy to follow way

If the embedded video does not work for some reason, Here is the link

https://www.youtube.com/watch?v=_uSjoYrhpkM

Parts

20160616-142937.JPG
20160616-143006.JPG
20160616-143240.JPG
57648c3f2e7fb64a840014e2.jpeg

Thanks to he awesome people at Banggood.com I was able to build this project quickly and cheaply.

They really are the best site for electronic projects.

For this project you will need:

1. LED Strip Light: http://goo.gl/xxVPLl

2. 12V 4800mah Li-ion Battery: http://goo.gl/SNMZAz

3. Nano V3 Controller Board: http://goo.gl/yfzTtf (Arduino Clone)

4. USB output converter module: http://goo.gl/9OJREG

5. DIY Aluminum case: http://goo.gl/2C5aaY (Optional for waterproof)

6.Toggle Switch: http://goo.gl/M6qwo5 (Optional, Battery already has safety switch)

Also what I did, was buy them in a pack of 5. This way I could make multiple copies for other bikes or even a bike rave?

Voltage Issues.

20160616-143308.JPG
20160616-143319.JPG

Now heres the tricky part about this project.

The battery is 12v.

LED strip can handle 5v.

What do we do? Simple a voltage step down should do the trick, the only one I could find while quickly searching was a rather large usb 5v step down module. Im sure you can find a smaller one, but it may be more expensive.

Then I got an old usb phone charger and cut it off, stripping two wires inside the + and - for 5v

Now we can power the LED strip!

Solder and Code

20160616-143344.JPG
20160616-143353.JPG
20160616-143359.JPG
20160616-143406.JPG
20160616-143430.JPG
20160616-143439.JPG
20160616-143447.JPG

Now we solder wires to the arduino.

My soldering wasn't the best, but it will do. Be sure to insulate the joint, I used hot glue and shrink wrap.

Just solder:

12v Battery to USB input (+ and -)

5v usb + to Arduino 5v +

5v usb - to Arduino ground

LED strip data to Pin 6 of Arduino

LED strip + to USB 5v +

LED strip - to USB 5v -

And for the code, I simply used Adafruits Neopixal library

However I modified it a bit to only play the last animation (the rainbow like effect) Check below this step for the code

The Code I used needs only one modification, just count the number of led's in your strip and enter it where I wrote

NUMBER OF LED's HERE. In the first lines of the code.

Downloads

Zip Ties

20160616-143520.JPG
20160616-143542.JPG
20160616-143618.JPG

Now for the fun part. As this was a prototype still, I didnt want to permanently fasten the lights to my bike.

The LED strip is waterproof, and I included a link to a waterproof housing for the electronics in the project parts step,

However I just wanted to test out this concept. So, I just used zip ties

There cheap and they work great!

Zip tie everything to the bike and make sure it wont fall off when you ride!

Its quite easy due to the fact that the LED strip is flexible!

Power on and Done!

IMG_0003.JPG
IMG_0020.JPG
IMG_0002.JPG
20160602-081324.JPG

Just flip the switch and admire your work!

No car can claim they "never saw me" now!

Note that these photos dont do the lights any justice, I learned its quite difficult to take a good picture of bright LED's!

If you learned anything, enjoyed reading or just enjoy my project, Consider subscribing to both my Youtube Channel and My Instructable Page to stay updated on my projects

Last Project: Building a Cheap 3d Printer

Thanks!