Raspberry Pi Pico Contest - Share Project to Get a New One for Free Call for pcb design tutorials - Learn the basics of PCBs and the information needed to get started designing your first PCB
VOTE NOW!
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Design 1/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Usability 2/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Creativity 3/4
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Content 4/4

What's this?

This is DIY driver for flashlights with brigh LEDs, such as CREE XM-L, XP-G and others.

It is created as replacement for default LED driver in your headlamp.


Driver firmware is open-source, so you can modify it on your own anytime.

Even without programming skills you can set up all working parameters just by editing definitions in .h file.

Or you can flash .hex file with default parameters.

For firmware upload you will need Arduino or any ISP programmer, such as USBASP.


Benefits:


- ON/OFF with single button click (tact switch button). This was a main reason why i made this project.

- Working voltage: 2.3V - 5.5V, 4A maximum current (with SI2323 mosfet).

- Extremely low power consumption at moonlight mode: only 5mA with XM-L led. With standart 18650 cell it will beam more than 20 days.

- Stepless brightness adjustment with gamma-correction, from moonlight to turbo. Brightness level is remembered for the time of shutdown.

- Battery voltage control with power-off when battery is discharged.

- Two additional modes - emergency beacon and strobe. Additional led for backlighting.

- Reverse polarity protection and ESD protection.


Also, this driver is wery compact (25 х 12.5 mm / 1 x 1/2 inches), so it can be installed in many headlamps or other devices.


Partlist contains 10 required components (Attiny13, mosfet, resistors, diode and capacitor) and 5 additional (ESD protection diodes and smd led).


All source code and documentation can be found on github.

Bill of materials used in this project

Attiny13a
1
Capacitor 1206 0.1uF X7R
1
Resistor 0603 10K
1
Resistor 0603 100R
1
Resistor 0603 330R
1
Resistor 0603 51K
1
Mosfet Si2323
1
Diode BAT60
1
Resistor 0603 750K
1
Resistor 0603 220K
1
Aug 21,2019
1,741 viewsReport item
  • Comments(0)
  • Likes(4)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
    View More
    VOTING 5 votes
    • Engineer from
      • 8
        design
      • 6
        usability
      • 7
        creativity
      • 8
        content
      7.25
    • Engineer from
      • 5
        design
      • 4
        usability
      • 6
        creativity
      • 7
        content
      5.50
    • Engineer from
      • 10
        design
      • 10
        usability
      • 10
        creativity
      • 10
        content
      10.00
    • UNIVERSE from UKRAINE
      • 10
        design
      • 10
        usability
      • 10
        creativity
      • 10
        content
      10.00
    • Engineer from
      • 1
        design
      • 2
        usability
      • 3
        creativity
      • 4
        content
      2.50