Loading...

Wednesday, March 03, 2021

Water Irrigation System Using Arduino & Moisture Sensor

water irrigation system

INTRODUCTION

Hello friends welcome back. In this tutorial, I am going to show you “How to make automatic Water Irrigation System Using Arduino & Moisture Sensor,” Sometimes during summer plants get dead due to lack of water also due to carelessness of peoples they not watering a plant due to laziness & results in  plant get dead. Sometimes people go on a vaccation so we need an automatic system which feeds water to plants when a moisture level goes below & watering turn off when moisture level is good,so, we make this project to watering plants automatic when moisture level goes below. 
Let’s See how it works :- 
We use arduino Microcontroller & Moisture sensor to makes this project. The moisture sensor measure the moisture level in soil & send data to arduino. In arduino Code we set a value 400 as the moisture sensor value will be 400 or less than 400 the Arduino trigger the relay & the water pump connected across the relay get turn ON watering plant, When moisture level reach to high (1024) the Arduino turn of the pump automatically. So let’s make it.

MATERIAL REQUIRED

To make this project we need some Components :-
  1. Arduino Uno X 1
  2. Soil Moisture Sensor X 1
  3. LCD Display (16×2) X 1
  4. Submersible Pump X 1
  5. Trimpot (10K) X 1
  6. Relay (5V) X 1
  7. Male & Female Berge Strip X 1Nos
  8. Diode (1N4007) X 1
  9. Battery (9V)Battery Cap X 1
  10. Adapter (12V/1amp) X 1
  11. LED (Red,5mm) X 1
  12. Resistor (470E) X 1
  13. Single Side Copper Clad Board (8″x8″) X 1
  14. Transistor (BC547) X 1
  15. Ferric Chloride Powder X 1
  16. PCB Drill Machine X 1
 
 

CIRCUIT DIAGRAM

water irrigation system using arduino

LET'S MAKE PCB

Follow the following steps to make PCB using “Tonner transfer Technic”
  1. 1.Take a print on photo paper using tonner powder filled printer.
  2. 2.Cut PCB as per layout size.
  3. 3.Use non water – Iron to transfer tonner on PCB.
  4. 4.After tonner transfer successfully, take a 2-3 spoon of ferric chloride in water.
  5. 5.Place PCB in the solution for 5-10 min.
  6. 6.Clean the PCB with the help of PCB Cleaner.
  7. 7.Drill the PCB using drill machine.
  8. 8.Place all components on PCB as shown in 3D PCB layout.
  9. 9.Solder components on PCB.
  10. 10.Now your PCB Completed.
PCB Layout Link are given Below

ARDUINO CODE

/*
 * Hello Friends welcome to Techno-E-solution
 * Here is the code for Water Irrigation System Using arduino Uno
 */

int moistureSensor = 0;
int motor = 2;
#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,6,5,4,3);
void setup() {
Serial.begin(9600);
lcd.begin(16,2);
pinMode(motor,OUTPUT);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("    WEL-COME ");
  delay(2000);
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("WATER IRRIGATION");
  lcd.setCursor(0,1);
  lcd.print("     SYSTEM");
  delay(3000);
  lcd.clear();
  int SensorValue = analogRead(moistureSensor);
  if(SensorValue >=400)
{
lcd.setCursor(0,0);
lcd.print("STATUS ....");   
lcd.setCursor(0,1);
lcd.print("        DRY SOIL");
delay(5000);
lcd.clear();
} 
else
{ 
 lcd.setCursor(0,0);
lcd.print("STATUS ....");
lcd.setCursor(0,1);
lcd.print("      HUMID SOIL");
delay(5000);
lcd.clear(); 
}
 }
void loop(){

  int SensorValue = analogRead(moistureSensor);
  lcd.setCursor(0,0);
  lcd.print("SENSOR VAL =");
  lcd.println(SensorValue);

if(SensorValue >=400)
{
   
digitalWrite(motor,HIGH);
lcd.setCursor(0,1);
lcd.print("   *WATERING* ");
} 
else
{ 
digitalWrite(motor,LOW);
lcd.setCursor(0,1);
lcd.print(" *NOT WATERING*"); 
}
 }

DEMONSTRATION

If you Like this project follow us on :- 
YOUTUBE | INSTAGRAM | FACEBOOK | INSTRUCTABLES | HACKSTER | DAILYMOTION

Leave a Reply

Your email address will not be published. Required fields are marked *