HomeStore

Soil Moisture Sensor Module

Product image 1
Product image 2

Soil Moisture Sensor Module

Soil Moisture Sensor Module

Soil Moisture Sensor Module

As the name implies, a soil moisture sensor measures soil moisture level. This can be particularly helpful if you want to accurately determine when plants need to be watered or assess how fast water drains at a specific location.

Technical Specifications

  • Operating Current: 15mA
  • Operating Voltage: 3.3V to 5V DC
  • Output Digital: 0V to 5V, Adjustable trigger level from preset
  • Output Analog: 0V to 5V based on infrared radiation from fire flame falling on the sensor
  • LEDs indicating output and power

Pinouts:

Connection with Arduino:

Module

Arduino UNO

VCC

5V

GND

GND

A0

Pin A0

D0

Pin 4

 

Analog Output Option:

Digital Output Option:

Sample code:

Analog Output Option:

int Moisture_signal = A0; //Define the Analog pin# on the Arduino for the soil moisture sensor signal

 

void setup() {

  Serial.begin(9600); // Start the serial communication

}

 

void loop() {

  int Moisture = analogRead(Moisture_signal);

  Serial.print("Soil Moisture Level: ");

  Serial.println(Moisture);

  delay(200);

}

 

Digital Output Option:

int Moisture_signal = 4; //Define the Digital Input on the Arduino for the sensor signal

int Sensor_State = 1;

void setup() {

  pinMode(Moisture_signal, INPUT); //Step pin as input

  Serial.begin(9600); // Start the serial communication

}

 

void loop() {

  Serial.print("Soil Moisture Level: ");

  Sensor_State = digitalRead(Moisture_signal);

  if (Sensor_State == 1) {

    Serial.println("Soil is moist");

  }

  else {

    Serial.println("Soil is dry");

  }

  delay(200);

}

$0.41
Soil Moisture Sensor Module
$0.41

Product Information

Shipping & Returns

Description

Soil Moisture Sensor Module

As the name implies, a soil moisture sensor measures soil moisture level. This can be particularly helpful if you want to accurately determine when plants need to be watered or assess how fast water drains at a specific location.

Technical Specifications

  • Operating Current: 15mA
  • Operating Voltage: 3.3V to 5V DC
  • Output Digital: 0V to 5V, Adjustable trigger level from preset
  • Output Analog: 0V to 5V based on infrared radiation from fire flame falling on the sensor
  • LEDs indicating output and power

Pinouts:

Connection with Arduino:

Module

Arduino UNO

VCC

5V

GND

GND

A0

Pin A0

D0

Pin 4

 

Analog Output Option:

Digital Output Option:

Sample code:

Analog Output Option:

int Moisture_signal = A0; //Define the Analog pin# on the Arduino for the soil moisture sensor signal

 

void setup() {

  Serial.begin(9600); // Start the serial communication

}

 

void loop() {

  int Moisture = analogRead(Moisture_signal);

  Serial.print("Soil Moisture Level: ");

  Serial.println(Moisture);

  delay(200);

}

 

Digital Output Option:

int Moisture_signal = 4; //Define the Digital Input on the Arduino for the sensor signal

int Sensor_State = 1;

void setup() {

  pinMode(Moisture_signal, INPUT); //Step pin as input

  Serial.begin(9600); // Start the serial communication

}

 

void loop() {

  Serial.print("Soil Moisture Level: ");

  Sensor_State = digitalRead(Moisture_signal);

  if (Sensor_State == 1) {

    Serial.println("Soil is moist");

  }

  else {

    Serial.println("Soil is dry");

  }

  delay(200);

}

You may also like

-70%
Thumbnail 1

MQ2 Smoke and Flammable Gas Sensor

$0.92

$0.28

Thumbnail 1Thumbnail 2

DHT11 Temperature And Humidity Sensor Module with LED

$0.86

Thumbnail 1Thumbnail 2

Raindrops Detection Sensor Module

$0.54

Thumbnail 1Thumbnail 2

W1209 Digital Temperature Controller Thermostat Module

$0.92

Thumbnail 1Thumbnail 2

LM75A Temperature Sensor Module

$1.57

-71%
Thumbnail 1Thumbnail 2

3 Pin NTC Thermistor Temperature Sensor Module

$0.38

$0.11

-69%
Thumbnail 1Thumbnail 2

HR202 Humidity Detection Sensor Module

$0.65

$0.20

Thumbnail 1Thumbnail 2

5-Channel Flame Sensor Module

$1.41

Thumbnail 1Thumbnail 2

Flame Sensor Infrared Receiver Ignition Source Detection Module

$0.38

-70%
Thumbnail 1Thumbnail 2

MAX6675 Module with K Type Thermocouple Sensor Probe

$3.89

$1.17

-70%
Thumbnail 1Thumbnail 2

DHT22 AM2302 Digital Temperature and Humidity Sensor Module

$2.16

$0.65