Mini-UPS monitor for the router

Watches the battery of a 12 V mini-UPS that powers the router, shows its voltage, load and estimated runtime, and warns before it runs flat.

Power & batteries Board: ESP32-C3 SuperMini Level: ●○○ ⏱ 1–2 h

⚠ Caution

Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.

Measure the mini-UPS without opening it

Small 12 V DC UPS boxes for routers are popular, and their weak point is the battery: the label capacity is often optimistic, and the cells age. The easiest honest way to learn the truth is to measure the output. Put an INA219 in line between the UPS and the router, and the ESP32 sees the voltage and the current of the real load without touching the inside of the box.

What you get from it

During an outage the node integrates the energy that the router consumed from the moment the mains disappeared. After one or two real outages you know how many watt-hours the box actually delivers, and the runtime estimate becomes a measured number instead of a guess from the sticker.

  • Power the ESP32 from the UPS output through a small buck converter, so it stays alive exactly as long as the router does.
  • Warn when the output voltage sags under load toward the cut-off of the box; many models switch off around 9 to 10 V.
  • A swollen or hot battery is a reason to stop using it. No sensor replaces looking at it.
  • Keep the fuse in the supply line; short circuits in a DC circuit are not forgiving.

Components

  • ESP32-C3 SuperMini
  • INA219 current/voltage sensor module
  • Mini DC UPS 12 V for router / ONU
  • Inline fuse holder + fuses
  • Dupont jumper wires (M-F, M-M)

What you need

Buy the parts kit · Estimated total: $25.50

ESP32-C3 SuperMini × 1
$2.50
Buy at AliExpress Buy at Amazon.com
INA219 current/voltage sensor module × 1
$2.00
Buy at AliExpress Buy at Amazon.com
Mini DC UPS 12 V for router / ONU × 1
$18.00
Buy at AliExpress Buy at Amazon.com
Inline fuse holder + fuses × 1
$1.50
Buy at AliExpress Buy at Amazon.com
Dupont jumper wires (M-F, M-M) × 1
$1.50
Buy at AliExpress Buy at Amazon.com
🇺🇦 Ukraine🌍 Other countries

Ukraine: we buy and sell these parts ourselves, order them on this site.

Some links are affiliate links: we may earn a commission at no extra cost to you.

Related ideas

⚠ Caution

Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.

Battery voltage via divider

Measures the voltage of a Li-ion / LiFePO4 / 12 V battery through a resistor divider and sleeps to save power.

  • Board ESP32-C3 SuperMini
  • Level ●○○ Beginner
  • Build time 1 h
Pick parts / kit

Quiet cooling for the inverter cabinet

Runs the cabinet fan only as fast as the temperature needs, reports overheating and warns if the fan stops, so the inverter and the battery stay cool and quiet.

  • Board ESP32-C3 SuperMini
  • Level ●○○ Beginner
  • Build time 1–2 h
Pick parts / kit
⚠ Caution

Batteries: watch polarity, use protected cells and a charger with protection, never charge damaged cells unattended.

Car and generator starter battery watch

Wakes rarely, measures the 12 V battery at rest and warns before it is too flat to start the engine, with almost no drain of its own.

  • Board ESP32-C3 SuperMini
  • Level ●●○ Intermediate
  • Build time 1–2 h
Pick parts / kit

← All module ideas →

Comments

No comments yet. Share your experience or ask a question.

Comments are moderated.