Reading from the soil moisture sensor activates all I2C addresses (after a few readings)

Hi,

I’ve ran into an issue when reading from the soil moisture sensor and I’ve been wondering if it’s a defective sensor, a bug in the code or something related with the setup.

I’ve been experiencing some issues with soil moisture sensor and I2C. It starts reading the moisture level fine but after a bit it turns to 0. See here the initial state and it turning to 0:

Screenshot 2024-06-16 at 13.46.53.png

After the readings turn to 0 (in the same conditions), the I2C addresses are all active:

Screenshot 2024-06-16 at 13.47.05.png

I’m using my raspberry pi 4B with Debian 12, a sparkfun pi hat and the quiic connector for the soil moisture sensor btw. I created my own driver but have experienced the same issue with SparkFun’s python package: https://github.com/sparkfun/Qwiic_Soil_ … _Sensor_Py

You might need to disable the i2c pull up resistors; https://learn.sparkfun.com/tutorials/so … d-assembly has a photo and a link for ‘how-to’