Menu
Your Cart

INA219 DC Current Sensor Module

Description

INA219 DC Current Sensor Module Best Price in BD.

The INA219 DC Current Sensor Module is a high-precision, bi-directional current/power monitor with an I2C interface. It can measure both current and voltage simultaneously and is ideal for battery management, solar energy monitoring, and embedded electronics projects. The module supports up to ±26V and measures current up to 3.2A with excellent accuracy. It’s compatible with Arduino, Raspberry Pi, and other microcontrollers, making it perfect for hobbyists, students, and professionals. CityTech BD

Specification

0.1 Ω, 1%, 2 W current sense resistor

Target voltage up to +26V

Up to ±3.2A current measurement with ± 0.8mA resolution

I2C 7-bit addresses 0x40, 0x41, 0x44, 0x45

INA219 Module – Serial Interface

The INA219 operates only as a slave device on the I2C bus and SMBus. Connections to the bus are made through the open-drain I/O lines SDA and SCL. The SDA and SCL pins feature integrated spike suppression filters and Schmitt triggers to minimize the effects of input spikes and bus noise. The INA219 supports the transmission protocol for fast (1- to 400-kHz) and high-speed (1-kHz to 2.56-MHz) modes. All data bytes are transmitted with the most significant byte first.

To communicate with the INA219, the master must first address slave devices through a slave address byte. The slave address byte consists of seven address bits, and a direction bit indicating the intent of executing a read or write operation. The INA219 has two address pins, A0 and A1.

The table below describes the pin logic levels for each of the 16 possible addresses. The state of pins A0 and A1 is sampled on every bus communication and should be set before any activity on the interface occurs. The address pins are read at the start of each communication event.

It is worth noting there are many models of the INA219 modules online. The following session shows the I2C address of the four different INA219 Chinese breakout boards/modules, and what solder pads have to be bridged to set a particular address.

  • No Bridge → 0x40 (default)
  • A0 Bridge → 0x41
  • A1 Bridge → 0x44
  • A0+A1 Bridge → 0x45

INA219 Module – My Pick

This is my INA219 module. Note that the input section (sense lines) has a footprint of a screw terminal block that can be soldered.

Now to its pin description:

  • VIN+ → Sense Input +
  • VIN- → Sense Input –
  • VCC → Module Power Input (+3 to 5V)
  • GND → Ground Rail (0V)
  • SDA → I2C Serial Data
  • SCL → I2C Serial Clock

And, its schematic for your reference:

INA219 Module & Arduino – First Test

Admittedly, there is nothing new or special about the INA219 module as there are countless tutorials/projects out there that exploit its ability to measure both dc current and voltage. I wanted to use INA219 modules in a couple of small projects for certain reasons. So, I decided to make some pre-flight tests myself. You can follow the steps below to test your INA219 module using an Arduino Uno microcontroller.

First of all, setup your hardware as shown in the below diagram:

Next, upload the following code to your Arduino Uno. Since the code is based on an Adafruit library, you should download (and install) it through the GitHub link given below. Note that this new version (1.1.0) of Adafruit INA219 library requires additional libraries and flash memory, but does not offer any extra features at this time!

Review

Write a review

Note: HTML is not translated!
Bad Good