INA219 Current Sensor Module

2,818 views

Overview of Module

The INA219-based Current Sensor Module is a zero-drift, bi-directional current/power monitoring module with an I2C interface. It can simultaneously sense shunt voltage, current, and power and send the data via the I2C protocol. It has a 0.1 Ohm shunt resistor and a 1% shunt resistor to meet the current measurement requirements. A strong 12-bit ADC converts the current measured by a precision amplifier. With a resolution of 0.8mA, the current sensing range is 3.2A.

INA219 Board Overview

The board consists of the major following components described below:

  • Integrated Circuit: The integrated circuit handles All signal and data processing.
  • I2C Interface: The I2C bus comprises SDA and SCL and serves the purpose of transmitting data between the module and the microcontroller.
  • Shunt resistor: It includes a shunt resistor of 2W 0.1 Ohms which can be replaced by the desired value.

Features and Specifications of INA219

Features

  • It has in-built calibration registers to reduce uncertainty in the power, voltage, and current values.
  • It contains 16 programmable addresses and filtering options.
  • The sensor is available in 2 grades i.e. INA219A and INA219B.
  • he Accuracy is up to 0.5% in INA219B over the temperature.
  • The sensor has two package types i.e. SOT23-8 and SOIC-8.

Specifications

  • Power Input: 3.0V-5.5V
  • Up to +26V target voltage
  • 0.1 ohm 1% 2W current sense resistor
  • Up to ±3.2A current measurement, with ±0.8mA resolution
  • Senses Bus Voltages from 0 to 26 V
  • 2C- or SMBus-compatible interface
  • Up to 128 samples can be averaged to achieve filtering in noisy environments.
  • Board Dimension: 0.8 x 0.9 inch (l x w x h)

Pinout of INA219

Pin NameDescription
VIN-Sensed Input line -. For measuring the voltage.
VIN+Sensed Input line +. For measuring the voltage.
VCCPower pin for Input voltage
GNDPower pin for ground
SCLFor 12C communication. Connect to your microcontroller I2C clock line.
SDAFor 12C communication. Connect to your microcontroller I2C data line. 
VBusBus voltage. By default, it is tied to Vin+. connect VBus to the power bus so it can accurately calculate the bus voltage 
Alert Interrupt output pin. You can configure the interrupt to trigger for various ‘reasons’ such as going over or under a configured current, voltage, or power setting.
A0Solder jumper. Can be bridged with solder to pull the address pin-up to VCC to change the I2C address.
A1 Solder jumper. Can be bridged with solder to pull the address pin-up to VCC to change the I2C address.

Applications of INA219

  • Digital multimeters.
  • Power profilers.