This is the documentation for the latest (main) development branch of
Zephyr. If you are looking for the documentation of previous releases, use
the drop-down menu on the left and select the desired version.
This is a sample app to interface with TI INA219 power monitor.
The values used in the app are for use on Adafruit’s breakout board
This assumes the slave address is 0x40, where A0 and A1 are all tied to ground.
Building and Running
This project outputs measured values to the console. It can be built and
executed as follows:
west build -b None samples/drivers/current_sensing
Bus Voltage: 3300 mV
Shunt Voltage: 100 uV
Current: 5000 uA
Power: 16500 uW