I recently purchased a qwiic soil moisture sensor and have been unable to get moisture readings from the sensor with my raspberry pi.
I have confirmed that the sensor is properly connected, and am able to use commands such as “is_connected”, “led_on”, etc.
When reading the moisture level, I receive “None” rather than an integer.
Is this an issue with the board or the user?
Thanks!
We’ve not tested this on a Pi before, it could be a code issue. Have you tried it with an Arduino Uno?
Also, you might get no reading or an invalid reading if the probes are not in some moist soil.
Unfortunately I’m having separate issues with my Uno and won’t be able to use it to check the soil sensor.
I did try moist soil, but that does not appear to be the issue.
It looks like the PyPi library was released 2/15/21. Could this be an issue with that library? It could definitely be an issue with my code, but my guess is the library or the sensor given that the other functionalities are working fine.