12V SLA Powered 15W LED Lamp

by hanlin_y in Circuits > LEDs

2067 Views, 17 Favorites, 0 Comments

12V SLA Powered 15W LED Lamp

20170409_150905.jpg
20170409_150853.jpg
12V SLA Powered 15W LED Lamp

This lamp uses an ATtiny84 based LED driver with a switching frequency of 78.125 kHz. The microcontroller was also programmed for monitoring the battery's state of charge which reminds you to recharge it, and turns it off to prevent overdischarging. You can power it with a 12V DC power supply if you want. This circuit can be upgraded for fan control for extra cooling, and 3A drive current for 30W operation.

Possible applications:

  • Flashlight
  • Emergency lighting
  • Work light
  • Photography
  • Outdoors activities

Update: There's a 3A driver for this lamp for 30 watt operation.

Circuit

20170408_131051.jpg
20170408_131036.jpg

In the circuit that was built:

  • 150 ohm was used instead of 10 ohm for R16
  • R5 through R8 were replaced with three 1.1 ohm resistors
  • Two 100uH 2A inductors were placed in parallel
  • The heatsink fan was not installed
  • The thermistor for the heatsink was not installed
  • 3 Cree XPL LEDs were used in series

PCB Express files were uploaded in case you need to modify the circuit board.

Upload the Code to an ATtiny84 Microcontroller

Screenshot 2017-04-09 15.30.55.png

Drill the Heatsink

20170408_131006.jpg

For fan, cable ties, and plastic cover (if needed).

Drill the Wood to Attach the Heatsink and the Battery

20170408_142756.jpg
20170408_141625.jpg

Glue the LEDs to the Heatsink With Epoxy

20170408_141640.jpg

Carve the LED Lens Holders

20170408_223716.jpg

Hot Glue the Optics to the LEDs

20170408_232513.jpg
20170408_232536.jpg

Make the Power Cable

20170409_154003.jpg

The power cable should allow convenient charging by connecting the DC plug, charging socket, and battery connectors in paralle.

Lamp With PCB, Battery, and Heatsink

20170408_232425.jpg
20170408_232626.jpg
20170408_232633.jpg
20170408_232749.jpg

Instructions

20170409_151119.jpg
20170409_151134.jpg
  • Always top up the battery and recharge it after using it for long life.
  • Blinking red means low power.
  • Three red blinks mean going to sleep.
  • Solid red means the battery indicator is off or battery voltage is higher than 14V.
  • Red LED off means the battery is between low and fully charged.
  • Enable the battery monitor when using a battery. Disable it when using an external power source.
  • Clicking the button cycles through the brightness levels.
  • Holding and releasing the button turns it on or off.
  • Only connect the battery, SLA charger, or the circuit board's DC socket the the power cable that you made.
  • To use an external power source, disconnect the battery from the DC socket of the circuit board, and connect the external source to the socket.

Possible Improvements

20170409_173636.jpg
20170409_173703.jpg
20170409_173650.jpg
  • To make it become a 3A LED driver, you can try using an IRF9540N which can handle more power instead of the AO3401, a 5A schottky diode instead of the 3A diode, a 4A inductor, and a higher power rating or lower resistance current sense resistors. With the current design, I couldn't drive set it to 1.5A without causing overheating, and 3A without destroying the AO3401.
  • Update the code for fan control if more cooling is needed.
  • If you want to use other battery chemistries such as NiMH, Li-ion or alkaline, you can update the code. I used SLA because it was used for my bike but now it's upgraded to Li-ion. The old battery can now be put to use.
  • Use a deep-cycle battery to allow a higher depth of discharge.
  • Use a higher capacity battery for a longer run time. The battery used was 4Ah.
  • Omit the LED lenses if wide angle is desired possibly in photography.
  • Use higher CRI LEDs for photography.
  • Add a hinge to allow aiming.
  • Add a carrying handle.