Skip to content

Arduino INA226 High/Low Side Current Monitor Library

Notifications You must be signed in to change notification settings

Dlrk/DBOE_INA226

Repository files navigation

INA226

INA226 High-Side/Low-Side Bi-Directional I2C Current and Power Monitor library for the Arduino. Texas Instruments produces this family of power monitors and the series is described at on their product page at INA226.

Hardware layout

The datasheet has examples of how to hook up INA226.

Library description

The library uses INA226 devices connected to the I2C chain. Each unit can be individually configured with 4 setup parameters describing the expected voltage, shunt / resistor values which then set the internal configuration registers is ready to begin accurate measurements. The details of how to setup the library along with all of the publicly available methods can be found on the INA226 wiki pages.

The INA226 has a dedicated interrupt pin which can be used to trigger pin-change interrupts on the Arduino and the examples contain a program that measures readings using this output pin so that the Arduino can perform other concurrent tasks while still retrieving measurements.

dboe Logo

About

Arduino INA226 High/Low Side Current Monitor Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published