1. Einleitung
The Stemedu Capacitive Analog Soil Moisture Sensor Module (V1.2) is designed for detecting soil humidity. Unlike traditional resistive sensors, this module utilizes a capacitive sensing principle, which significantly reduces corrosion issues and extends its operational lifespan. It is suitable for various DIY electronic projects, including those involving Arduino and Raspberry Pi, for applications such as garden plant monitoring, moisture detection, and intelligent agriculture systems.

Image 1.1: The Stemedu Capacitive Analog Soil Moisture Sensor Module (V1.2) shown with its connecting cable. The sensor features a black PCB with a pointed end for soil insertion and a white connector for the cable.
Produkt überview Video
Video 1.1: An official product video from Stemedu providing an overview of the Capacitive Analog Soil Moisture Sensor Module, including its packaging and general appearance.
2. Hauptmerkmale
- Capacitive Sensing: Utilizes capacitive sensing to detect soil moisture, offering improved corrosion resistance compared to resistive sensors.
- Breites Betriebsvoltage: Funktioniert innerhalb eines VolumenstagDer Bereich von 3.3 V bis 5.5 V DC.
- Analogausgang: Provides an analog output voltage from 0V to 3.0V DC, allowing for precise moisture level readings.
- Standardschnittstelle: Features a PH2.54-3P interface for easy connection. Pinout includes Analog signal output, GND, and VCC.
- Robuste Leistung: Exhibits good linearity, repeatability, small hysteresis, and fast response.
- Betriebstemperatur: Can be used in humidity environments ranging from -10°C to 60°C.
- Kompaktes Design: Small size for easy integration into various projects.
3. Einrichtung und Verbindung
This section details the steps for connecting the Capacitive Analog Soil Moisture Sensor Module to a microcontroller, such as an Arduino board.
3.1 Schaltplan
Connect the sensor to your microcontroller using the provided PH2.54-3P cable according to the following pinout:
- VCC (roter Draht): Connect to the 3.3V or 5V power supply of your microcontroller. The sensor supports 3.3V to 5.5V DC input.
- GND (Schwarzer Draht): Connect to the Ground (GND) pin of your microcontroller.
- Analog Output (Yellow Wire): Connect to an Analog Input pin (e.g., A0) on your microcontroller.

Image 3.1: A clear wiring diagram illustrating how to connect the Capacitive Analog Soil Moisture Sensor Module to an Arduino Uno board. The red wire connects to 5V, the black wire to GND, and the yellow wire to Analog Pin A0 on the Arduino.
3.2 Erstes Einschalten
Once wired, apply power to your microcontroller. The sensor will immediately begin to output an analog voltage corresponding to the detected moisture level. No specific initialization is required for the sensor itself, but your microcontroller will need appropriate code to read the analog input.
4. Bedienung
The sensor measures soil moisture by detecting changes in capacitance. As the moisture content in the soil changes, the dielectric constant of the soil also changes, which in turn affects the capacitance of the sensor. This change in capacitance is converted into an analog voltage Ausgabe.
4.1 Platzierung der Sensoren
For accurate readings, insert the sensor into the soil up to the recommended depth. Avoid submerging the electronic components (the top part with the white connector) in water, as this can damage the module. The "Warning Line" indicates the maximum safe immersion depth for the sensor probe.

Image 4.1: A diagram illustrating the proper insertion depth for the capacitive soil moisture sensor into the soil. It shows a "Warning Line" above which the electronic components should remain dry, and a "Recommended depth" for optimal moisture detection.
4.2 Reading Analog Output
Der Sensor liefert ein analoges Volumensignal.tage output (0-3.0V DC) that is inversely proportional to the soil moisture level. A higher voltage typically indicates drier soil, while a lower voltage indicates wetter soil. You will need to read this analog value using your microcontroller's Analog-to-Digital Converter (ADC) and then map it to a meaningful moisture percentage or level.
Example (Arduino):
int sensorPin = A0; // Analog input pin connected to the sensor
int sensorValue = 0; // Variable to store the sensor value
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
sensorValue = analogRead(sensorPin); // Read the analog value from the sensor
Serial.print("Raw Sensor Value: ");
Serial.println(sensorValue);
// Further processing/calibration can be added here
delay(1000); // Wait for a second before the next reading
}
5. Wartung
While the capacitive design offers superior corrosion resistance compared to resistive sensors, proper care can further extend the lifespan and accuracy of your sensor module.
- Halten Sie die Elektronik trocken: Always ensure that the electronic components (the top part of the PCB with the connector) remain above the soil surface and are not exposed to water or excessive humidity.
- Regelmäßige Reinigung: Periodically remove the sensor from the soil and gently wipe the probe clean of any accumulated soil or debris.
- Kalibrierung: For precise applications, it is recommended to calibrate the sensor. This typically involves taking readings in completely dry soil (or air) and in saturated soil (or water) to establish the full range of values for your specific soil type.
- Verwendung im Außenbereich: If using the sensor outdoors, consider applying a conformal coating or epoxy to the electronic board to protect it from environmental elements and moisture, as the board itself is not waterproof.
6. Fehlerbehebung
| Problem | Mögliche Ursache | Lösung |
|---|---|---|
| No or erratic analog output. | Incorrect wiring, insufficient power, faulty sensor, or incorrect analog input pin. |
|
| Readings do not seem accurate or consistent. | Lack of calibration, sensor not fully inserted, or varying soil conditions. |
|
| Sensor stops working after exposure to water. | Electronic components were submerged or exposed to moisture. |
|
7. Spezifikationen
| Besonderheit | Detail |
|---|---|
| Modellnummer | ST3107X5 (V1.2) |
| Arbeitsvolumentage | 3.3V ~ 5.5V Gleichstrom |
| Ausgangsvolumentage | 0V ~ 3.0V Gleichstrom |
| Schnittstelle | PH2.54-3P (Analog signal output, GND, VCC) |
| Maße | 3.9 x 2 x 0.2 Zoll (ca. 99 x 51 x 5 mm) |
| Artikelgewicht | 0.317 Unzen (ca. 9 Gramm) |
| Betriebstemperatur | -10°C bis 60°C |

Image 7.1: Circuit schematic diagram for the V1.2 Capacitive Analog Soil Moisture Sensor, showing internal components and connections.
8. Garantie und Support
Stemedu products are designed for reliability and performance. For specific warranty information, please refer to the product packaging or contact your retailer. For technical support, inquiries, or assistance with your Capacitive Analog Soil Moisture Sensor Module, please visit the official Stemedu webWebsite oder wenden Sie sich an die Kundendienstabteilung.
Online-Ressourcen: