Building a 12V UPS for your router and modem ensures uninterrupted internet during the frequent power cuts that plague Indian cities and towns. Commercial mini-UPS units cost ₹1,500-4,000 with mediocre batteries that last 1-2 years. A DIY 12V UPS with quality 18650 cells costs ₹1,000-2,000, lasts 3-5 years, and provides 4-8 hours of backup. This guide covers complete build instructions with a battery-powered router backup system.
Why Build a 12V UPS?
Most home routers and fibre modems run on 12V DC (occasionally 9V or 5V). During a power cut, the standard UPS inverter (230V AC → 12V DC adapter → router) wastes 30-40% of battery energy in double conversion. A 12V DC UPS eliminates both conversion steps, powering the router directly from battery at 90%+ efficiency.
Typical router power consumption:
- Basic WiFi router: 5-10W
- Dual-band WiFi 6 router: 10-15W
- Fibre ONT/modem: 5-8W
- Router + ONT total: 12-25W
A 3S 18650 pack (11.1V, boosted to 12V) with 4400mAh (2P) provides: 11.1V x 4.4Ah = 48.8Wh. At 15W total load: 48.8 / 15 = 3.25 hours. Use 3S4P (8800mAh) for 6.5 hours.
System Design and Sizing
Option A: 3S 18650 pack with boost to 12V
Battery: 3S2P (6 cells) = 11.1V, 4400mAh = 48.8Wh
Boost converter: 11.1V → 12.0V (MT3608 or similar)
Charger: 3S BMS + CC/CV charger from 12V adapter
Runtime: ~3 hours at 15W
Option B: 4S 18650 pack with buck to 12V
Battery: 4S2P (8 cells) = 14.8V, 4400mAh = 65.1Wh
Buck converter: 14.8V → 12.0V (LM2596 module)
Charger: 4S BMS + CC/CV charger from 16.8V adapter
Runtime: ~4 hours at 15W
Option C: 12V LiFePO4 (4S)
Battery: 4S LiFePO4 (commercially available 6Ah)
Direct connection (12.8V nominal -- close enough to 12V)
No converter needed for most routers
Runtime: 12.8V x 6Ah / 15W = 5.1 hours
Charger and Switchover Circuit
Power path design:
12V Adapter → Diode (SS34) → Router (+)
↑
Battery → Boost/Buck → Diode (SS34) → Router (+)
When adapter present: Adapter powers router (higher voltage wins)
When adapter absent: Battery takes over seamlessly
Simultaneously: Adapter charges battery through BMS
For zero-interrupt switchover:
Use Schottky diodes (0.3V drop) or MOSFET ideal diode circuit
Router sees constant 12V regardless of source
Battery Selection for Router UPS
Recommended cells for Indian router UPS builds:
- Samsung 25R (2500mAh, 20A): Overkill on current but excellent cycle life. ₹200-300 per cell.
- Generic 18650 (2200mAh, 5A): Adequate for 15W router load. ₹100-150 per cell.
- 21700 cells (4000-5000mAh): More capacity per cell, fewer cells needed. ₹300-500 per cell.
Step-by-Step Build Guide
- Grade and match 6 cells (3S2P configuration)
- Spot-weld nickel strips to create 3 parallel pairs
- Connect pairs in series with nickel strips and insulation between groups
- Attach 3S BMS board with balance wires
- Add DC-DC boost module (set to 12.0V output)
- Wire power path with Schottky diodes
- Wrap pack in heat shrink, add 5.5mm barrel jack output
- Connect to router and test switchover
FAQ
Will the UPS damage my router?
No, if the output voltage is regulated to 12.0V +/-0.5V. Most routers accept 11-13V on their 12V input. Use a regulated DC-DC converter, not raw battery voltage, to ensure stability.
How long will the battery last before needing replacement?
Quality 18650 cells with proper BMS protection last 3-5 years with daily cycling (500-1000 cycles at 80% DoD). Replace when backup time drops below 50% of original. Monitor actual runtime every 3-6 months.
Can I power both router and CCTV cameras from the same UPS?
Yes, but size the battery accordingly. Add each camera’s power consumption (typically 5-12W) to the total. A 4-camera + router system might draw 50-70W, requiring a 4S4P or larger pack for 2+ hours of backup.
Add comment