Rechargeable flashlight: 21700 cell, USB-C TP4056, clicky switch, 2.8 A driver and a 10 W LED
A 950-lumen torch with four modes, charged from any USB-C charger. What is inside a good rechargeable flashlight. One 21700 cell (5 Ah) is charged by a USB-C TP4056 board, which also cuts it off at 2.5 V. The tail switch feeds a constant-current driver (eight 350 mA regulator chips in parallel, 2.8 A) that holds the LED at the same brightness from a full to a half-empty cell, then, as the cell empties, falls into direct drive (it can no longer hold 2.8 A, so the light dims) and steps down to low below 3.0 V. The 10 W LED sits on an aluminium star pressed against the metal head: at 2.8 A it makes about 950 lumens and nine watts of heat, so the body is the heatsink. Click the driver board to step through high, medium, low and strobe.

Build it in the labGuided build, test sheet and fault finding, free in your browser.
Parts list
- USB-C PD charger
- TP4056 charger module
- 21700 Li-ion cell
- Toggle switch
- Flashlight driver board
- High-power LED (star)
Test procedure
Each test has an expected value and a pass range, like a factory test sheet:
- High: LED current
- Low: LED current
- Switch off, plugged in: charge current
- Nearly flat cell: out of regulation, dimmer
How it works
What it does: A 950-lumen torch with four modes, charged from any USB-C charger.
Build it (guided or ready-made), then run its test procedure below. Every test has an expected value and a pass range, just like a factory test sheet.
Background
Linear AMC7135 drivers and XM-L class LEDs have been the heart of hobby flashlights since about 2011.
More builds: everyday gadgets
- 12 V solar lantern and power box in an enclosure: two 32700 LiFePO4 cells, USB-C and solar charging, 12 V and USB outputs
- Rechargeable 12 V bulb on two 32700 LiFePO4 cells: 2S BMS, USB-C 2S charger and a 12 V boost
- DIY battery spot welder: 12 V battery, MOSFET control board, 8 AWG probes and nickel strip
- Handheld fan on one 18650 cell: USB-C TP4056, switch and a 3.7 V fan motor
- Quiet 12 V cooling fans from a USB-C phone charger: PD trigger board and two 120 mm fans
- 24 V truck or boat cabin: 12 V for a fan and a lamp, USB for a phone, and a 24 V fan, from a 24 V battery