Adafruit INA219 Shield
Overview
The Adafruit INA219 High Side DC Current Sensor Shield features a TI INA219 current sensor and two STEMMA QT connectors. It measures current and bus voltage.
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 |
|---|---|
SDA |
INA219 I2C SDA |
SCL |
INA219 I2C SCL |
VIN- |
Current sense neg |
VIN+ |
Current sense pos |
See ti,ina219 for documentation on how to adjust the
devicetree file, for example to adjust the gain.
Programming
Set --shield adafruit_ina219 when you invoke west build. For example
when running the INA219 Bidirectional Power/Current Monitor sample:
# From the root of the zephyr repository
west build -b adafruit_qt_py_rp2040 --shield adafruit_ina219 samples/sensor/ina219