|
Attiny13a |
x 1 | |
|
Capacitor 1206 0.1uF X7R |
x 1 | |
|
Resistor 0603 10K |
x 1 | |
|
Resistor 0603 100R |
x 1 | |
|
Resistor 0603 330R |
x 1 | |
|
Resistor 0603 51K |
x 1 | |
|
Mosfet Si2323 |
x 1 | |
|
Diode BAT60 |
x 1 | |
|
Resistor 0603 750K |
x 1 | |
|
Resistor 0603 220K |
x 1 |
TinyFL LED Driver
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.
TinyFL LED Driver

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(2)
- Likes(10)

- EngineerDec 01,20210 CommentsReply
-
Engineer Jan 08,2024
-
Engineer Jun 22,2023
-
leftdisconnected Jan 18,2023
-
Felix Taylor May 24,2022
-
Engineer Dec 01,2021
-
Lighthead Jun 11,2021
-
Engineer Oct 17,2020
-
Оганесян Роман Роберти Apr 29,2020
-
Matej Benci Aug 24,2019
-
Engineer Aug 23,2019
- 5 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10

-
8design
-
6usability
-
7creativity
-
8content

-
5design
-
4usability
-
6creativity
-
7content

-
10design
-
10usability
-
10creativity
-
10content

-
10design
-
10usability
-
10creativity
-
10content

-
1design
-
2usability
-
3creativity
-
4content
More by Vasily B
-
-
-
Modifying a Hotplate to a Reflow Solder Station
934 1 5 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
474 0 1 -
-
Nintendo 64DD Replacement Shell
406 0 2 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
1178 4 2 -
How to measure weight with Load Cell and HX711
725 0 3