How to Build a Portable Power Bank from Scratch

Step-by-step guide to build a DIY portable power bank with batteries, circuits & safety tips.


Portable power banks have become an essential gadget in our daily lives. Whether you’re traveling, working outdoors, or experiencing a power outage, a power bank ensures your devices stay charged. But did you know you can build your own power bank from scratch? Not only is it cost-effective, but it also helps you understand the fundamentals of battery technology, electronics, and circuit design.

This guide will walk you step by step through the process of building a portable power bank, complete with examples and FAQs.


🔋 What is a Power Bank?

A power bank is essentially a rechargeable battery pack equipped with circuits that:

  • Store electrical energy (using batteries)

  • Regulate output voltage (typically 5V for USB devices)

  • Provide charging ports to power external devices

In short: a power bank is just a battery + charging circuit + output regulator + casing.


🛠️ Components You’ll Need

Here’s a list of the essential parts:

  1. Lithium-ion or Lithium-Polymer (Li-Po) Batteries

    • Commonly 18650 lithium-ion cells (3.7V nominal, 2200–3500 mAh each).

    • The number of cells depends on the desired capacity.

    • Example: 4 × 2600 mAh cells = 10,400 mAh power bank.

  2. Battery Protection Board (BMS – Battery Management System)

    • Protects against overcharging, over-discharging, and short circuits.

  3. DC-DC Boost Converter (5V Output)

    • Converts the 3.7V battery voltage to 5V (USB standard).

    • Some modules also include a USB port directly.

  4. Charging Module (TP4056 Module)

    • Used to recharge the lithium battery via micro-USB or Type-C.

  5. Wires and Connectors

    • Thin, flexible wires for connecting modules.

  6. Switch (optional)

    • To manually turn on/off the output.

  7. Casing/Enclosure

    • To house all the components securely.


⚙️ Step-by-Step Process

Step 1: Decide Capacity & Design

  • Choose how much capacity you want.

  • Example: If you want ~10,000 mAh, use 4 × 2500 mAh 18650 cells in parallel.

  • Parallel connection increases capacity, not voltage.

Step 2: Connect Batteries to BMS

  • Solder the batteries in parallel (all positives together, all negatives together).

  • Connect to the BMS board so it can monitor charging/discharging.

Step 3: Add Charging Module

  • Connect the BMS output terminals to the TP4056 charging module.

  • This will let you charge the power bank using a USB input.

Step 4: Add Boost Converter

  • Connect the output of the battery pack to the DC-DC boost converter.

  • Adjust the converter to 5V output (check with a multimeter).

  • Connect a USB port at the output.

Step 5: Assemble in a Case

  • Place all components neatly inside a plastic or 3D-printed enclosure.

  • Add a switch if you want manual control.

Step 6: Test the Power Bank

  • Charge the battery fully using the input port.

  • Connect your phone or any USB device and verify charging.

  • Check voltage stability (must stay near 5V). 


🔌 Detailed Circuit Description with Pin Labels

  1. Battery Pack (3.7V Li-ion cells in parallel)

    • Positive terminal → B+ (BMS)

    • Negative terminal → B– (BMS)

  2. BMS (Battery Management System)

    • B+ and B– connected to battery pack.

    • P+ and P– are the output terminals → go to charging circuit (TP4056).

  3. TP4056 Charging Module

    • IN+ and IN– → connect to P+ and P– from BMS.

    • BAT+ and BAT– → connect to Boost Converter input (IN+ and IN–).

    • USB/micro-USB port on TP4056 → used to charge the battery pack.

  4. Boost Converter (3.7V → 5V)

    • IN+ and IN– → from TP4056 (BAT+ and BAT–).

    • OUT+ and OUT– → go to USB output port.

  5. USB Output Port

    • VCC (5V) → OUT+ from Boost Converter.

    • GND → OUT– from Boost Converter.


📐 Example Calculation

Suppose you use 3 × 2600 mAh cells in parallel:

  • Total capacity = 2600 × 3 = 7800 mAh (at 3.7V).

  • Energy = 3.7V × 7.8 Ah = 28.9 Wh.

  • After boosting to 5V (with ~85% efficiency):

    • Output capacity ≈ 28.9 ÷ 5 ÷ 0.85 = 6,800 mAh usable at 5V.

This means your custom-built power bank can charge a 3000 mAh smartphone ~2 times.


✅ Safety Precautions

  • Always use a BMS module – never connect Li-ion batteries directly.

  • Do not overcharge or over-discharge cells.

  • Avoid mixing old and new batteries.

  • Insulate connections properly to prevent short circuits.

  • Use a fireproof Li-ion safe case if possible.


❓ FAQs

Q1. Can I use old laptop batteries to build a power bank?
👉 Yes, but only if the cells are still healthy. Test each 18650 cell’s voltage and capacity before use.

Q2. Why is my power bank not giving full capacity?
👉 Because of conversion losses in the boost converter (typically 15–20%).

Q3. Can I make a fast-charging power bank?
👉 Yes, but you’ll need a boost converter and charging module that support QC 3.0 or PD (Power Delivery).

Q4. How do I calculate how many devices my power bank can charge?
👉 Divide the power bank’s usable capacity (mAh at 5V) by your device’s battery capacity.

Q5. Is it cheaper to build a power bank than buy one?
👉 It depends. If you already have 18650 cells (e.g., from an old laptop), building one is much cheaper. Otherwise, commercial ones may be more cost-effective.


🎯 Conclusion

Building a portable power bank from scratch is not only a fun DIY electronics project but also an excellent way to understand battery management and power conversion. With just a few components—batteries, charging modules, a boost converter, and a protective case—you can create a custom power bank tailored to your needs.


About the author

Prasun Barua
Prasun Barua is a graduate engineer in Electrical and Electronic Engineering with a passion for simplifying complex technical concepts for learners and professionals alike. He has authored numerous highly regarded books covering a wide range of elec…

Post a Comment