Soil Moisture Sensor

The most important sensor for our system is soil moisture which is needed in order to provide a number of key features. Soil moistures can come in a few different models. The cheaper varieties can not be as accurate and easily get suffer from corrosion. I recommend getting a capacitive soil sensor.

The moisture sensor will give you a reading from 0 - 1024 which is the resistance. A lower reading of resistance in our case usually means more moisture present. Not every soil sensor will give the exact same results event given the same conditions. Therefor you should do some small calibration tests with your sensor using dry soil and a cup of water to determine the extremes of the measurements.

Sensor Settings

  • type: Soil

Returns

[Integer] 0 - 1024

Calibration Samples

Here are some readings from my actual setup I used to help calibrate my readings. Use them as a reference to get started but I suggest do your own tests for ideal results.

ConditionReading
Open Air550
Very Dry Soil (Cracking)515
Dry Soil490
Moist Soil450
Wet Soil320
Way Oversaturated Soil250
Water180