DIY Portable 12V Battery Charger From Laptop Batteries
by omars2 in Circuits > Electronics
84 Views, 0 Favorites, 0 Comments
DIY Portable 12V Battery Charger From Laptop Batteries
This project shows you how to reuse 18650 lithium-ion cells from old laptop batteries to create a cordless battery charger capable of reviving dead car batteries, motorcycle batteries, and even vintage 6V batteries. With adjustable voltage output from 0-30V and current limiting features, this is an essential tool for any electronics enthusiast or DIY mechanic. What You'll Build: A portable 3S lithium-ion battery pack (11.1V nominal) with a buck-boost converter, capable of outputting 14V for charging 12V batteries or adjustable voltages for various applications.
Difficulty Level: Intermediate
Time Required: 3-4 hours
Cost: Approximately $15-25 (using salvaged batteries)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Supplies
Electronic Components : 9x 18650 lithium-ion cells (salvaged from laptop batteries or new) 3S BMS (Battery Management System) with balance charging Buck-boost converter module (adjustable, minimum 3A output), 2A toggle switch, Female power connector (XT60 or similar), USB to 12V charging module (for recharging the pack), Heat shrink tubing, Battery charging cables with alligator clips.
Hardware and Consumables : 3D printed battery holder (3S configuration) , Wire (16-18 AWG for main connections), Zip ties, Hot glue gun with glue sticks, Solder and soldering flux, Electrical tape or insulation material.
Tools : Soldering iron (60W recommended), Wire stripper, Wire cutter, Multimeter, Clamp meter (for current measurement), Heat gun (for heat shrink)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Step-by-Step Instructions
Check Your Batteries (5 minutes)
What: Test each battery to make sure it's good
- Use your multimeter
- Good batteries show 3.0V to 4.2V
- Throw away any battery showing less than 2.5V or looking puffy/swollen
Why: Bad batteries can catch fire or blow up
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Arrange Batteries (10 Minutes)
Simple Version:
Think of it like organizing soldiers in a formation:
- Take 9 batteries
- Group 1: 3 batteries sitting side-by-side (like friends holding hands) = 3 in parallel
- Group 2: 3 more batteries side-by-side
- Group 3: 3 more batteries side-by-side
- Then connect these 3 groups one after another (like a chain)
Why this setup:
- 3 batteries side-by-side = more power, more capacity
- 3 groups in a chain = higher voltage
- Result: 11.1V (perfect for a car battery charger)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Solder the Battery Connections (30 Minutes)
What's soldering? Hot metal glue that connects wires to batteries
Steps:
- Cut wire into pieces
- Strip (remove plastic coating) from both ends - about the width of a pencil eraser
- Tin the wire (apply a tiny bit of hot metal to the bare copper)
- Use 2 wires to connect between batteries (this is safer - more like having 2 ropes instead of 1)
Connection Order:
- Positive side of Group 1 → Negative side of Group 2
- Positive side of Group 2 → Negative side of Group 3
- Connect the overall positive and negative terminals with 2 wires each
Important: Always check polarity (+ to - connection). Reversing this causes fires!
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Install the Protection Circuit (BMS) (20 Minutes)
What's BMS? A tiny circuit board that acts like a bouncer at a club:
- Stops overcharging (like saying "enough already!")
- Stops over-discharging (like saying "save some energy!")
- Stops short circuits (like jumping out of the way of a crash)
The BMS has 6 connection points:
Label : What it is
B-
Main negative (ground)
B1
Connection between Group 1 and Group 2
B2
Connection between Group 2 and Group 3
B+
Main positive
P+
Positive output to your devices
P-
Negative output to your devices
Connection Order (VERY IMPORTANT):
- First: Connect B2 (between groups 2-3) and solder
- Second: Connect B+ (main positive) and solder
- Third: Connect B1 (between groups 1-2) and solder
- Fourth: Connect B- (main negative) and solder
Why this order? If you connect them in the wrong order, you can fry the BMS. This specific order is safe.
After connecting:
- Your BMS should light up
- Use your multimeter to check that each group has the right voltage (around 4.2V each if fully charged)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Add Output Connector (5 Minutes)
What: This is like adding a charging port to your device
Steps:
- Take an XT60 connector (it looks like a 2-part puzzle)
- Red wire goes to P+ (positive output from BMS)
- Black wire goes to P- (negative output from BMS)
- Solder them securely
- Wrap with heat shrink tubing (like putting a safety coat on)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Install the Power Converter (20 Minutes)
What's a Buck-Boost Converter? A magic box that changes voltage:
- Input: 11.1V from your battery pack
- Output: Whatever voltage you set (5V, 6V, 9V, 12V, 14V, etc.)
It has two knobs (potentiometers) - like volume controls:
- Left knob: Controls the voltage (how much electrical push)
- Right knob: Controls the current limit (how much electrical flow)
Installation:
- Connect your battery pack to the green LED side (input)
- Leave the red LED side (output) for later
- Use 2 wires for safety
Simple Test:
- Turn it on
- You should see a number on the display (like 12V or so)
- Green light should turn on at the input
- If something smells bad or sparks, turn it off immediately!
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Set the Voltage and Current (10 Minutes)
Setting Voltage for Different Devices:
Device Voltage - Why
Car Battery
14V
Car batteries are 12V, but need 14V to charge
Motorcycle Battery (old 6V)
7V
Old bikes use 6V, need 7V to charge
Phone/USB
5V
Phone chargers use 5V
Effects Pedal
9V
Guitar effects boxes need 9V
Laptop
19V
Laptop chargers typically use 19V
How to Set:
- Connect multimeter to the output terminals
- Turn the voltage knob slowly (like adjusting a shower temperature)
- Clockwise = higher voltage
- Counter-clockwise = lower voltage
- Stop when multimeter shows your target voltage
- Mark it with a pen so you remember
Setting Current Limit (Protection):
What it does: Limits how fast electricity flows (like a water tap - prevents flooding)
Why it matters: Protects both:
- Your battery pack (prevents overheating)
- The device you're charging (prevents damage)
How to Set:
- Connect a 40W light bulb to the output as a test load
- Use clamp meter to measure current
- Turn the current knob to reduce current
- Recommended: Set to 1.5A or 2A for charging (slow and safe)
Test it:
- Light bulb should glow
- Current meter should show around 1-2A
- Nothing should get hot
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Prevent Heat Damage (5 Minutes)
What: The power converter gets warm. We need to protect your batteries.
Why: If converter heat transfers to batteries, they can get damaged or catch fire.
How to Fix:
- Cut a piece of plastic, rubber, or cardboard
- Place it like a blanket between converter and battery pack
- This stops heat transfer - like wearing an oven mitt
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Final Assembly (20 Minutes)
Battery Bundle:
- Place battery pack and converter with the heat barrier between them
- Secure with zip ties (like a hug to keep things together)
- Make sure no wires are bent sharply or pinched
Add On/Off Switch:
- Hot glue a toggle switch to the converter
- Wire it so turning it on/off controls the power
- This lets you save battery when not using it
Add Charging Cables:
- Take two charging cables with alligator clips
- Red cable → positive output terminal
- Black cable → negative output terminal
- Cover everything with heat shrink tubing (like putting on a safety suit)
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm
Testing (10 Minutes)
Before Plugging Into Anything:
- Make sure the alligator clips are not touching each other (this would cause a short circuit - like spilling water on electronics)
- Turn on the power switch
- Check that the display shows your set voltage (like 14V)
- Listen and smell - if you hear anything weird or smell burning plastic, turn it off!
Load Test:
- Connect a 40W light bulb to the output
- Bulb should light up nicely
- Check voltage and current on display
- Everything should stay cool to touch
Using Your Charger
Charging a Dead Car Battery
Dead battery symptoms:
- Won't start the engine
- Opens at like 11V (should be 12-13V)
Steps:
- Set output to 14V
- Clamp red alligator clip to positive terminal (usually marked with +)
- Clamp black clip to negative terminal (usually marked with -)
- Turn on switch
- Watch the multimeter voltage slowly climb
- After 4-6 hours, battery should be at 13V (revived!)
- Try starting the car
Result: Your dead battery works again!
Charging Old Motorcycle Batteries (6V)
Before charging:
- Open battery case
- Check water level inside (should cover the plates)
- Add distilled water if needed (not tap water!)
- Clean any green corrosion from terminals with a wire brush
Charging:
- Set output to 7V (one turn counter-clockwise from 14V setting)
- Connect clips - red to +, black to -
- Charge for 2-4 hours
- Should go from 2-3V to 6V
Using as a Bench Power Supply
Different Devices:
- USB Phone Charger: Set to 5V
- Guitar Effect Pedal: Set to 9V
- Car Accessory: Set to 12V
- Laptop: Set to 19V (if converter supports it)
Just adjust the knob and connect your device!
Safety Rules (SUPER IMPORTANT!)
Lithium Battery Safety
NEVER:
- ❌ Short circuit the terminals (don't let wires touch wrong way)
- ❌ Charge above 12.6V (your battery will catch fire)
- ❌ Discharge below 9V (damages battery permanently)
- ❌ Drop or bend the batteries (can puncture them)
- ❌ Leave near heat or in hot car
- ❌ Ignore the BMS (it's your safety net)
DO THIS:
- ✅ Stop immediately if battery feels hot (>60°C = hotter than hot water)
- ✅ Store in cool, dry place
- ✅ Recharge every 3 months even if not used
- ✅ Keep fire extinguisher nearby (especially Class D for lithium fires)
When Charging
NEVER:
- ❌ Leave charging batteries alone - stay nearby
- ❌ Charge in bedroom or inside a tent
- ❌ Charge under blanket or pillow
- ❌ Charge without current limiting
DO THIS:
- ✅ Charge in well-ventilated area (like garage with door open)
- ✅ On a non-flammable surface (like tile, not wood)
- ✅ Where you can see it
- ✅ Use current limiting (never more than 2A for beginners)
Electrical Safety
ALWAYS:
- ✅ Wear safety glasses
- ✅ Work in bright, clean area
- ✅ Check polarity (+ and -) twice before soldering
- ✅ Let soldering iron cool before putting it down
- ✅ Cover all exposed wires with heat shrink
NEVER:
- ❌ Work tired or distracted
- ❌ Solder near flammable materials
- ❌ Touch the hot soldering iron
- ❌ Leave iron plugged in when done
Troubleshooting
BMS Not Lighting Up
Possible causes:
- Wrong wire connected to wrong spot
- Bad solder joint (connection is loose)
- Battery cells are completely dead
How to fix:
- Check BMS wiring diagram again - follow the order we listed
- Heat up solder joints again - sometimes heat helps
- Test each battery with multimeter - recharge any below 3V
- Try plugging in and waiting 5 minutes - BMS might wake up
No Power Coming Out
Possible causes:
- Switch is OFF
- Loose wire somewhere
- Battery pack completely empty
- BMS protecting itself (shut down mode)
How to fix:
- Make sure switch is in ON position
- Gently wiggle all wire connections while watching for LED lights
- Recharge entire battery pack from wall outlet
- Try unplugging battery from BMS for 30 seconds, then reconnect
Wrong Voltage Coming Out
Possible causes:
- Potentiometer (knob) is in wrong position
- Converter broken
How to fix:
- Turn voltage knob while watching multimeter display
- Find the right number you want
- If knob doesn't change voltage, converter might be broken - test with different battery
Current Too High or Too Low
Possible causes:
- Current limiting knob not set right
- Not using proper test load
How to fix:
- Turn current limiting knob slowly
- Watch clamp meter for changes
- Set to 1-2A range
- If still wrong, use multimeter to measure current instead
Simple Performance Info
Battery Pack Specs:
- Voltage: 11.1V normally (12.6V when full)
- Can discharge: 3-6A safely
- Capacity: 6000-9000mAh (how long it lasts)
How Long It Runs:
- At 1A (slow): 6-9 hours
- At 2A (faster): 3-4.5 hours
- Charging a dead 35Ah car battery: 4-6 hours
Converter Efficiency: 85-92% (some energy becomes heat, which is normal)
Key Takeaways
✅ Most important: Always use the BMS - it's your safety net
✅ Always use current limiting - prevents damage and fires
✅ Check polarity twice - wrong connection = disaster
✅ Start with slow charging - faster = more danger
✅ Keep fire extinguisher nearby - just in case
✅ Never leave it charging unattended - stay nearby
Final Checklist Before Using
- All solder joints are solid (no loose wires)
- BMS LEDs light up when connected
- Voltage can be adjusted with potentiometer
- Current limiting set to 1-2A
- Thermal barrier is in place between converter and battery
- All wires are covered with heat shrink
- Switch works (on/off)
- No loose parts or wires
- Tested with 40W light bulb - worked fine
- Fire extinguisher nearby
- You've read the safety section
Once all checks pass - you're ready to charge!
Nextpcb: https://www.nextpcb.com?code=Mr.Electron DFM: https://www.nextpcb.com/dfm