Parts Sensors and input

The Soil Moisture Sensor as drawn on the PinBench canvas.

Soil Moisture Sensor

A capacitive soil moisture probe with an analog output.

Category
Sensors and input
Size
10.2 × 35.6 mm

Pins

PinRole
GNDGround
VCCPower
AOUTOutput

Settings

Change these in the part's properties on the canvas.

Soil moisture
40 %
Output in dry air
2.8 V
Output in water
1.3 V

How PinBench simulates it

  • The output falls as the soil gets wetter: about 2.8 V in dry air to about 1.3 V in water, roughly 570 and 265 from analogRead() on a 5 V board.
  • That keeps the inverted, offset range that every soil moisture tutorial starts by calibrating.