Build a solar power bank for your phone
Store the sun in 18650 cells by day and charge your phone at night. A small 6 V solar panel feeds a charging board, the cells hold the energy, and a boost board makes 5 V for USB. Enter how much you want to charge: the calculator sizes the panel and the cells.
New to electronics? The words used on this page
- 18650
- A common lithium cell, a bit bigger than an AA battery, 3.6 to 3.7 V.
- TP4056
- A small, cheap board that charges one lithium cell from a USB charger.
- Multimeter
- A hand-held meter that measures voltage. Use it to check before you connect anything.
- Step-down (buck) board
- A small board that lowers a voltage, for example 12 V down to 5 V.
- Step-up (boost) board
- A small board that raises a voltage, for example 3.7 V up to 5 V.
- Ah, mAh
- How much a battery holds. 1 Ah = 1,000 mAh. Multiply Ah by volts to get watt-hours (Wh).
Which way is for you?
ASolar power bank with 18650 cells
Charges by day, gives USB at night. Works through clouds. Soldering · 1–2 hours
You will need
- 6 V solar panelWatts from the calculatorView on Amazon
- 1N5819 diodeStops the cells leaking back into the panel at nightView on Amazon
- Charging boardTP4056 for panels up to about 6 W; CN3791 solar charger board for bigger onesView on Amazon
- 18650 lithium cells and a holder3.7 V cells. Buy cells from a battery shop; the holder snaps them in without solderingView on Amazon
- 5 V USB boost boardMakes 5 V USB from the cellsView on Amazon
- On/off switchA small rocker or slide switchView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Soldering iron, multimeter, drill or file for the box.
Step by step
- 1
Solder the diode in the panel's + wire (stripe towards the charging board).
- 2
Connect the panel to the charging board's IN+ and IN− (the solder pads next to the USB socket).
Check: panel + to IN+.
- 3
Wire the cell holder to B+ and B−.
- 4
Wire OUT+ through the switch to the boost board's IN+, and OUT− to IN−.
- 5
Switch on and check the USB socket with a meter: about 5 V.
- 6
Mount it all in a box, face the panel at the sun, and charge your phone from the USB socket in the evening.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| Panel + | Diode (stripe towards the board) | Red | |
| Diode | Charging board IN+ | Red | |
| Panel − | Charging board IN− | Black | |
| Cell holder + | Charging board B+ | Red | |
| Cell holder − | Charging board B− | Black | |
| Charging board OUT+ | Switch, then boost board IN+ | Red | |
| Charging board OUT− | Boost board IN− | Black |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
BPanel straight to USB (no battery)
Simplest build: a bigger 12–18 V panel and a 5 V step-down board. Only works in sun. Soldering · 30 minutes
You will need
- 12–18 V solar panelWatts from the calculator (way B)View on Amazon
- 12–24 V to 5 V USB step-down boardMakes steady 5 V USB from the panelView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Wire stripper, screwdriver, multimeter.
Step by step
- 1
Connect the panel's + and − to the step-down board's IN+ and IN−.
- 2
In the sun, check the USB output with the meter: about 5 V.
- 3
Plug in a power bank or phone. Turn the panel towards the sun every hour or two.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| Panel + | Step-down board IN+ | Red | |
| Panel − | Step-down board IN− | Black |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
Size your build
Panel watts, charging board and how many 18650 cells.
How this is calculated
- Method
- Energy the phone stores per day = mAh × 3.85 V × charges a day. The cells must receive that ÷ 85% (USB boost board) ÷ 80% (charging and cell losses). Panel W = that ÷ (sun hours × 60%), rounded up to a common size (3, 5, 6, 10, 15, 20, 30 W). With the defaults: 4,500 mAh × 3.85 V = 17.3 Wh; 17.3 ÷ 0.85 ÷ 0.8 = 25.5 Wh; 25.5 ÷ (4 h × 0.6) = 10.6 W, so a 15 W panel.
- Assumptions
- Panel derating: a small panel gives about 60% of its label in real sun, because the label is measured at 1,000 W/m² and 25 °C while real panels run hotter, at an angle, through haze and dust. Charging current from a 6 V panel ≈ W × 60% ÷ 6 V. The charging board sets its own current limit (TP4056 up to 1 A, CN3791 up to 2 A), so extra panel power is not forced into the cells. 18650 cells of 2,600 mAh, 90% usable.
- Sources
- Panel test conditions (STC) and temperature derating from small-panel datasheets; TP4056 and CN3791 datasheets.
Stay safe
- Keep phones and cells in the shade: heat harms batteries.
- Use a charging board with protection for lithium cells.
- Small panels are splash-resistant at best: keep the boards dry.
- Use a TP4056 board with protection (the version with the DW01 chip and two outputs, OUT+ and OUT−), or a proper BMS for packs.
- Buy cells from a known brand and seller. Fake cells often hold a fraction of the label and can lack protection.
- Do not leave lithium cells charging unattended, and charge them on a non-flammable surface.
- Never use a swollen, dented or leaking cell. Recycle it.
- Put a fuse close to the battery's + terminal.
- While soldering or spot-welding, keep the cell ends covered so nothing can short them.
- Low-voltage DC only. Never connect any part of these builds to mains power.
Questions people ask
Why a diode?
At night the panel's voltage drops to zero and a little current can leak back from the charging board into it. The Schottky diode blocks that and loses only about 0.3 V.
Why does a 6 W panel give only about 3–4 W?
Ratings are measured in ideal light. Heat, angle and haze cut real output to roughly half or two thirds.
TP4056 or CN3791?
TP4056 charges at up to 1 A and suits panels up to about 6 W. The CN3791 is made for solar, tracks the panel's best voltage and handles more current.
Can I charge a laptop?
Not with this size. For laptops see the solar and power-station tools.
Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.