IoT based Battery SoC (%) Monitoring System with ESP32

Published at : 23 Dec 2025

๐—ข๐—ฟ๐—ฑ๐—ฒ๐—ฟ ๐—ฃ๐—–๐—• ๐—ฎ๐˜ ๐Ÿญ$ ๐˜„๐—ถ๐˜๐—ต ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—ฆ๐—ต๐—ถ๐—ฝ๐—ฝ๐—ถ๐—ป๐—ด: https://www.allpcb.com/activity/one-dollar-campaign/?code=PT18

๐—”๐—ฏ๐—ผ๐˜‚๐˜ ๐—ง๐—ต๐—ถ๐˜€ ๐—ฉ๐—ถ๐—ฑ๐—ฒ๐—ผ:
In this project, we will learn how to build an IoT Based Battery SoC (%) Monitoring System using ESP32. The ESP32 module from Espressif is a powerful microcontroller with integrated Wi-Fi and Bluetooth, making it ideal for connected and battery-powered applications.

This project is based on a DIY ESP32 Battery Powered IoT Board with a built-in Battery Management and Charging System. The board can charge any single-cell Lithium-Ion or Lithium-Polymer battery using a BQ24092D charging IC, while a TPS63020 buck-boost converter provides a stable 3.3 V supply to the ESP32. A simple battery sensing circuit connected to the ESP32 ADC pin allows accurate measurement of the battery voltage, from which the State of Charge (SoC %) can be calculated.

Since the battery is the primary power source, constant monitoring is essential to prevent overcharging, deep discharging, or failure. The charging IC ensures safe charging with auto cut-off, while the ESP32 continuously measures the battery status. Unlike older systems where battery management was limited to LED indicators, the integration of IoT allows users to monitor the battery remotely from a ThingSpeak dashboard on a computer or smartphone.

๐—ž๐—ฒ๐˜† ๐—™๐—ฒ๐—ฎ๐˜๐˜‚๐—ฟ๐—ฒ๐˜€ ๐—ผ๐—ณ ๐˜๐—ต๐—ฒ ๐——๐—œ๐—ฌ ๐—˜๐—ฆ๐—ฃ๐Ÿฏ๐Ÿฎ ๐—•๐—ผ๐—ฎ๐—ฟ๐—ฑ:
1. TPS63020 buck-boost converter for stable 3.3 V operation
2. BQ24092D charging IC for safe USB charging and battery management
3. Voltage divider network for sensing and SoC calculation
4. Wi-Fi integration with ESP32 for real-time battery monitoring on ThingSpeak
5. Optional OLED display for local monitoring

๐—ฆ๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ ๐—–๐—ผ๐—ฑ๐—ฒ & ๐—ช๐—ฟ๐—ถ๐˜๐˜๐—ฒ๐—ป ๐—ง๐˜‚๐˜๐—ผ๐—ฟ๐—ถ๐—ฎ๐—น: https://how2electronics.com/iot-based-battery-soc-monitoring-system-with-esp32/

....................................................................................................................................................................................................................................

Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.

Website: https://how2electronics.com
Facebook: https://facebook.com/howtoelectronicsfb/
Instagram: https://instagram.com/howtoelectronics/
Twitter: https://twitter.com/how2electronics