I connected the INA3221 module correctly to a Raspberry 3+.
I downloaded the library SDL_Pi_INA3221.py and the test program testSDL_Pi_INA3221.py from github.
I connected two controllable voltage sources to channel 2 and channel 3 via a 680 ohm resistor for testing.
Channel 1 is not used.
Channel 2 has 6.5 volts,
Channel 3 the 10.7 volts.
As an output, I get this somewhat confusing output. I expected the mentioned voltage values.
What am I doing wrong?
How do I get a correct voltage measurement?
-------------------------------------------------- -------------
LIPO_Battery Bus Voltage: 0.00 V
LIPO_Battery Shunt Voltage: 1.12 mV
LIPO_Battery Load Voltage: 0.00 V
LIPO_Battery Current 1: 11.20 mA
Solar Cell Bus Voltage 2: 0.00 V
Solar Cell Shunt Voltage 2: -0.16 mV
Solar Cell Load Voltage 2: -0.00 V
Solar Cell Current 2: 1.60 mA
Output Bus Voltage 3: 3.85 V
Output Shunt Voltage 3: 1.76 mV
Output Load Voltage 3: 3.85 V
Output Current 3: 17.60 mA
-----------------------------------------------------
Until today (23/12/2019) obviously nobody has an idea?