INA219 current/power always -0.00

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Normal user
Posts: 26
Joined: 03 May 2024, 18:31

INA219 current/power always -0.00

#1 Post by treii28 » 20 May 2024, 16:54

I am using a xiao ESP32S3 and wanted to monitor the power coming straight out of the battery going into the 12v->usb buck converter. I get voltage values just fine but current and power are always -0.00. I am not using a 'shunt' as it is only the xiao and a 10W pump connected through the INA219 so at 12v it should be well under 2A max.

Core team member
Posts: 8885
Joined: 01 Sep 2017, 22:13
Location: the Netherlands

Re: INA219 current/power always -0.00

#2 Post by TD-er » 20 May 2024, 18:23

How is the INA219 wired?
Can you describe how it is wired?

I just searched online for some images on how it should be connected.
Found this one which seems the most clear one:

What I notice is that the GND of the load seems to be isolated from the GND of the Arduino.
So I wonder if you can even measure the load of the ESP itself.
I have to read the datasheet thoroughly to make sure.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests