I’m using a soil moisture sensor in the Soil Moisture Basic Sensing Example in the Hookup Guide. When the sensor is just in the air, I’m getting readings from 377-443, but mostly around 380. When the sensor is in a cup of water I’m getting readings from 406-435, but mostly 407. The humidity here is 9% currently. I can replace the sensor with a potentiometer and then the readings from the serial port change as expected from 0 to 1023. Is the sensor dead? This is the first time I’ve used it.
Can you send pictures of your modules and the leads on the boards?
You shouldn’t be getting any reading at all with the sensor in air. Is your board wet or did you put anything on the components or terminals?
carefully drying it off with a paper towel each time I take it out of water.
There may be residual moisture that has soaked into the PCB that you’re reading. Try letting the board ‘dry out’ in the sun for a day or two and see if the dry readings go back to zero.
Solved:
The wire that I had connected to SIG was damaged. Replaced that and it’s working fine! Thanks for the help.