12 V battery from three 18650s: 3S BMS, USB-C laptop-charger charging, capacity meter, 12 V and USB outputs
A rechargeable 12 V pack with a fuel gauge, charged from any 65 W USB-C charger. Three 18650 cells in series make 10.8–12.6 V. A 3S BMS board protects them (over-charge, over-discharge, short circuit). To charge, a USB-C PD trigger board asks a laptop charger for 15 V and a CC/CV buck module (XL4015) turns that into 12.6 V at 1 A, exactly what a 3S pack needs. A panel meter set to 3S Li-ion (L3) shows how full it is, a 12 V socket runs a router or LED strip, and a USB step-down gives 5 V for a phone. Set the buck to 12.6 V and 1 A with nothing connected before you wire the pack.

Build it in the labGuided build, test sheet and fault finding, free in your browser.
Parts list
- USB-C PD charger
- USB-C PD trigger + meter
- CC/CV buck module
- 3S BMS
- 3 × 18650 Li-ion cell
- Battery capacity indicator
- 12 V DC LED bulb
- USB step-down module
- Fuse
Test procedure
Each test has an expected value and a pass range, like a factory test sheet:
- Charger plugged in: charge current
- On battery: 12 V output
- On battery: USB output
- Full pack stops at 12.6 V
How it works
What it does: A rechargeable 12 V pack with a fuel gauge, charged from any 65 W 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
This is the inside of most “12 V portable battery” products: three cells, a BMS, and a charger board.
More builds: module builds
- Solar floodlight, the module way: LiFePO4 charger board, BMS, LED board and a panel-sensed dusk switch
- Wi-Fi router mini UPS: TP5000 charger, 1S BMS, four 18650s and a TPS61088 boost set to 12 V
- Run 12 V things from a USB-C charger: PD trigger board, watt meter, 12 V lamp and a USB step-down
- Bright LED panel on a 12 V LiFePO4 battery: low-voltage cut-off, CC/CV buck at 3 A, LED board
- Brownout fan: USB-C charger board, one 21700 cell, a 5 V boost module and a DC fan