DIY 18650 power bank
Build your own USB power bank and learn how lithium charging works.
Shop by category
Shop all componentsThe LM317 keeps 1.25 V between its OUT and ADJ pins; a resistor divider sets how many times that appears at the output. With 470 Ω and a 10 kΩ pot you can dial anything from 1.25 V to about 10 V, up to 1 A with a heatsink.
The regulator gets hot at higher currents: fit a heatsink and keep fingers off it.
Tick anything you already have and the total updates.
Follow the colours: red is power, dark grey is ground, blue is a signal.
10 parts: Adjustable Voltage Regulator (LM317), 16mm Rotary Potentiometer 10kΩ (Linear), Resistor Assortment Kit (30 Values), Electrolytic Capacitor, Ceramic Disc Capacitor, DC Barrel Jack 5.5x2.1mm, PCB Screw Terminal Block 5.08mm (Pack of 5), DC Power Adapter 12V 2A (5.5x2.1mm), Solderless Breadboard (830 points) and Dupont Jumper Wires (40 pcs). Tools: Digital Multimeter and Soldering Station. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 1–2 hours. The build on this page has 5 steps.
No. It is a hardware circuit with no microcontroller and no code. Build it on a breadboard from the wiring table and steps on this page.
About ₹422 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.
Linear voltage regulators (LM317); Setting a voltage with two resistors; Heat and dropout in linear supplies.
The regulator gets hot at higher currents: fit a heatsink and keep fingers off it.
Ideas that reuse this build: DIY power bank. They are listed under Take it further on this page.
Build your own USB power bank and learn how lithium charging works.
Free power for outdoor sensors: sunlight in, 5 V USB out.
Beeps when the mains goes off at night, so the fridge and the alarm clock do not quietly die.
Touch the probes to any battery up to 50 V and read its voltage in big digits.
Learning project. Check every circuit and the datasheet of each part before you power it up.