This is the INA219B breakout module to measure both high side voltage and DC current draw over i2C with 1 percent precision. Current measuring devices such as current panel meter are good only for low side measuring it means that unless you’re going to integrate a battery or placing a measuring resistor between the target ground and main ground. This will cause a problem within the circuits since electronics will not accept when the ground references change and move with varying current draw.

The INA219B is much smarter it can handle high side of the current measuring up to +26V DC, even though it is powered with 3v or 5v it will also notify back the high side of the voltage. Which is excellent for tracking battery life.


  • 0.1 ohm 1% 2 watts Current Sense Resistor
  • Up to +26 Volts Target Voltage
  • Up to ±3.2 Amp Current Measurement with ± 0.8mA resolution
  • I2C 7bit addresses 0x40, 0x41, 0x44, 0x45

Required Components

  • Arduino Microcontroller, Tenssy (Tenssyduino Integrated), ESP8266 NodeMCU (Arduino IDE Integrated)
  • INA219 Breakout Module I2C 7bit addresses 0x40, 0x41, 0x44, 0x45 (See the jumper settings)
  • Jumper Wires / DuPont Wires
  • Solder Less Breadboard
  • LCD Screen 16×2 Driven I2C (Refer to i2C address – OPTIONAL)

Schematics Diagram

Wiring Diagram

Source Code


  • Download INA219 Datasheet | PDF
  • Download  INA219 Code Library | Zip



Wiring the i2C INA219 ZERO Drift, Bidirectional Current/Power Monitor with MCU
Tagged on:                     

6 thoughts on “Wiring the i2C INA219 ZERO Drift, Bidirectional Current/Power Monitor with MCU

  • at

    There are 4 separate batteries connected to your circuit. Can I connect 4 consecutively connected batteries? Nothing will burn in this case?

  • at

    Can you give a source code valid for the four sensors setup visible on this page?

  • at

    Just a note to report that the INA219 Code Library link seems to be directed to the PDF datasheet. Can you fix it? Thank you :-)


Leave a Reply

Your email address will not be published.