I removed every component and breadboard and now I have only the INA219 (current sensor) connected to the board, with direct jumper wires.
I replaced the nodemcu with a new board, no luck.
I replaced the sensor with a new one, no luck.
Hello again, I connected a I2C display on D1 and D2 pins and it works when INA219 is not connected.
When I connect the INA219 sensor the bus reports the error above.
Two INA219 sensors gives me the same error. Both are failed? Sounds strange.
Hi Gaz, you are right soldering is not very nice.
I checked this module and also a brand new just arrived, with no soldered pins: SDA to GND measures 3.9 to 4.2 M Ohm on all modules.
I tried compiling a sketch with standard example for INA219 on Arduino IDE and sensor is not found.
I haven’t figured out how to solve this. Ordered a new sensor and I have the same issue. The I2C bus is fine cause I have a display connected and working.
I solved measuring the current with an external smart plug on Home Assistant and using it as a sensor in this esphome device.
Oversized but working.
I had exactly the same problem - I2C bus do not get recognizable info from device.
Wasted lots of time on getting it working - tried 5 units(seller sold those as a batch) and none of them worked.
Finally ordered the same device from another seller and it worked without any problems.
And then I also realized the difference - the shunt resistor is marked “R10” on non working module. I googled about this and the first result leaded me here:)
So, seems that if the shunt resistor is R10 and not R100 then there is a big change that it’s not working.