Capacitive Soil Moisture v1.2

A corrosion-resistant capacitive probe that reports soil moisture as a single analog voltage.

Capacitive Soil Moisture v1.2: Soil moisture level

What is the Capacitive Soil Moisture v1.2?

The Capacitive Soil Moisture Sensor v1.2 measures how much water is in soil by sensing the soil's dielectric constant rather than its electrical conductivity. An onboard oscillator (a TLC555 CMOS timer on the v1.2 revision, replacing the NE555 used on earlier boards) drives the sensing area of the PCB, and the circuit converts the resulting capacitance into a steady DC voltage on the AOUT pin. Because the probe never passes current directly through the soil, its sensing surface does not corrode the way the exposed metal prongs of cheap resistive sensors do.

The module runs on 3.3V to 5.5V and exposes just three connections: red VCC, black GND, and yellow AOUT. The output is a plain analog voltage that moves inversely with moisture: drier soil reads a higher voltage and wetter soil reads a lower one. Powered at 3.3V, a typical unit sits near 3.0V in dry air and drops toward 1.5V when the tip is submerged, which maps comfortably onto a microcontroller's 10-bit ADC.

There is no digital interface, no I2C address, and no library protocol to speak of. Any board with an analog input, such as an Arduino Uno, Nano, or an ESP32, can read it with a single ADC call. The tradeoff is that raw readings depend on soil type, packing, and unit-to-unit variation, so the sensor must be calibrated against known dry and wet references before its numbers mean anything.

Capacitive Soil Moisture v1.2 pinout

PinFunctionType
GND Black / GNDPowerPower in
VCC Red / VCCPowerPower in
AOUT Yellow / AOUTAnalog soil moisture voltageDigital output

Specifications

Operating voltage
3.3 V (max 5.5 V)
Interface
analog
Dimensions
23 × 9.5 × 98 mm

Verified from the Tinkered component library · Generic HW-101 / DFRobot-style module.

Circuit requirements

  • Supply VCC with 3.3V to 5.5V; the module draws only a few milliamps and can run directly off an Arduino 3.3V or 5V pin.
  • AOUT is a pure analog output. Wire it to an ADC-capable pin (A0-A5 on an Uno) and read it with analogRead(). No pull-up or pull-down resistors are required.
  • There is no digital or I2C mode on this board; the single analog voltage is the only signal.
  • Match the supply to the ADC reference where possible. Powering the sensor from the same rail the ADC references keeps the readings scaled predictably.
  • Calibrate before use: record the raw ADC value in dry air and again with the tip in water, then map readings between those two endpoints.
  • Insert the probe only up to the marked line so the sensing area is in soil while the header and electronics stay above the surface. The board is not waterproof, and a conformal or epoxy coating on the lower section extends its field life.
  • Average several samples per reading; the analog output settles quickly but benefits from smoothing to reject noise from long lead wires.

Board compatibility

The Capacitive Soil Moisture v1.2 connects to any of the microcontrollers supported in Tinkered. Mind the 3.3 V logic level on 3.3 V boards.

Common Capacitive Soil Moisture v1.2 mistakes

Burying the whole board

Only the lower sensing region is meant for soil. Pushing the probe in past the max line, or leaving it in wet soil uncoated, lets moisture reach the traces, header, and timer chip, causing drift, shorts, and eventual corrosion.

Assuming higher reading means wetter

Unlike a resistive fork sensor, this probe's output voltage is inverse to moisture. Dry soil gives a higher voltage and ADC count; wet soil gives a lower one. Getting the direction backward inverts every threshold in your sketch.

Skipping calibration

Raw values vary with soil type, compaction, supply voltage, and even between two of the same modules. Copying someone else's dry/wet thresholds usually produces wrong percentages. Always take your own air and water reference readings.

Expecting a waterproof sensor

Despite the exposed board looking sealed, the thin solder-mask ink is not durable in wet soil. Units left in pots for months often corrode along the sensing edge unless the lower section is coated with epoxy or heat-shrink.

Powering continuously and ignoring supply mismatch

Leaving the sensor energized around the clock adds unnecessary corrosion stress and self-heating; power it only when sampling. Also, powering at 5V while the ADC references 3.3V (or vice versa) skews the mapping if you forget to account for it.

Capacitive Soil Moisture v1.2 datasheet

Official Capacitive Soil Moisture v1.2 datasheetGeneric HW-101 / DFRobot-style module

Popular Capacitive Soil Moisture v1.2 projects

Automatic plant watering system

Read the analog moisture level, compare it to a calibrated dry threshold, and switch a relay or MOSFET to drive a small pump so a plant waters itself.

Houseplant water-me alert

Show the moisture percentage on an LCD 1602 or OLED and light an LED or sound a piezo buzzer when the soil crosses the dry setpoint.

IoT garden monitor

Pair the sensor with an ESP32 or ESP8266 to log soil moisture to a dashboard or phone notification, tracking trends across a garden bed or greenhouse.

Data-logging soil study

Sample the analog output at intervals and record it to an SD card or RTC-timestamped log to compare drying curves between different soils or watering schedules.

Build with the Capacitive Soil Moisture v1.2.

Drop the Capacitive Soil Moisture v1.2 into a circuit, write firmware, and simulate it in your browser, then deploy to real hardware. All in one editable Tinkered project.