What is INA219?

What is INA219?

The INA219 is a current shunt and power monitor with an I2C- or SMBUS-compatible interface. The device monitors both shunt voltage drop and bus supply voltage, with programmable conversion times and filtering. The INA219 senses across shunts on buses that can vary from 0 to 26 V.

How does the INA219 work?

The INA219 is a current measuring chip which can also measure voltage – actually it can only measure voltage, but cheats by measuring voltage across a known resistance. The negative analogue input is used to measure the load voltage and hence, with the current measurement, the power dissipated in the load.

What are the applications of INA219?

The INA219 is a current sensor module that incorporates I2C protocol for submitting the data obtained through sensing current, voltage, and power. It is a bi-directional zero drift current/ power sensing module mainly used in digital multimeter and power profiler.

Can INA219 measure negative current?

They aren’t calculating twos complement correctly, so negative currents aren’t reported correctly. …

How do you wire an INA219?

Connect to the circuit

  1. Connect V+ to the positive terminal of the power supply for the circuit under test.
  2. Connect V- to the positive terminal or lead of the load. This puts the sense resistor in-line with the circuit.
  3. Finally, connect a wire from the negative terminal of the power supply to GND.

How does a battery sensor work?

The electronic battery sensor (EBS) is attached to the negative terminal of a 12-V lead-acid battery with the terminal clamp and connected to the vehicle’s body by a screw-on ground cable. The EBS measures the current using a shunt and determines the battery’s voltage and temperature.

Can ESP32 measure current?

ESP32 Based Power Meter – Measuring Input Power and Output Power to Calculate Efficiency. So, today we will solve that problem by building an Arduino and ESP32 based efficiency meter that can measure input voltage, input current, output voltage, and output current.

What’s a battery temperature sensor?

The BTS mounts on a terminal post of a battery in a bank or on the side of a battery and measures its temperature. It sends precise information to the charger or charge controller, which automatically adjusts voltage to help ensure full battery charge depending on the ambient temperature of your battery installation.

How does the ina219 measure voltage and current?

Inside the INA219 there is an ADC which can only measure voltage; Specifically the differential input V IN+ – V IN-, and using internal switches it also measures V IN- referenced to ground (using the same amplifier). The INA219 cannot measure current unless it knows the value of the external shunt resistance.

Which is the high side of the ina219 sensor?

The INA219 sensor has a 2-pin screw-terminal, connected to the high side of the measuring in series, able to measure voltages up to 26V. The screw-term is connected to a 0.1Ω 1% sense shunt resistor in parallel. The INA219 measures two different voltages at the high side: V_shunt is the voltage drop across the shunt resistor.

What is the ina219 shunt and power monitor?

The INA219 is a current shunt and power monitor with an I2C- or SMBUS-compatible interface. The device monitors both shunt voltage drop and bus supply voltage, with programmable conversion times and filtering. A programmable calibration value, combined with an internal multiplier, enables direct readouts of current in amperes.

How does the ina219 work on an Arduino?

The INA219 is a current and voltage sensor that you use with any Arduino, ESP8266 or ESP32 microcontroller. You can measure up to 26 volts and use the I2C communication to transfer data to the microcontroller. In this tutorial I use the INA219 to measure the discharging curve of a battery that is connected to a fan.