暫無描述

Robert Marshall b4a4134086 Fix numbers in readme 4 年之前
include b392d134e3 Initial commit 5 年之前
lib b392d134e3 Initial commit 5 年之前
models 8f5d986d0b Add models and put construction details in readme. 4 年之前
src b6ae40907e Update for using the CheapDuino from DFRobot. Use normal delay, may conserve battery as not calling code, dunno. 5 年之前
test b392d134e3 Initial commit 5 年之前
.gitignore b392d134e3 Initial commit 5 年之前
.travis.yml b392d134e3 Initial commit 5 年之前
platformio.ini b6ae40907e Update for using the CheapDuino from DFRobot. Use normal delay, may conserve battery as not calling code, dunno. 5 年之前
readme.md b4a4134086 Fix numbers in readme 4 年之前

readme.md

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

  1. Print out the 3D models found in the models folder and the Thingiverse link above.
  2. Upload the code to the Cheapduino.
  3. 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.
  4. Solder the 3 core wire to the LED rings and crimp on the female JST connectors.
  5. Cut any existing connector off the battery and solder the wires to the matching pads on the charge controller.
  6. Use some single core wire to connect the micro USB breakout to the charge controller, and solder in to place.
  7. 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.
  8. Solder some of the single core wire to each terminal of the switch.
  9. Push switch in to place.
  10. Solder one of the switch wires to the VOUT on the charge controller.
  11. 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.
  12. Cut another of the same length.
  13. Crimp on a male JST connector on each length of wire.
  14. Solder a positive and negative wire on to the Cheapduino.
  15. 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).
  16. Solder all the remaining unsoldered positive wires to eachother and apply heatshrink. Do the same for the negative.
  17. Press in and screw down the microusb connector in to the battery box using 2 of the M2 screws.
  18. Connect everything and make sure it all works.
  19. Disconnect everything.
  20. Press it all in to the battery box and use the remaining 8 M2 screws to attach the lid.
  21. Using the M3 screw, fasten the box to the helmet using the fastener from the inside.
  22. Press the LED rings in to the horns and cable tie the horns to the helmet.
  23. Thread the wires through the helmet, using cable ties to hold in to place.
  24. Connect everything back up and enjoy.