Check out the links above for our tutorials and wiring diagrams. Wiring the i2c ina219 zero drift bidirectional currentpower monitor with mcu this is the ina219b breakout module to measure both high side voltage and dc current draw over i2c with 1 percent precision.
Ina219 Tutorial For Arduino And Esp8266 And Esp32 Diyi0t
Ina219 wiring diagram. Including the pin outs. Like usual i2c sensor can easily interfaced with arduino. This allows the sensor to measure the load voltage as well as the load current. Finally connect a wire from the negative terminal of the power supply to gnd. Ina219 arduino current and voltage sensor tutorial get the necessary library. In picture above that is the wiring diagram of ina219 and arduino.
Looking at the circuit diagram at the bottom of texas instruments 3. The device is readily available from the big name outlets. Is it possible you could provide a simple diagram or breadboard example that includes h bridge and acs712. In addition connect some load to measure the current from in series to the sensors vin and vin pins as mentioned on the wiring page. The photo below shows an ina219 breakout board configured to measure the motor supply current on an adafruit motor shield. How to get an ina219 arduino module.
Each of the ina219 modules speak i2c to the rpi and the sdascl pins daisy chained with continuous jumpers back to the respective i2c pins on the rpi p3 and p5 to form an i2c bus. The dc current sensor used in this project is an ina219 high side dc current sensor breakout and the hall effect sensor used is an acs712 low current sensor board. The image and table below detail some of module feature. But the major difference is that using a common ground allowed me to read the voltage in real time as well. Adafruit has some excellent tutorials on wiring up and working with the ina219 which is where i got the majority of my information. To install use the arduino library manager and search for adafruit ina219 and install the library.
This chip uses i2c to communicate. Otherwise i had to switch the contacts of the ina219 move the wire from vin to the ina219 gnd to read the voltage. Wiring diagram ina219 breakout you will also need the ina breakout board which contains the inab chip that we will use to measure the here is the final schematic. It uses 4 pins only. Ina219 current and voltage sensor module pin outs. And there a load that connect to the sensor.
When using the common gnd i was reading voltages of about 615v. First wire up a ina219 to your board exactly as shown on the previous pages for arduino using an i2c interface. Whats interesting is the voltage values seem to differ. Connect a wire from the ground line of the board to a 2.