Hi,
I’ve installed two Capacitive Moisture Sensor (Corrosion-Resistant) sensors on the Grove Base Hat for Raspberry Pi in ports A0 and A2 and i cannot make sense of the readings. I’ve tested with the grove_moisture_sensor.py script and the numbers are way off.
In the code the expected readings are as follows:
m = sensor.moisture
if 0 <= m and m < 300:
result = 'Dry'
elif 300 <= m and m < 600:
result = 'Moist'
else:
result = 'Wet'
But my readings are around 2000 open air (A0) and 1200 with the sensor in water (A2).
My script with the readings from the two sensors. The data is the same with grove_moisture_sensor.py
I’ve seen other users in the forum with the same problem, but no solution. I’ve tried all combinations of analog ports with no other sensors in the board with no different results. In fact if i unplug the sensors, the readings in the ports are always around 2000.
Can you help? I’m trying to choose a solution that will require a lot of sensors for a big deployment.
Thank you.