SOIL MOISTURE SENSOR

 SOIL MOISTURE SENSOR

                          A soil moisture sensor measures the quantity of water contained in a material, such as soil on a volumetric or gravimetric basis. Most soil moisture sensors are designed to estimate soil volumetric water content based on the dielectric constant (soil bulk permittivity) of the soil. Thus, measurement of the dielectric constant gives a predictable estimation of water content present in the soil.We can interface soil moisture sensor with Arduino to detect the moisture content of the soil.



Application:

  • Soil moisture sensors are used for measuring the moisture content of soil.
  • Multiple soil moisture sensors are combined to form a soil moisture probe.
  • Used for Irrigation purpose in agriculture land to supply correct amount of water.

Sample Project with Arduino:

                                In this we going to turn ON the LED when the soil moisture sensor senses the moisture(water content) in the soil.And turn OFF the LED when sensor didn't senses the moisture in the soil.

Materials required:

  • ARDUINO UNO Board
  • Soil Moisture Sensor
  • LED

Circuit:


Code:

int led =13;  //initialize LED in pin 13

int sensor =8;  // initialize soil moisture sensor in pin 8

void setup()

{         

 pinMode(led, OUTPUT);  //defining led as output

  pinMode(sensor, INPUT);  // defining soil moisture sensor as input

}

void loop()

{

if(digitalRead(sensor) == HIGH) {

  digitalWrite(led, HIGH);  //if the sensor senses moisture in soil, then turn ON the led

}

else {

  digitalWrite(led, LOW);  //if the soil is dry without moisture, turn OFF the led

  delay(1000);

}

}

 


Comments

Popular posts from this blog

Voice Record & Playback Module

GSM Sim800L

GPS