The image and table below detail some of module feature. Including the pin outs.
Learning The Hard Way Diy Power Measurement Unit With
Ina219 wiring diagram. Otherwise i had to switch the contacts of the ina219 move the wire from vin to the ina219 gnd to read the voltage. 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. Adafruit has some excellent tutorials on wiring up and working with the ina219 which is where i got the majority of my information. The photo below shows an ina219 breakout board configured to measure the motor supply current on an adafruit motor shield. 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. To install use the arduino library manager and search for adafruit ina219 and install the library.
Ina219 current and voltage sensor module pin outs. Check out the links above for our tutorials and wiring diagrams. 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. Looking at the circuit diagram at the bottom of texas instruments 3. When using the common gnd i was reading voltages of about 615v. This chip uses i2c to communicate.
It uses 4 pins only. 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. Like usual i2c sensor can easily interfaced with arduino. Ina219 arduino current and voltage sensor tutorial get the necessary library. The device is readily available from the big name outlets. In picture above that is the wiring diagram of ina219 and arduino.
First wire up a ina219 to your board exactly as shown on the previous pages for arduino using an i2c interface. But the major difference is that using a common ground allowed me to read the voltage in real time as well. 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. Whats interesting is the voltage values seem to differ. Connect a wire from the ground line of the board to a 2.
Is it possible you could provide a simple diagram or breadboard example that includes h bridge and acs712. How to get an ina219 arduino module. And there a load that connect to the sensor. 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.