lamaPLC: Energy, power, current, and voltage

INA226

INA226 36V, 16-bit, ultra-precise i²c output current/voltage/power monitor w/alert

The INA226 is a current shunt and power monitor with an I²C or SMBUS-compatible interface. It monitors both a shunt voltage drop and bus supply voltage. Programmable calibration values, conversion times, and averaging, combined with an internal multiplier, enable direct readouts of current in amperes and power in watts.

The INA226 is a current shunt and power monitor with an I²C or SMBUS-compatible interface. The device monitors both a shunt voltage drop and bus supply voltage. Programmable calibration value, conversion times, and averaging, combined with an internal multiplier, enable direct readouts of current in amperes and power in watts. The INA226 senses current on common-mode bus voltages that can vary from 0V to 36V, independent of the supply voltage. The device operates from a 2.7V to 5.5V supply, drawing a typical of 330μA of supply current. The device is specified over the operating temperature range between –40°C and 125°C and features up to 16 programmable addresses on the I2C-compatible interface.

The INA226 supports the transmission protocol for fast mode (1 kHz to 400 kHz) and high-speed mode (1 kHz to 2.94 MHz). All data bytes are transmitted most significant byte first.

INA226 INA226

Features

  • Senses Bus Voltages: 0 V .. 36 V
  • Shunt Voltage Maximum: 81.9 V
  • Current Maximum: 20 A
  • High-Side or Low-Side Sensing
  • Reports Current, Voltage, and Power
  • High Accuracy:
  • * 0.1% Gain Error (Max)
  • * 10 μV Offset (Max)
  • Configurable Averaging Options
  • 16 Programmable Addresses
  • Operates from 2.7V to 5.5V Power Supply
  • 10-Pin, DGS (VSSOP) Package

Pin Description

INA226

  • VBUS: bus voltage input
  • SDA/SCL: IIC bus data and clock signal lines
  • ALERT: Multi-function alarm output
  • A0/A1: I²C address line
  • IN+/IN-: non-inverting analog input, inverting analog input

Address

The sensor can have 16 different I²C addresses, which depend on how the A0 and A1 address lines are connected to the SCL, SDA, GND, and VCC pins.

Arduino / Github library

I²C topics on lamaPLC