Mediciones incorrectas INA219

Buen dia amigos.

Estoy intentando medir el voltaje mediante el sensor INA219. Tengo dos arduino mega montados y varios sensores ina219 para probar.

En un arduino ya armado me toma todos los valores correctos, en el otro me toma el valor correcto siempre y cuando la fuente de medición (un trafo de 5v) este enchufado. Si lo desenchufo me marca 1.06v lo cual esta mal ya que no deberia xq es 0v.

Las conexiones son exactamente iguales, ya reemplace el ina219 por si fallaba pero todos lo mismo.

El codigo no tiene magia es el ejemplo de la libreria.

#include <Wire.h>
#include <Adafruit_INA219.h>

Adafruit_INA219 ina219;


void setup(void) 
{
  Serial.begin(9600);
  while (!Serial) {
      // will pause Zero, Leonardo, etc until serial console opens
      delay(1);
  }

  uint32_t currentFrequency;
    
  Serial.println("Hello!");
  
  // Initialize the INA219.
  // By default the initialization will use the largest range (32V, 2A).  However
  // you can call a setCalibration function to change this range (see comments).
  ina219.begin();
  // To use a slightly lower 32V, 1A range (higher precision on amps):
  //ina219.setCalibration_32V_1A();
  // Or to use a lower 16V, 400mA range (higher precision on volts and amps):
  //ina219.setCalibration_16V_400mA();

  Serial.println("Measuring voltage and current with INA219 ...");
}

void loop(void) 
{
  float shuntvoltage = 0;
  float busvoltage = 0;
  float current_mA = 0;
  float loadvoltage = 0;

  shuntvoltage = ina219.getShuntVoltage_mV();
  busvoltage = ina219.getBusVoltage_V();
  current_mA = ina219.getCurrent_mA();
  loadvoltage = busvoltage + (shuntvoltage / 1000);
  
  Serial.print("Bus Voltage:   "); Serial.print(busvoltage); Serial.println(" V");
  Serial.print("Shunt Voltage: "); Serial.print(shuntvoltage); Serial.println(" mV");
  Serial.print("Load Voltage:  "); Serial.print(loadvoltage); Serial.println(" V");
  Serial.print("Current:       "); Serial.print(current_mA); Serial.println(" mA");
  Serial.println("");

  delay(2000);
}

Y la salida constante es

Bus Voltage: 1.05 V
Shunt Voltage: 0.03 mV
Load Voltage: 1.05 V
Current: 0.10 mA

Con trafo desenchufado que debería ser 0V.

La conexion es la tipica de cualquier tuto.

Si mido con multimetro entre V+ del ina219 y ground me marca ese mismo voltaje cuando calculo no deberia haber ya que no tengo fuente conectada.

Si a alguien se le ocurre algo por favor hágamelo saber ya que me tiene loco.

Saludos y gracias.

Supongo que cambias de modulo INA219 y pasa lo mismo? incluso con el que te funciona bien en el otro arduino?

A ver... tienes un arduino que funciona bien y otro mal.
Dices tener varios modulos INA219, intercambiaste todos en ambos sitios y repites el problema? Si es si, entonces el segundo arduino tiene algo que requiere revisión fina. O desarmar y volver a armar.
No se como estan conectados sin con protoboard o de que modo porque no lo has explicado.

Buena observacion, voy a probar otro arduino y eviso.

Saludos