Adafruit MAX17048 Shield
Overview
The Adafruit MAX17048 Fuel Gauge Shield features an Analog Devices MAX17048 Fuel Gauge and two STEMMA QT connectors. It measures voltage and state-of-charge of a lithium ion or lithium polymer cell.
Requirements
This shield can be used with boards which provide an I2C connector, for example STEMMA QT
or Qwiic connectors. The target board must define a zephyr_i2c node label.
See Shields for more details.
Pin Assignments
Shield Pin |
Function |
|---|---|
SCL |
I2C SCL |
SDA |
I2C SDA |
INT |
Interrupt output |
QStart |
Quick-start reset input |
See maxim,max17048 for documentation on how to adjust the devicetree file.
Programming
Set --shield adafruit_max17048 when you invoke west build. For example when running
the Fuel Gauge sample:
# From the root of the zephyr repository
west build -b adafruit_feather_canbus_rp2040 --shield adafruit_max17048 samples/drivers/fuel_gauge
west flash