Capacitive Soil Moisture Sensor

  1. Operating Voltage: 3.3 ~ 5.5 VDC.
  2. Operating Current: 5mA.
  3. Interface: PH2.54-3P.
  4. Dimensions mm(LxWxH): 98 x 23 x 4.
  5. Supports 3-Pin Gravity Sensor interface
  6. Analog output.
  7. Weight (gm): 15.

Apple Shopping Event

Hurry and get discounts on all Apple devices up to 20%

90,00 EGP

11 People watching this product now!

Payment Methods:

Description

This Capacitive soil moisture sensor measures soil moisture levels by capacitive sensing rather than resistive sensing like other sensors on the market. It is made of corrosion-resistant material which gives it excellent service life. Insert it into the soil around your plants and impress your friends with real-time soil moisture data!
 
This module includes an onboard voltage regulator which gives it an operating voltage range of 3.3 ~ 5.5V. It is perfect for low-voltage MCUs, both 3.3V, and 5V. For compatibility with a Raspberry Pi, it will need an ADC converter.
 
This soil moisture sensor is compatible with our 3-pin “Gravity” interface, which we can connect to the Gravity I/O expansion shield.
Applications:
  1. Garden plants
  2. Moisture detection
  3. Intelligent agriculture
 
Note: This module is available in different versions. The V1.2 version sensor can work with only 5v while the V2.0 version sensor works with both 3.3V and 5V
 
 
Circuit Diagram of Moisture Sensor Compatible with Arduino and Display:

Generic Sensor 1

 
Software

To Explore More Moisture Sensors, Click here


Features:

  1. Supports 3-Pin Gravity Sensor interface
  2. Analog output

Package Includes:

1 x Capacitive Soil Moisture Sensor

🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
Soil SensorVCC/GND/AOUT3.3-5V / GND / board analog pin
📟
Capacitive Soil Moisture Sensor
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
Capacitive Soil Moisture Sensor - Arduino Uno
Capacitive Soil Moisture Sensor - Arduino Nano
Capacitive Soil Moisture Sensor - Arduino Mega
Capacitive Soil Moisture Sensor - ESP32
Capacitive Soil Moisture Sensor - ESP8266
Capacitive Soil Moisture Sensor - STM32
Capacitive Soil Moisture Sensor - Raspberry Pi Pico
📄 File: capacitive_soil_moisture_sensor_-_arduino_uno.inoArduino Uno
538 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin A0 on Arduino Uno. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN A0
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 5.0 / 1023.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_arduino_nano.inoArduino Nano
539 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin A0 on Arduino Nano. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN A0
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 5.0 / 1023.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_arduino_mega.inoArduino Mega
539 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin A0 on Arduino Mega. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN A0
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 5.0 / 1023.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_esp32.inoESP32
532 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin 34 on ESP32. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN 34
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 3.3 / 4095.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_esp8266.inoESP8266
534 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin A0 on ESP8266. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN A0
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 3.3 / 1023.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_stm32.inoSTM32
534 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin PA0 on STM32. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN PA0
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 3.3 / 4095.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
📄 File: capacitive_soil_moisture_sensor_-_raspberry_pi_pico.inoRaspberry Pi Pico
544 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// Analog pin 26 on Raspberry Pi Pico. Lower reading = wetter soil (less resistance between probes).
6#define SOIL_PIN 26
7
8void setup() {
9 Serial.begin(115200);
10}
11
12void loop() {
13 int raw = analogRead(SOIL_PIN);
14 float voltage = raw * 3.3 / 4095.0;
15
16 Serial.print("Soil moisture raw: "); Serial.print(raw);
17 Serial.print(" Voltage: "); Serial.print(voltage);
18 Serial.println(raw < 500 ? " -> Wet" : " -> Dry"); // calibrate threshold for your own soil/probe
19
20 delay(1000);
21}
Capacitive (corrosion-resistant) analog soil moisture sensor.

Specification

Specification

WeightWeight15,0000 g
Dimensions98 × 23 × 4 cm
operating-voltage3.3 ~ 5.5 VDC
output-voltage0 ~ 3.0VDC
operating-current5mA
interfacePH2.54-3P

Customer Reviews