INA219 Current Monitor
Measures bus current/shunt voltage and reports results digitally.
What is the INA219 Current Monitor and what is it used for?
Measures bus current/shunt voltage and reports results digitally. Makers use it to measure a low-voltage load.
Power instrumentation
Sensors convert a physical quantity into an electrical signal. Calibrate, verify module supply, interfaces and environmental limits.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Bus voltage, shunt current and power |
| Range | 0 to 26 V bus; ±3.2 A with the usual 0.1 Ω shunt |
| Accuracy | 12-bit; about ±1 % with calibration |
| Interface | I2C |
| I2C address | 0x40 default (0x40 to 0x4F with A0/A1) |
| Supply voltage | 3 to 5.5 V |
| Operating temperature | −40 to 125 °C |
Pinout
How to use it
Put it in series with the load's positive wire: supply to VIN+, VIN− to the load. Grounds must be shared. Great for measuring how long a battery will last.
#include <Adafruit_INA219.h>
Adafruit_INA219 ina;
void setup() { Serial.begin(115200); ina.begin(); }
void loop() { Serial.print(ina.getBusVoltage_V()); Serial.print(" V "); Serial.print(ina.getCurrent_mA()); Serial.println(" mA"); delay(500); }Applications
Builds that use it
Four sensors on one I²C bus
Battery runtime estimator
Regulator efficiency study
USB energy meter
USB current and energy meter
Battery life calculator lab for sensor nodes
Compare AA battery types
Battery life measurement lab
Common questions
What is the INA219 Current Monitor used for?
In products: power instrumentation. In maker projects: measure a low-voltage load.
How does the INA219 Current Monitor work?
Sensors convert a physical quantity into an electrical signal. Calibrate, verify module supply, interfaces and environmental limits.
What voltage does the INA219 Current Monitor need?
3 to 5.5 V.
How do I connect the INA219 Current Monitor to an Arduino or ESP32?
I2C. Pins: VCC / GND (Logic supply), SDA / SCL (I2C), VIN+ (From your supply), VIN− (To your load).
