INA 3221 Won't give a correct voltage reading

This is the test sketch I am using
(SDL_Arduino_INA3221/SDL_Arduino_INA3221_Test.ino at master · switchdoclabs/SDL_Arduino_INA3221 · GitHub)

I just got this sensor, the IC2 part of it works fine. I finally wired it and Im monitoring a small bulb, but my voltage (the power supply voltage is totally off)
Plese see pics.
What am I doing wrong?
I get

12:43:31.414 -> LIPO_Battery Bus Voltage: 5.98 V
12:43:31.414 -> LIPO_Battery Shunt Voltage: -2.72 mV
12:43:31.414 -> LIPO_Battery Load Voltage: 5.98 V
12:43:31.452 -> LIPO_Battery Current 1: 27.20 mA
12:43:31.452 ->
12:43:33.431 -> ------------------------------
12:43:33.431 -> LIPO_Battery Bus Voltage: 5.48 V
12:43:33.431 -> LIPO_Battery Shunt Voltage: -2.72 mV
12:43:33.431 -> LIPO_Battery Load Voltage: 5.48 V
12:43:33.431 -> LIPO_Battery Current 1: 27.20 mA

When the bus voltage is 8v.
By the way, all I wanna do is monitor the input voltage, not current. Is there a smart way to do that? An unpublished command?


Why did you start a topic in the Uncategorised category of the forum when its description is

:warning: DO NOT CREATE TOPICS IN THIS CATEGORY :warning:

Your topic has been moved to the Programming category

According to the photo, your connection is looks incorrect. You should connect your load (i.e. bulb) between two big contact holes, labeled "CH1". Note that you MUST NOT connect "minus" of your load to any GND pins other than "GND" of Channel1.


So in your photo the blue and yellow wires of the bulb both should be connected to the CH1 contacts

I tried that. On my model there is a shunt between C1 and Ground. There is no voltage

An INA3221 can't measure a 'floating' load, so bulb supply negative (the copper clip) must also connect to Arduino ground.
Leo..

I did that and it worked. Thanks a lot.


Voltage read is right now.
Amperage is not... but I was looking for the voltage

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.