Illuminated horns for a bicycle helmet
This is Arduino code to drive 2 led rings for the smallest model from this thing.
The front half is white and the rear half is read and the LEDs are "randomly" illuminated. The right side is a mirror of the left.
BOM
Construction
- Print out the 3D models found in the models folder and the Thingiverse link above.
- Upload the code to the Cheapduino.
- Cut some of the 3 core wire to the appropriate length to go from the horns to where you want to mount the battery box.
- Solder the 3 core wire to the LED rings and crimp on the female JST connectors.
- Cut any existing connector off the battery and solder the wires to the matching pads on the charge controller.
- Use some single core wire to connect the micro USB breakout to the charge controller, and solder in to place.
- Cut enough single core wire to go from the switch to the inside of the battery box, with enough slack for you to work with.
- Solder some of the single core wire to each terminal of the switch.
- Push switch in to place.
- Solder one of the switch wires to the VOUT on the charge controller.
- Cut enough 3 core wire to thread through the holes in the battery box to reach the Cheapduino with enough on the outside to attach a JST connector.
- Cut another of the same length.
- Crimp on a male JST connector on each length of wire.
- Solder a positive and negative wire on to the Cheapduino.
- Insert the short lengths of 3 core wire to the battery box and solder the data pins to the Cheapduino (check source code for pin layout).
- Solder all the remaining unsoldered positive wires to eachother and apply heatshrink. Do the same for the negative.
- Press in and screw down the microusb connector in to the battery box using 2 of the M2 screws.
- Connect everything and make sure it all works.
- Disconnect everything.
- Press it all in to the battery box and use the remaining 8 M2 screws to attach the lid.
- Using the M3 screw, fasten the box to the helmet using the fastener from the inside.
- Press the LED rings in to the horns and cable tie the horns to the helmet.
- Thread the wires through the helmet, using cable ties to hold in to place.
- Connect everything back up and enjoy.