INA219 (current / power monitor, I²C)
High-side current, bus voltage and power monitor up to 26 V: measures the voltage across an external shunt (e.g. 0.1 Ω) and the bus voltage at IN−, averages them like the real ADC and computes current and power from the calibration register (datasheet equations). Address 0x40–0x4F by A0/A1. Read e.g. with Adafruit_INA219.
Key data
- Category
- ICs
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- INA219AIDR
- Reference prefix
- U
- Pins
- 8
- Land pattern
- SOIC-8_3.9x4.9mm_P1.27mm
Notes
The chip measures the voltage across your shunt resistor and the bus voltage at IN− in the running simulation, averaged over the conversion time. Current and power registers follow from the calibration register by the datasheet equations: write the calibration first.
- Typical: 0.1 Ω shunt in the supply line to the load, calibration 4096 gives 0.1 mA per bit (Adafruit_INA219 setCalibration_32V_2A).
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- ina219
- Supply pins
- VS / GND
Pins 8
| Pin | Name | Use |
|---|---|---|
| IN+ | IN+Analog pin | Shunt resistor, supply side |
| IN- | IN−Analog pin | Shunt resistor, load side (also the measured bus voltage) |
| A0 | A0Input pin | Address bit: GND, VS, SDA or SCL (16 addresses) |
| A1 | A1Input pin | Address bit: GND, VS, SDA or SCL (16 addresses) |
| SCL | SCLInput pin | I²C clock: pull-up (about 4.7 kΩ) to the supply |
| SDA | SDAI/O pin | I²C data: pull-up (about 4.7 kΩ) to the supply |
| VS | VSSupply pin | Supply 3–5.5 V: 100 nF to GND |
| GND | GNDGround pin | Ground |
PCB
SOIC-8_3.9x4.9mm_P1.27mm| Package | Land pattern | Status | Source |
|---|---|---|---|
| SOIC-8 · INA219AIDR | SOIC-8_3.9x4.9mm_P1.27mm | Verified land pattern | SOIC-8 3.9 × 4.9 mm (JEDEC MS-012); INA219 datasheet D package pinout 1 A1, 2 A0, 3 SDA, 4 SCL, 5 VS, 6 GND, 7 IN−, 8 IN+ |