Wi-Fi Router with AC and Battery Power

This article describes work around a compact networking device built on an ESP32 (ESP32-D0WDQ6-V3), focused on Wi-Fi connectivity, packet routing, and power management.

The firmware configures the ESP32 to operate with multiple Wi-Fi roles (e.g., uplink + local access), handling link monitoring, reconnection logic, and basic system supervision (watchdog, status reporting).

Power design supports mains operation (230 VAC) through an AC-DC stage, with an integrated Li-Ion backup battery for continuity during interruptions. A battery management section handles safe charging, protection, and voltage monitoring to prevent undervoltage operation and ensure predictable behavior when switching between power sources.

Overall, the work combines Wi-Fi routing, reliability-focused firmware, and dual-source power management in a small standalone platform.

Leave a Comment