Calibration of soil moisture sensor

Hello,
I am using new soil moisture sensor and when is whole sensor in the water, it shows 80% moisture… Probably I can calibrate the sensor, but I am not sure if I am doing something wrong… I have two sensors and both works exactly same.

Thank you for any idea!
Milan

IMG_4659

Hi Minz,

were you able to find a solution to that?

Best,
Eric

SoilSensor has support for calibration, but it is still experimental. Please see note in the SoilSensor project.

We added small EEPROM inside and added some calibration support, but after tests in the field we discovered that 0-100% output is not practical. So we suggest basic RAW reading which has bigger range (it was somewhere 6000-11000) and users can “calibrate” that in for example in Node-RED.

Can you try to submerge your sensor not fully, but just to the begining of the heat shrink tube? Sometimes if you submerge the part with electronics or cable then the capacitive coupling is decreasing which could explain 80% instead of 100%.

If you would like to re-calibrate your Soil, you can try our code here, but as I said, calibration is experimental and we suggest to use only RAW values from the sensor.


This calibration program needs LCD Module, but could be easily changed to output intructions over uart. You basically connect sensor, keep it dry and confirm that by pressing button. Then you submerge sensor from the tip to the start of heat shrink tube and set the 100% calibration. Then you confirm that and it is saved to the internal EEPROM of Soil.