SMART IRRIGATION PROJECT USING ARDUINO UNO WITH CIRCUIT AND CODE

 

 Automatic Irrigation System Using Arduino UNO

1️⃣ Introduction

The Automatic Irrigation System is a smart farming solution that waters plants automatically based on soil moisture levels. It uses the Arduino Uno to monitor soil conditions and control a water pump.

When the soil becomes dry → ✅ Motor turns ON
When the soil becomes wet → ❌ Motor turns OFF

This system helps conserve water, reduce manual effort, and promote healthy plant growth.


 2️⃣ Components Required

  • 1 × Arduino Uno

  • 1 × Soil Moisture Sensor

  • 1 × DC Motor / Water Pump

  • 1 × Relay Module

  • Jumper Wires

  • Pipe / Water Source

  • External Power Supply (for pump)


 3️⃣ Working Principle

🔹 Step 1: Soil Monitoring

The soil moisture sensor continuously measures moisture content in the soil.

🔹 Step 2: Data Processing

The sensor sends analog values to the Arduino.

🔹 Step 3: Decision Making

Arduino compares the sensor value with a predefined threshold.

🔹 Step 4: Automatic Control

  • If moisture value < threshold → Soil is dry → 💧 Pump ON

  • If moisture value ≥ threshold → Soil is wet → 🛑 Pump OFF

This loop runs continuously, making the irrigation system fully automatic.


 Basic Circuit Connections

 Soil Moisture Sensor

Sensor PinConnect To
VCC5V
GNDGND
A0Arduino A0

 Relay Module

Relay PinConnect To
INArduino Pin 7
VCC5V
GNDGND

Pump is connected through relay (external power supply).

 Never power the water pump directly from Arduino.


 Arduino Code

int soilPin = A0;
int relayPin = 7;
int threshold = 500; // Adjust based on calibration

void setup() {
pinMode(relayPin, OUTPUT);
Serial.begin(9600);
}

void loop() {
int moistureValue = analogRead(soilPin);
Serial.println(moistureValue);

if (moistureValue > threshold) {
digitalWrite(relayPin, LOW); // Pump ON
} else {
digitalWrite(relayPin, HIGH); // Pump OFF
}

delay(1000);
}

(Note: Logic may vary depending on relay type – active HIGH or LOW.)


 Features

✅ Fully automatic watering
✅ Water-saving system
✅ Reduces manual labor
✅ Cost-effective solution
✅ Easy to install and maintain


 Applications

  • Home gardening

  • Smart agriculture

  • Greenhouses

  • School and college projects

  • IoT-based irrigation systems


 Advantages

✔ Prevents overwatering
✔ Maintains optimal soil moisture
✔ Improves plant growth
✔ Low power consumption
✔ Expandable for smart farming


 Future Upgrades

You can enhance the project by adding:

 IoT monitoring with mobile alerts
 LCD display for moisture percentage
 Timer-based irrigation control
 Weather-based smart irrigation
 Data logging system
 Solar-powered irrigation system


 What Students Learn

  • Analog sensor interfacing

  • Relay module control

  • Automation logic

  • Embedded systems basics

  • Sustainable technology design



BEGINNER PROJECTS (Foundation Skills)

  1. Ultrasonic Distance Measurement
  2. Traffic Light Simulation with 7-Segment Display
  3. 7-Segment Display Counter
  4. Kids Piano Circuit (8-Key Version)
  5. 16×2 LCD Display with Text Output
  6. LCD I2C to Arduino UNO
  7. Temperature Measurement using Arduino UNO
  8. LDR Controlled Street Light

INTERMEDIATE PROJECTS (Build Your Skills)

  1. Servo Motor Control Using Potentiometer
  2. DC Motor Speed Control
  3. Temperature Controlled Fan
  4. PIR Based Theft Alert System
  5. LPG Gas Leakage Detection System
  6. Automatic Door Locking System
  7. Soil Moisture Based Automatic Watering System
  8. Simple Digital Clock using Arduino UNO
  9. Automatic Voting Machine (EVM)
  10. Joystick Control using Arduino Uno
  11. RGB Lamp Control using Arduino Uno

    ADVANCED PROJECTS (Master Level)

    1. Home Automation Using Arduino UNO
    2. Bluetooth RC Car using Arduino Uno
    3. Obstacle Avoiding Robot
    4. Line Follower Robot
    5. Radar System Using Arduino UNO
    6. Automatic Parking System
    7. Bi-Directional People Counter using Arduino Uno 
    8. Automatic Plant Watering System
    9. NeoPixel LED Ring Control using Arduino Uno
    10. Smart Gloves for Bedridden People

      ROBOTICS & MOTION PROJECTS

      1. RC Car Using L293D Motor Driver
      2. Robot Arm and Leg Control Using Servo
      3. Smart Irrigation System using Arduino Uno


      Comments