Automatic Irrigation System

ABSTRACT

In the field of agriculture, proper irrigation facilities are always important. This project develops an automatic irrigation system which senses the moisture content of the soil and turns the water pump on and off accordingly. The system consists of a micro-controller, moisture sensor, water pump and an LCD display. The moisture content of the soil is detected by the moisture sensor and the same is displayed on the LCD display. If the soil moisture content is low, then the system automatically triggers the water pump ON. The system checks the moisture content repeatedly and turns the water pump OFF when the moisture content is proper. In this way, the system reduces human intervention and still ensures proper irrigation.

BLOCK DIAGRAM

 

PROGRAM

#include <LiquidCrystal.h>
LiquidCrystal lcd(A0,A1,A2,A3,A4,A5);

int sensor_pin =8;
int motp_pin =6;
int motn_pin =7;

void setup() 
{
  pinMode(sensor_pin, INPUT);
  pinMode(motp_pin, OUTPUT);
  pinMode(motn_pin, OUTPUT);
  Serial.begin(9600);
  lcd.begin(16,2);
}


void loop() 
{
  
  if(digitalRead(sensor_pin) == HIGH)
    { 
  Serial.print("dry");
  lcd.print("SOIL IS DRY");
  digitalWrite(motp_pin,HIGH);
  digitalWrite(motn_pin,LOW);
    }
  
  else 
    {
   Serial.print("WET");
   lcd.print("SOIL IS WET   ");
   digitalWrite(motp_pin,LOW);
   digitalWrite(motn_pin,LOW);
    }
}

 

CIRCUIT DIAGRAM

Click here to watch demonstration : 

https://www.youtube.com/watch?v=k532GgigNA0

 

User Review (6)

kristin burger  

Howdy an greatly immense much recognized from my side for you. The compelling and obligatory web journal you've got composed for us. More regularly than not basic for the journalists and understudies as well. i will be related iPhone Back Glass Replacement with you people bunches to start an bewildering web journal like this.

Reply  Report Abuse   11 May,2022 03:05

rosa anderson  

Sounding so beautiful! i read all the blogs you have written . Most of the classical words i was observing you have written in our blog. Hope in the upcoming time you will enjoy my fashion words on outfits yellowstone merchandise

Reply  Report Abuse   11 May,2022 02:05

amyu suka  

Thank you for your post. I have read through several similar topics! However, your article gave me a very special impression, unlike other articles. I hope you continue to have valuable articles like this or more to share with everyone! wheel spinner

Reply  Report Abuse   11 May,2022 12:05

sunny hall  

This is a great blog post. I found many useful articles on this website. The 2 games gartic phone and ovo game that I will introduce today are some of the hottest games today. Let's play and enjoy it

Reply  Report Abuse   07 May,2022 12:05

Christine John  

Indeed proper irrigation systems are important in the field of agriculture because without the proper system you can't get 100% results. https://eazyresearch.com/services/persuasive-essay-writing/

Reply  Report Abuse   11 February,2022 01:02

candy mika  

This blog was really great, never seen a great blog like this before. I think I'm gonna share this with my friends. earn to die

Reply  Report Abuse   14 January,2022 12:01
Related Items