Hi there, I’m hoping someone can point me in the right direction.
I’ve got a Grove Pi Moisture sensor connected to the GrovePi via a pair of RJ45 ethernet connectors (I stretch the sensor out into my garden).
GrovePi – Analogue Port 0 – RJ45 ---------- Ethernet cable ------ RJ45 – Grove Moisture sensor
The problem I’m having is that the readings coming out of the sensor using the standard Grove Python script are erratic.
python grove_moisture_sensor.py 207 312 195 158 103 206 250 160 99 214 336 245 177
I’m wondering if anyone can give me any pointers for making these values more consistent. At the moment they’re not really usable for my garden watering project.
Attached you can see some pics of how the sensor looks.
Any advice would be much appreciated. It’s also odd, but the script returns a value even if I change the port to use Analogue Port 2 (and nothing is plugged in there). Something feels … wonky.