DIY ELECTRONICSTR

← All parts

Soil Moisture Sensor (YL-69 + LM393)

Sensor

Senses moisture by measuring the soil's resistance with a fork probe; the comparator board gives an analog value and a digital output with an adjustable threshold. A resistive probe corrodes when powered all the time, so power it only while measuring.

Specifications

Probe type
Resistive (YL-69)
Supply voltage
3.3 - 5V DC
Output
Analog (AO) + digital (DO)
Comparator
LM393
Threshold adjustment
Trimmer
Digital output
LOW when moisture is above the threshold
Pins
VCC, GND, DO, AO

Shop prices

Prices read from the shops' pages on 22 October 2026. Prices and stock may have changed since; check at the shop before you buy.

Projects with this part

In the app, tick off every wire, match the parts to your inventory and pick up where you left off.

Build it step by step in the app