High Powered Helmet Light (Front, Side, and Rear Combo)

by hanlin_y in Outside > Bikes

2262 Views, 22 Favorites, 0 Comments

High Powered Helmet Light (Front, Side, and Rear Combo)

Custom High Powered Helmet Light (Front, Side, and Rear combo)
20160305_190705.jpg
20160305_190712.jpg
20160305_190718.jpg
20160305_190746.jpg
20160305_190734.jpg
20160305_190754.jpg

Helmet light with front, rear, and side LEDs for cycling visibility and safety.

Features:

  • Forward facing 15° amber LED
  • Rear facing 30° red LED
  • Side facing 45° amber LEDs
  • Controlled with a single button
  • Remembers its last used setting
  • Strobe patterns: Daytime strobe, fade, blink-blink-blink-blink-low, battery saver
  • LED dims when the battery is low

Materials

  • 2 - 18650 LiFePO4 cells (May substitute with 5 or 6 AA NiMH cells)
  • 1 - 2 cell 18650 battery holder
  • Enclosure (A waterproof 18650 battery holder was used)
  • Copper cladded board for etching
  • Ferric chloride
  • Plastic strips (You may cut them from plastic bottles)
  • Velcro
  • Hot glue
  • Epoxy
  • 22 AWG wires
  • Cable ties
  • Aluminum bars
  • 4" screw
  • Nuts
  • Bolts
  • Washers
  • #6-32 screws
  • 5 - amber 3W LEDs
  • 1 - red 3W LED
  • 1 - 15 degree LED lens with holder
  • 1 - 30 degree LED lens with holder
  • 4 - 45 degree LED lenses with holders
  • Electronic components (Refer to the BOM)

Note: For safety, LiFePO4 or NiMH cells should be used. If 3.7V Li-ion cells are used, they should have a protection chip.

Rear LED Heatsink

56dbcc1250e1b660c600008c.jpeg
  1. Cut the aluminum.
  2. Drill holes on the flat for attaching two aluminum angles on each side and the rear LED. The four 45 degree facing LEDs would attach to the angles.
  3. Make threaded holes on the edges of the four angles which would hold the side LEDs.

Front LED Heatsink

56dbcbae4fbade3508000233.jpeg

Drill and tap four holes on the angles which would hold the front LED. The screws would protect the lens holder.

LEDs Attached to the Heatsinks

20160227_213118.jpg
20160227_213128.jpg
20160227_213137.jpg
20160227_213111.jpg

Use JB Weld to attach the LEDs to the heatsinks.

LEDs Wired

front led wired.jpg
wired 1.jpg
wired 2.jpg

The LEDs will be wired in series. For extra flexibility, you can use silicone insulated wires.

LEDs With Lenses

holder 1.jpg
holder 2.jpg
holder 4.jpg
  1. Carve the lens holders to make room for the wires.
  2. Attach the lens holder on top of the LEDs with hot glue.
  3. Attach the lenses to their holders.

Self-Levelling Mount for the LEDs

20160302_222149.jpg
20160305_190422.jpg
20160305_190438.jpg

To properly aim the rear light, a self-levelling mount should be used. I used two layers of plastic from a bottle for rigidity.

  1. Drill the plastic strip for the cable ties.
  2. Drill one hole on each side for the screw used for holding the light. The holes should be levelled.
  3. Once levelled, trim off any excess plastic.

Circuit

pcb 1.jpg
pcb 2.jpg
soldered 1.jpg
soldered 2.jpg

The circuit is similar to that of my daytime visible bike light except that it uses a step-up converter instead of a step-down converter. The LED's forward voltage must be higher than the battery's voltage. If you're using red or yellow LEDs, the battery's voltage should be less than 1.5V per LED to prevent them from glowing during standby. That means if there are six LEDs, your battery pack should not exceed 9V.

Protect the Switch From the Weather

covered.jpg

Tape may be used to protect the switch from the rain. The non-sticky side should be facing the switch.

Code

arduino settings.png

The code will be uploaded to the ATtiny85 IC. Arduino 1.6.6 was used. The strobe patterns in the code were updated.

From the Arduino program, use the settings

  • Board: "ATtiny"
  • Processor: "ATtiny85"
  • Clock: "8 MHz (internal)"
  • Programmer: "Arduino as ISP"

Downloads

Light Installed on the Helmet

20160305_190547.jpg
20160305_190556.jpg
20160305_190616.jpg
off 1.jpg
20160305_190456.jpg
20160305_190508.jpg
20160305_190532.jpg

Use velcro to attach the battery holder, front LED, and the circuit's enclosure to your helmet.

Possible Upgrades

  • Use Cree LEDs for higher efficiency.
  • Move the front side lights to the front of the helmets to balance the weight and improve visibility if there are other accessories.
  • Use thinner and smaller aluminum bars to reduce the weight.
  • Use smaller footprint LEDs to allow smaller heatsinks to be used.

Using the Circuit for Bike Lights

Custom 7.5W LED tail light vs Cygolite Hotshot and PB SF Turbo

If you want to build a bike light, you can use the same circuit board. If you increase the battery pack's voltage, you may need to change the values of R1 and R2, and change the value of batteryCutoffADC in the code.

I used the same circuit board for my 10 LED tail light shown in the video.