Documentation

Soil Sensor (Node)

Capacitive soil moisture sensor for Arduino nodes, returning analog readings from 0 to 1024.

Overview

The most important sensor for the system is soil moisture, which is needed to provide a number of key features. Soil moisture sensors come in a few different models. The cheaper varieties can be less accurate and easily suffer from corrosion. A capacitive soil sensor is recommended.

The moisture sensor gives a reading from 0–1024 which represents resistance. A lower reading of resistance generally means more moisture is present. Not every soil sensor will give the exact same results even given the same conditions, so you should do some small calibration tests with your sensor using dry soil and a cup of water to determine the extremes.

Configuration

JSON
{
  "sensors": [
    {
      "type": "Soil",
      "name": "Garden Bed Moisture"
    }
  ]
}

Settings

Property Value Description
type Soil Sensor type identifier

Returns

Integer — A value from 0 to 1024.

Calibration Samples

Below are sample readings from an actual setup. Use them as a reference to get started, but do your own tests for ideal results.

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

Tip

Lower resistance readings mean more moisture. Calibrate your own sensor by testing in dry soil and water to determine the range for your specific hardware.