Adafruit INA237 Shield
Overview
The Adafruit INA237 DC Current Voltage Power Monitor Sensor Shield features a TI INA237 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 |
INA237 I2C SDA |
SCL |
INA237 I2C SCL |
ALRT |
INA237 ALERT out |
See ti,ina237 for documentation on how to adjust the
devicetree file, for example to adjust the sample averaging.
Programming
Set --shield adafruit_ina237 when you invoke west build. For example
when running the Sensor shell sample:
# From the root of the zephyr repository
west build -b adafruit_qt_py_rp2040 --shield adafruit_ina237 samples/sensor/sensor_shell