Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Agriculture & Smart Farming

Drip Irrigation Controller: Arduino Automated Watering for Indian Farms

Drip Irrigation Controller: Arduino Automated Watering for Indian Farms

April 1, 2026 /Posted by / 0

A drip irrigation controller built with Arduino can save Indian farmers up to 60% of water consumption while improving crop yields by delivering precisely the right amount of water to plant roots. Whether you are growing tomatoes in Maharashtra, grapes in Nashik, or chilies in Andhra Pradesh, this automated watering system eliminates the guesswork from irrigation scheduling and works even when you are away from the field.

Table of Contents

  • Why Automate Drip Irrigation
  • Components Required
  • Wiring the System
  • Arduino Code for Irrigation Control
  • Soil Moisture Sensor Calibration
  • Solenoid Valve and Relay Control
  • Time-Based and Sensor-Based Scheduling
  • Frequently Asked Questions
  • Conclusion

Why Automate Drip Irrigation

India faces a severe water crisis with groundwater levels dropping in 60% of districts. Traditional flood irrigation wastes 40-50% of water to evaporation and runoff. Drip irrigation already saves water, but manual timer-based systems still overwater because they do not account for actual soil conditions, recent rainfall, or crop growth stage.

An Arduino-based automated controller reads soil moisture in real time and opens solenoid valves only when water is actually needed. Benefits include:

  • 30-50% additional water savings over timer-based drip systems
  • Reduced electricity costs for borewell pumps
  • Consistent soil moisture prevents crop stress and improves quality
  • Remote monitoring via GSM module for farmers managing distant plots
🛒 Recommended: Arduino Uno R3 CH340G Development Board — The ideal microcontroller for building your drip irrigation controller with multiple analog inputs for soil sensors.

Components Required

Component Quantity Approx. Price (₹)
Arduino Uno R3 1 450
Capacitive Soil Moisture Sensor v1.2 3-4 100 each
12V Solenoid Valve (1/2 inch) 2-4 300 each
4-Channel Relay Module (5V) 1 180
DS3231 RTC Module 1 120
16×2 LCD with I2C Adapter 1 200
12V 2A Power Adapter 1 150
DHT22 Sensor (optional) 1 250
Waterproof Enclosure (IP65) 1 200

Total cost: approximately ₹2,500-3,500 depending on the number of zones.

Wiring the System

// Arduino Uno Wiring
// Soil Moisture Sensor 1: VCC→5V, GND→GND, AOUT→A0
// Soil Moisture Sensor 2: VCC→5V, GND→GND, AOUT→A1
// Soil Moisture Sensor 3: VCC→5V, GND→GND, AOUT→A2
// Relay Module: VCC→5V, GND→GND, IN1→D7, IN2→D8, IN3→D9, IN4→D10
// DS3231 RTC: VCC→5V, GND→GND, SDA→A4, SCL→A5
// LCD I2C: VCC→5V, GND→GND, SDA→A4, SCL→A5
// DHT22: VCC→5V, GND→GND, DATA→D4 (10kΩ pull-up)

Connect each solenoid valve to a relay channel. The relay provides the 12V switching required for solenoid valves while isolating the Arduino’s 5V logic from the higher voltage. Always use a flyback diode (1N4007) across the solenoid coil to suppress voltage spikes when the relay switches off.

🛒 Recommended: DHT22 Temperature and Humidity Sensor Module — Add temperature and humidity monitoring to your irrigation system for evapotranspiration-aware watering decisions.

Arduino Code for Irrigation Control

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <RTClib.h>

#define SOIL_1 A0
#define SOIL_2 A1
#define SOIL_3 A2
#define RELAY_1 7
#define RELAY_2 8
#define RELAY_3 9

// Moisture thresholds (calibrate for your soil)
#define DRY_THRESHOLD 40   // Below this = needs water
#define WET_THRESHOLD 70   // Above this = stop watering

LiquidCrystal_I2C lcd(0x27, 16, 2);
RTC_DS3231 rtc;

int readMoisture(int pin) {
  int raw = analogRead(pin);
  // Capacitive sensor: lower value = wetter
  return map(raw, 600, 280, 0, 100);
}

void setup() {
  Serial.begin(9600);
  lcd.init(); lcd.backlight();
  rtc.begin();
  
  pinMode(RELAY_1, OUTPUT);
  pinMode(RELAY_2, OUTPUT);
  pinMode(RELAY_3, OUTPUT);
  // Relays OFF at startup (active LOW)
  digitalWrite(RELAY_1, HIGH);
  digitalWrite(RELAY_2, HIGH);
  digitalWrite(RELAY_3, HIGH);
}

void loop() {
  DateTime now = rtc.now();
  int m1 = readMoisture(SOIL_1);
  int m2 = readMoisture(SOIL_2);
  int m3 = readMoisture(SOIL_3);
  
  // Only irrigate between 6 AM and 6 PM
  if (now.hour() >= 6 && now.hour() < 18) {
    digitalWrite(RELAY_1, m1 < DRY_THRESHOLD ? LOW : HIGH);
    digitalWrite(RELAY_2, m2 < DRY_THRESHOLD ? LOW : HIGH);
    digitalWrite(RELAY_3, m3 < DRY_THRESHOLD ? LOW : HIGH);
  } else {
    // Night: all valves off
    digitalWrite(RELAY_1, HIGH);
    digitalWrite(RELAY_2, HIGH);
    digitalWrite(RELAY_3, HIGH);
  }
  
  lcd.setCursor(0, 0);
  lcd.print("M1:" + String(m1) + " M2:" + String(m2));
  lcd.setCursor(0, 1);
  lcd.print("M3:" + String(m3) + " " + String(now.hour()) + ":" + String(now.minute()));
  
  delay(60000); // Check every minute
}

Soil Moisture Sensor Calibration

Calibration is essential because different soil types in India have vastly different moisture characteristics. Red soil in Karnataka retains less water than black cotton soil in Vidarbha. To calibrate:

  1. Note the sensor reading in dry air (this is your 0% value)
  2. Submerge the sensor in water (this is your 100% value)
  3. Use the map() function to convert raw ADC readings to percentage
  4. Verify against known field capacity values for your soil type (available from your local Krishi Vigyan Kendra)
🛒 Recommended: DS18B20 Waterproof Temperature Probe 1m — Monitor soil temperature alongside moisture for comprehensive root zone analysis in your irrigation system.

Solenoid Valve and Relay Control

Use 12V DC normally-closed solenoid valves for fail-safe operation: if the Arduino loses power, all valves close automatically and prevent water wastage. The relay module controls the 12V supply to each valve. Key considerations:

  • Size valves for your drip line flow rate (typically 1/2″ for small farms, 3/4″ for larger plots)
  • Install a mesh filter before the solenoid to prevent clogging from well water sediment
  • Use a separate 12V supply for valves, sharing only ground with Arduino
  • Add indicator LEDs on each relay output for visual confirmation in the field

Time-Based and Sensor-Based Scheduling

The best approach combines both methods. Use the RTC module for time windows (only irrigate between 6 AM and 6 PM to reduce evaporation) and soil moisture sensors for actual need detection within those windows. For the monsoon season (June-September), increase the DRY_THRESHOLD to avoid any irrigation during naturally wet periods. For peak summer (April-May), decrease it to trigger irrigation earlier as water stress is more damaging.

🛒 Recommended: LM35 Temperature Sensor — Analogue temperature sensor for ambient temperature monitoring in irrigation scheduling decisions.

Frequently Asked Questions

Can this work with a borewell pump instead of municipal water?

Yes. Add a water level sensor in your storage tank and a relay to control the pump. Programme the Arduino to fill the tank when it drops below 30% and stop at 90% to prevent overflow. The irrigation valves draw from this tank.

How do I protect electronics from monsoon rain?

Use an IP65 rated enclosure with cable glands for wire entry. Mount it above ground level to avoid flooding. Apply conformal coating on the PCB for additional moisture protection. Most failures come from connector corrosion, so use quality waterproof connectors.

What happens during a power cut?

Normally-closed solenoid valves shut automatically when power is lost. The DS3231 RTC has a coin cell battery backup that keeps time accurate for years. When power returns, the Arduino resumes normal operation without any intervention.

Can I add GSM remote monitoring?

Yes. A SIM800L module costs around ₹350 and lets you receive SMS alerts for low moisture, valve activation, and system faults. You can also send SMS commands to override automatic controls when needed.

Conclusion

An Arduino-based drip irrigation controller is an affordable and practical upgrade for Indian farms. With components costing under ₹3,500, you can build a multi-zone system that saves water, reduces electricity costs, and improves crop yields. Start with a single zone, calibrate your sensors for local soil conditions, and expand as you see results. Find all the components you need at Zbotic’s online store with fast shipping across India.

Tags: agriculture, Arduino, Drip, India, irrigation
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
PIR Sensor Automatic Light: Sa...
blog pir sensor automatic light save electricity with motion detection 612603
blog engineering project ideas 2026 electronics and iot for final year 612608
Engineering Project Ideas 2026...

Related posts

Svg%3E
Read more

Farm Drone Pilot Training: Course and Certification India

April 1, 2026 0
Table of Contents DGCA Requirements Choosing an RPTO Curriculum and Duration Costs Career Opportunities Practical Tips Commercial agricultural drone operations... Continue reading
Svg%3E
Read more

Crop Insurance Sensor: Weather Data for Claims India

April 1, 2026 0
Table of Contents How PMFBY Works Weather Data for Claims Claim-Ready Weather Station Documenting Damage Insurance Integration Cost-Benefit PMFBY protects... Continue reading
Svg%3E
Read more

Fertigation Controller: Drip Irrigation Nutrient Mixing

April 1, 2026 0
Table of Contents What Is Fertigation EC and pH Monitoring Automated Dosing System Nutrient Schedules Sensor Integration Economics Fertigation through... Continue reading
Svg%3E
Read more

Organic Farm Certification: Monitoring Requirements

April 1, 2026 0
Table of Contents Certification Process Monitoring Requirements Sensor Documentation Soil Health Monitoring Pest Management Records Cost and Premium NPOP organic... Continue reading
Svg%3E
Read more

Agri-Tech Startups India: Technology Partners for Farmers

April 1, 2026 0
Table of Contents India’s Agri-Tech Landscape Advisory Platforms Farm Management Companies Market Linkage Startups Precision Ag Startups Choosing Partners India’s... Continue reading

Add comment Cancel reply

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

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now
Chat with us