M5Hat_18650C

Arduino library for M5Stack 18650C Battery Hat — I2C battery monitoring via INA226 (voltage/current/power) and AW32257FCR charger.

Author
M5Stack
Website
https://github.com/m5stack/M5Hat-18650C
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
esp32, esp32s3

Drives the two I2C chips on the HAT 18650C V1.1: TI INA226 16-bit voltage/current/power monitor (0x41, 10mR shunt) and AW32257FCR Li-Ion switch-mode charger (0x6A). Provides battery voltage, charge/discharge current, power, SOC, charge state (Ready/Charging/Done/Fault), and configurable charge parameters.

Downloads

Filename Release Date File Size
M5Hat_18650C-0.0.1.zip 2026-06-23 9.58 KiB