Header Ads

Header ADS

🔋 How to Make a Simple DIY Wi-Fi Router UPS at Home | Step-by-Step Guide with Circuit & PCB

 🔋 How to Make a Simple DIY Wi-Fi Router UPS at Home | Step-by-Step Guide with Circuit & PCB

$5 10pcs 1-2 layer PCB Order from PCBWay: https://www.pcbway.com/?from=technology4power

Do you lose internet connection every time the power goes out?

If yes, then this simple DIY Wi-Fi Router UPS project is just what you need!

This small backup power system automatically switches to battery power during a power cut, keeping your Wi-Fi router or modem running without interruption.
It’s easy to build, affordable, and super useful for every home.


🧠 What is a Wi-Fi Router UPS?

A Wi-Fi Router UPS (Uninterruptible Power Supply) provides backup power to your router when electricity fails.
It seamlessly switches between adapter power and battery power using a smart MOSFET circuit.

This design provides 12V, 9V, and 5V outputs, making it compatible with all types of routers and modems.



⚙️ Components Required

Here’s the complete list of components you’ll need for this project:

  1. 1 × DC Power Jack (DC-072-165A) – for input

  2. 1 × DC Power Jack (DC-072-165A) – for output

  3. 1 × Diode 1N5408 – reverse polarity protection

  4. 1 × Diode FR508 – power isolation

  5. 2 × Diode 1N5822 – Schottky diodes for battery switching

  6. 1 × MOSFET IRF9540 – P-channel for automatic switching

  7. 1 × Resistor 1KΩ – gate resistor for MOSFET

  8. 1 × Voltage Regulator LM7809 – for 9V output

  9. 1 × Voltage Regulator LM7805 – for 5V output

  10. 4 × Capacitor 10µF – for voltage filtering

  11. 1 × 18650 Li-ion Battery (with BMS) – power backup

  12. 1 × PCB Board – for circuit assembly


📘 Circuit Diagram Explanation

$5 10pcs 1-2 layer PCB Order from PCBWay: https://www.pcbway.com/?from=technology4power


This schematic shows the automatic UPS switching circuit for your Wi-Fi router.
Here’s how it works step by step:

  1. Normal Mode (Adapter ON):
    The 12V adapter supplies power directly to the router and charges the battery simultaneously.
    The MOSFET (Q1) remains off, isolating the battery from the output.

  2. Power Cut Mode (Adapter OFF):
    When the adapter is disconnected, the MOSFET turns on automatically.
    The battery output instantly takes over and keeps the router running without interruption.

  3. Voltage Regulation:
    The LM7809 and LM7805 ICs provide stable 9V and 5V outputs for routers or USB modems needing lower voltages.



🧩 PCB Layout Design



🖋 PCB Design (Top View)


The PCB layout is compact and well-labeled.
It includes three separate outputs — 12V, 9V, and 5V — to support various router models.

🔍 PCB Routing and Traces


$5 10pcs 1-2 layer PCB Order from PCBWay: https://www.pcbway.com/?from=technology4power


The red traces represent the VCC layer, and the blue traces represent GND connections.
The routing ensures smooth power flow with minimal interference.


🛠 Step-by-Step Assembly Guide

  1. Solder the diodes (D1–D4) as per the circuit diagram.

  2. Place and solder the MOSFET (IRF9540) with a small heatsink if possible.

  3. Add the resistor (R2 – 1KΩ) to the MOSFET gate.

  4. Install the LM7809 and LM7805 voltage regulators for 9V and 5V outputs.

  5. Solder all capacitors (10µF) to stabilize the voltage.

  6. Attach the DC jacks for power input, battery, and output ports.

  7. Connect the 18650 battery with a BMS module for protection.

  8. Double-check polarity before powering on the circuit.


Output Testing (line by line)

$5 10pcs 1-2 layer PCB Order from PCBWay: https://www.pcbway.com/?from=technology4power


  1. 12V output — expected: ~12.0V — use: standard 12V routers.

  2. 9V output — expected: ~9.0V — use: routers that require 9V.

  3. 5V output — expected: ~5.0V — use: USB Wi-Fi dongles or modems.

  4. Multimeter check — step 1: set meter to DC volts and measure at each output jack with adapter ON.

  5. Multimeter check — step 2: record voltages at 12V, 9V, and 5V outputs; they should be within ±0.2V of nominal.

  6. Load test — step 1: connect the actual router (or a dummy load resistor sized for the router current) to the 12V output.

  7. Load test — step 2: verify the router powers up and runs stably for several minutes with the adapter ON.

  8. Switch-over test — step 1: while the router is running on adapter power, unplug the adapter to simulate power loss.

  9. Switch-over test — step 2: confirm the router stays powered and the battery takes over instantly (no reboot).

  10. Battery runtime test — step 1: with adapter OFF, run the router from battery and measure how long it lasts; note the runtime and battery voltage drop.

  11. Regulator heat check — step: after a 30–60 minute load test, carefully feel LM7809/LM7805 and MOSFET heat; add heatsinks if too hot.

  12. Diode drop check — step: measure voltage before and after Schottky diodes (D3/D4); expect small drop (~0.2–0.5V).

  13. Safety check — step: confirm BMS is present and battery temperature stays normal during discharge/charge.

  14. Final verification — step: reconnect adapter and ensure battery recharges and system returns to normal adapter-powered state.



🧾 Advantages of This DIY Wi-Fi Router UPS

  1. 🔋 Provides uninterrupted internet connection during power cuts

  2. 💡 Uses simple and affordable components

  3. 🔌 Offers multiple voltage outputs (12V, 9V, 5V)

  4. 🔥 Prevents router restarts during short power outages

  5. 🧠 Perfect for beginners and hobbyists


🧰 Applications

  1. Wi-Fi Routers and Modems

  2. CCTV Cameras

  3. Raspberry Pi and IoT devices

  4. Any small DC-powered gadget


🧠 Pro Tips



  1. Use a high-capacity 18650 battery (2200mAh or more) for longer backup time.

  2. Always include a Battery Management System (BMS) for safety.

  3. Add heatsinks to voltage regulators if your router draws high current.

  4. You can enclose the PCB in a 3D-printed or plastic case for a professional look.


🧩 Conclusion
$5 10pcs 1-2 layer PCB Order from PCBWay: https://www.pcbway.com/?from=technology4power

Building your own DIY Wi-Fi Router UPS is an easy and rewarding project.
It ensures your internet stays connected during power cuts, keeps your router safe, and can even power multiple devices at different voltages.

No comments

Theme images by Bim. Powered by Blogger.