Current Sensor INA219 Pinout Diagram and Connection with Arduino



Hi, in this article, we are going to see the Current Sensor INA219 Pinout Diagram. Also, we will see the Connection Diagram for interfacing INA219 with Arduino. The INA219 is basically a current sensor, but it can measure voltage and monitor power. It is mostly used in electronics projects for energy monitoring, battery management systems, solar systems, motor control systems, etc. The current sensor INA219 can measure up to ±3.2A  current (adjustable by the shunt resistor used) and 0V to 26V voltage. It calculates the power by measuring voltage and current and simply multiplying them(power = Voltage × Current). It can communicate with microcontrollers like Arduino, ESP32, and Raspberry Pi using the I2C Communication Interface.

Current Sensor INA219 Pinout Diagram


Here, you can see the Pinout Diagram of both INA219 IC and INA219 Module.

INA219 IC Pinout Diagram, INA219 Module Pinout Diagram


The INA219 IC and the INA219 Module both provide the same functions like current, voltage, and power monitoring, but they are different in terms of ease of use and hardware integration. The INA219 IC is a small integrated circuit (IC) whereas the INA219 Module is a complete breakout board that includes the INA219 IC and additional components.

INA219 IC Pinout Details


Pin No.1: A1 - I²C address selection pin 1. Used to configure I²C address (connect to GND or VCC).
Pin No.2: A0 - I²C address selection pin 0. Used to configure I²C address (connect to GND or VCC).
Pin No.3: SDA - I²C data input/output (connect to microcontroller's SDA pin).
Pin No.4: SCL - I²C clock input (connect to microcontroller's SCL pin).
Pin No.5: VS/VCC - Power supply input for the IC (typically 3.3V or 5V).
Pin No.6: GND - Ground pin that needs to connect to the system ground.
Pin No.7: IN-/V- - Power supply negative input (connected to load's low side or shunt resistor).
Pin No.8: IN+/V+ - Power supply positive input (connected to load's high side).


INA219 Module Pinout Details


Pin No.1: VCC - Power supply input (3.3V or 5V, depending on the module).
Pin No.2: GND - Ground. Connect to the system ground.
Pin No.3: SCL - I²C clock input (connect to microcontroller's SCL pin).
Pin No.4: SDA - I²C data input/output (connect to microcontroller's SDA pin).
Pin No.5: VIN- - Negative input of the shunt resistor (connect to the load's low side).
Pin No.6: VIN+ - Positive input of the shunt resistor (connect to the load's high side).


Current Sensor INA219 Interfacing with Arduino


Here, you can see the connection diagram for interfacing between INA219 and Arduino.

Current Sensor INA219 and Arduino Connection Diagram


Connection Description


Here, we have made the connection for measuring the motor load current.
  • The positive terminal of the battery is connected to the VIN+ terminal of the INA219 Module through an SPST switch.
  • The VIN- terminal of the INA219 Module is connected to the positive terminal of the Motor.
  • The negative terminal of the battery is directly connected to the negative terminal of the motor.
  • The VCC and GND terminals of the INA219 Module are connected to the 5V and GND terminals of the Arduino Module.
  • The SCL terminal of the INA219 module is connected to the Analog Input A5 terminal of the Arduino Module.
  • The SDA terminal of the INA219 module is connected to the Analog Input A4 terminal of the Arduino Module.

Working Principle


When the SPST switch is closed, current flows from the battery to the motor through the INA219 module (VIN+ and VIN- terminals). The INA219 module measures the current flowing through the load (motor) by detecting the voltage drop across its onboard shunt resistor. The shunt resistor is internally connected between the VIN+ and VIN- terminals of the INA219 module.

The Current (I) is calculated using Ohm's Law,

Current(I) = Voltage across shunt resistor (V) / Shunt resistor value (R)

The shunt resistor in the module typically has a value of 0.1Ω.

The INA219 also measures the bus voltage (voltage at the VIN- terminal, which is the positive terminal of the motor). This provides the operating voltage of the motor.

The INA219 calculates the power delivered to the motor using the formula, Power(P)=Bus Voltage(V) × Load Current(I)

Using the I²C protocol, the INA219 sends the measured voltage, current, and power data to the Arduino for processing or display.


Read Also: 

Thank you for visiting the Website. Keep visiting for more Updates.

Current Sensor INA219 Pinout Diagram and Connection with Arduino Current Sensor INA219 Pinout Diagram and Connection with Arduino Reviewed by Author on January 14, 2025 Rating: 5
Powered by Blogger.