The INA219 breakout board is a comprehensive power monitoring solution. Rather than using a voltage sensor and a current sensor, the INA219B measures both with 1% precision and communicates digitally with the host with TWI/I2C. It is capable of high side current and voltage measurement up to 26V and 3.2A.
The precision current amplifier measures the voltage across the 0.1 Ω, 1% sense resistor to determine the current flowing. The combined voltage and current measurements allow power to be calculated, making the INA219 great for tracking battery life or solar panels. (Power = Voltage * Current)
Note: The 0.1 Ωcurrent sense resistor can be removed and replaced with your own to change the current measurement range. (e.g. 0.1 Ω = 3.2A, 0.05 Ω = 6.4A )
Adafruit has put together a library that makes working with the INA219 a snap. You will need to download this library. It can be found HERE.
Tags: Voltage Sensor