PbMonitor: Smart Battery Monitor for UPS and Energy Storage
Extend your UPS and solar battery life! PbMonitor shows real-time voltage, current, and temperature per battery — built with ESP32-C3 and MQTT for Home Assistant integration.
Why I Built PbMonitor
12-V lead-acid batteries in series
Key Features of PbMonitor
- Accurate Voltage Monitoring: Precision resistor dividers + 10-bit MCP3008 ADC.
- Reliable Current Sensing: ACS72981 Hall-effect sensor for real bidirectional current measurement.
- Thermal Safety: Fast-reacting thermistors for battery and ambient temperature monitoring.
- Compact, Practical PCB: Small 53.5 × 36 mm layout with clear labeling and JST connectors.
- Smart Home Integration: Seamless MQTT communication with Home Assistant dashboards.
How It Performs
What's Next for PbMonitor?
- Noise Filtering: Smooth out current readings for even more stable monitoring.
- Data Logging: Add SD card and RTC modules for long-term charge/discharge tracking.
- Enhanced Display: Web server interface for setups without Home Assistant access.
- Hardware Improvements: Stronger PCB mounting, additional thermistors, and predictive battery health analytics
Want to build your own smart battery monitoring system?
Find the full step-by-step article with code, schematics, and in-depth engineering discussion in Elektor May/June 2025 (Article ID: 240704-01).

Discussion (1 commentaire(s))