12 V solar lantern and power box in an enclosure: two 32700 LiFePO4 cells, USB-C and solar charging, 12 V and USB outputs
A rechargeable 12 V light and phone charger that fills from USB-C or the sun: about 3 hours of a 9 W bulb. A complete product, laid out the way it sits in a 300 × 200 mm IP54 box. Two 32700 LiFePO4 cells in series (6.4 V, 6 Ah, about 38 Wh) lie on the floor with a 2S BMS above them. Two ways to charge, both into the BMS P+/P−: a USB-C 2S charger board on the left wall (any phone charger, 1 A) and a solar jack feeding an MPPT solar charge board (CN3791-type) set to 7.3 V and 1.5 A, which holds a 20 W “12 V” panel at its best voltage. Out through a 5 A fuse and the front switch, an XL6009 boosts the pack to 12 V for a 12 V bulb on the right-hand jack and a USB-A port for a phone. Set both charger boards to 7.3 V (LiFePO4) before the cells go in; set the XL6009 to 12 V with nothing connected.

Build it in the labGuided build, test sheet and fault finding, free in your browser.
Parts list
- Project enclosure
- USB-C PD charger
- Solar panel
- 12 V DC LED bulb
- Smartphone
- USB-C 2S charger board
- 2 × DC barrel jack
- Solar charge board (MPPT)
- 2 × LiFePO4 cell
- 2S LiFePO4 BMS
- Fuse
- Toggle switch
- XL6009 buck-boost module
- USB step-down module
Test procedure
Each test has an expected value and a pass range, like a factory test sheet:
- USB-C only: charge current
- Sun only: charge current into the pack
- On battery: 12 V at the bulb
- On battery: USB port
- Full pack: charging stops at LiFePO4 full
How it works
What it does: A rechargeable 12 V light and phone charger that fills from USB-C or the sun: about 3 hours of a 9 W bulb.
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
The “solar generator” lanterns sold online are this inside, often with half the cells the label claims. Building it yourself, you choose honest cells and a BMS.
More builds: everyday gadgets
- Rechargeable flashlight: 21700 cell, USB-C TP4056, clicky switch, 2.8 A driver and a 10 W LED
- 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