Skip to content
OnlyProjects
B.Tech / B.E. · Agricultural EngineeringFor educational purposes only
Code included

Moisture-Scheduled Drip-Irrigation Controller with Flow-Totalised Water Accounting

Irrigates vegetable beds by soil-moisture thresholds instead of habit, and proves every litre with a flow meter

Mapped to your syllabusVTU 2022 Scheme (OBE/CBCS) · BXX685 (BEI685 / BME685 / BCV685) Major Project Phase-I · Semester 6

Overview

1 min read

Moisture-Scheduled Drip-Irrigation Controller with Flow-Totalised Water Accounting answers the question every irrigation project skips: did the automation actually save water, and how much? Our rig runs a three-week paired trial on two identical tomato beds on the college farm. One bed is irrigated by our Arduino Uno controller — two capacitive soil-moisture sensors at root depth trigger a 12 V solenoid valve whenever the mean reading crosses a threshold set from field capacity minus a 30 per cent management-allowed depletion, and the valve closes on a target volume. The second follows a fixed daily timer mimicking the farmer's habit of watering by the clock.

Every litre through either bed passes a YF-S201 hall-effect flow meter whose pulses the controller counts into per-bed totals, so the comparison ends with numbers, not impressions: litres per bed, litres per event, events per week, and the water saved. A rain sensor skips waterings, an SD card records every event, and a Python pipeline turns the logs into water-accounting tables and plots.

The logic is deliberately conservative — minimum interval, maximum runtime guard, valve verification through the flow meter — because a stuck valve floods a bed or starves it. Sensors are calibrated gravimetrically against weighed soil samples — the step most hobby builds omit, and the one that makes our threshold meaningful. The build costs about ₹6,800 and follows the VTU toolset: C firmware, Python analysis and a lab-to-field workflow our agri-eng batch can defend end to end.

Relevant for
Karnataka
Level
Intermediate · 14 weeks · team of 4
Common at
Visvesvaraya Technological University, Anna University, Chennai, APJ Abdul Kalam Technological University
Updated
Nov 2026

Syllabus alignment

VTU · 2022 Scheme (OBE/CBCS)

BXX685 (BEI685 / BME685 / BCV685) · Major Project Phase-I · Semester 6 · 2 credits · CIE 100

Subjects this project applies
  • C programming (Arduino firmware — scheduling logic and logging)
  • Python (NumPy, Matplotlib) — water-accounting analysis and plots
  • MATLAB / Scilab — sensor calibration curves and event statistics
  • Sensors and measurements — capacitive moisture sensing and flow metering
  • Irrigation engineering (core theory) — drip hydraulics, field capacity and scheduling
How it is evaluated

Team: individual or group ≤ 4, single- or multi-disciplinary

report : presentation : Q&A = 50 : 25 : 25; same report marks for all batch-mates

Also fits: Anna University Regulation 2021, KTU 2019 Scheme.

What's in the box

11 parts · 5 free · 2 previewed · 4 unlock for ₹2,000

Problem & synopsis

6 min read

Problem statement

Drip irrigation saves water compared with flood irrigation, but on most Indian smallholdings the schedule still runs by habit: the valve or pump opens at a fixed time each day regardless of soil condition, season or crop stage. Over-watering wastes water and electricity, leaches nutrients and encourages root disease; under-watering during heat waves stresses the crop. Sensor-based commercial controllers solve this but are priced beyond small growers, and almost none meter the water actually delivered, so nobody can say whether the automation paid for itself.

There is a need for a low-cost, calibrated, moisture-scheduled drip controller with flow-totalised water accounting — one that irrigates from soil-moisture thresholds set by agronomic logic, meters every litre delivered to each bed, logs events transparently, and demonstrates the saving against a fixed-schedule baseline in a controlled paired-bed trial. The system must also be safe to leave unattended: valve-fault detection, runtime guards and rain-skip logic, because automation that fails silently is worse than the habit it replaces.

Synopsis

Abstract

Drip systems are promoted across India under PMKSY's Per Drop More Crop, yet most installed systems are still scheduled by habit — a fixed hour each morning — while the pump runs regardless of what the soil needs. This project builds and tests an Arduino-based drip-irrigation controller that schedules irrigation from soil-moisture thresholds, meters every litre, and quantifies the water saved against a fixed-schedule baseline in a paired-bed trial on tomato.

Introduction

Karnataka's horticulture runs heavily on drip, and KVK extension advice already says what our controller repeats: irrigate at depletion, not by the clock. The advice needs a cheap instrument to execute it and a measurement chain to prove it worked. We built both on two raised beds with inline drip laterals, so the whole argument fits on a college farm plot and in a viva.

Existing system and gap

  • Fixed-schedule operation: the commonest real-world practice — same duration daily, adjusted by feel — over-waters in cool weeks and under-waters in heat.
  • Timer-based upgrades: add convenience but still know nothing about the soil.
  • Commercial sensor-based controllers: exist but are priced beyond small growers, and rarely meter water flow for accounting.
  • Published student builds: usually demonstrate one bed and one sensor, without calibration, comparison or water accounting.
  • Gap: a low-cost controller that schedules from calibrated soil-moisture sensing, meters flow, and proves savings in a paired-bed trial.

Proposed system

  • Sensing: two capacitive soil-moisture sensors per automated bed, calibrated gravimetrically so thresholds are volumetric, not raw counts; a rain sensor to skip events.
  • Scheduling: irrigate when the mean reading falls below field capacity minus a 30 per cent management-allowed depletion; stop at a computed target volume; enforce minimum interval and runtime guard.
  • Actuation: 12 V solenoid valves driven through a relay board with flyback protection; a small pump from an overhead tank supplies both beds identically.
  • Accounting: a YF-S201 flow meter per bed totalises litres; every event is logged to SD and serial with timestamp, litres and sensor readings.
  • Trial: three weeks, two beds — controller-scheduled versus fixed — with identical plants, medium and fertigation, comparing water use and simple plant observations.

Feasibility

  • Technical: capacitive sensors, flow meters, relays and Arduino are all standard modules; the scheduling logic is a small state machine; gravimetric calibration uses an oven and balance the college already owns.
  • Economic: indicative cost ≈ ₹6,800 (Uno ₹600, four capacitive sensors ₹800, two YF-S201 meters ₹700, two solenoid valves ₹900, relay board ₹200, rain sensor ₹150, SD module ₹120, drip kit and laterals ₹900, raised-bed materials ₹1,400, tank, pump and plumbing ₹1,000). The trial reuses the department's existing plot.
  • Operational: the rig runs unattended; the team visits twice daily for readings and photographs; a week of data costs nothing to collect.
  • Schedule: bench development and calibration in weeks 1–8 under the VTU Phase-I umbrella, field installation in week 9, three trial weeks, analysis and documentation in weeks 13–14.

Objectives

  1. 01Design a paired-bed drip trial on the college farm with identical soil, plants and fertigation, differing only in scheduling method.
  2. 02Calibrate capacitive soil-moisture sensors gravimetrically and express thresholds in volumetric terms anchored to field capacity.
  3. 03Implement an Arduino Uno scheduler: depletion threshold, target-volume termination, minimum interval, maximum runtime guard and rain skip.
  4. 04Meter flow to each bed with YF-S201 sensors and totalise litres per event and per bed with valve-fault detection via zero-flow checks.
  5. 05Log every irrigation event with timestamp, litres and sensor readings to SD card and serial for full traceability.
  6. 06Run a three-week comparison against a fixed daily schedule and quantify water saved, events, litres per event and simple plant observations.
  7. 07Publish the water accounting in Python-generated tables and plots with an honest uncertainty discussion of sensors, meter accuracy and weather.

Scope

In scope

  • Two 1.5 m × 1 m raised beds, twelve tomato plants, three trial weeks on the college farm.
  • Two solenoid valves, four capacitive sensors, two flow meters, one rain sensor, one controller, SD logging.
  • Gravimetric sensor calibration and flow-meter verification against a measuring cylinder.
  • Water-accounting analysis: litres per bed, per event, per week; savings percentage; event statistics.
  • Simple plant observations (height, flowering, fruit set) recorded weekly as indicative, not statistical, yield evidence.

Out of scope

  • Yield statistics and agronomic significance testing — three weeks and twelve plants cannot support that, and the report says so.
  • Fertigation automation, EC/pH sensing and pressure regulation beyond the drip kit's built-in regulator.
  • Weather-station integration or ET0-based scheduling — FAO-56 methodology is used only as a cross-check reference.
  • LoRa/GSM telemetry and app dashboards (future scope); the rig logs locally for viva-day reliability.

Methodology

We follow a bench-then-field plan mapped to the VTU two-phase structure: Phase-I (BXX685) covers survey, design and bench calibration; Phase-II (BXX786) covers installation, the field trial and the report.

PhaseWeeksActivitiesOwner(s)Deliverable
Survey and design1–2Irrigation-scheduling literature (FAO-56, KVK advisories), controller designs, trial design freezeAllDesign note, trial plan
Hydraulics build3–4Raised beds, drip laterals, manifold, valves, tank and pump plumbing; leak testsMember CField rig ready
Sensor calibration4–6Gravimetric calibration of capacitive sensors; flow-meter verification against a measuring cylinderMember ACalibration curves and factors
Firmware5–8Scheduler state machine, flow pulse counting, SD logging, fault checksMember BFirmware + bench tests
Host analysis7–9Python log parser, water-accounting tables, plotsMember DAnalysis pipeline
Installation9Deploy to farm, weatherproof enclosures, power from adapter + battery backupAllLive system
Field trial10–12Three trial weeks: daily visits, logs, photographs, plant observationsAllRaw logs + observation sheets
Analysis and documentation13–14Water accounting, savings analysis, report and PPTAllFinal submission

Test plan: (1) bench — scheduler logic exercised with simulated sensor voltages and a lamp in place of each valve; (2) calibration — sensor linearity against gravimetric samples, flow meter within ±5 per cent of cylinder volume; (3) field — valve-closed zero-flow check after every event, runtime guard tripping on a deliberately clamped line, rain-skip behaviour; (4) trial — daily reconciliation of logged litres against a manual tank-dip estimate. Every case is recorded with input, expected, observed and status, and each objective maps to at least one test.

Architecture & tech stack

2 diagrams · 7 technologies · 2 min read

  • Arduino Uno (C/C++ firmware)
  • Capacitive soil-moisture sensors (SEN0193 class)
  • YF-S201 hall-effect water flow meter
  • 12 V solenoid valves with relay driver and 1N4007 flyback diodes
  • Rain sensor and SD-card logging module
  • Python (NumPy, Matplotlib) — water-accounting analysis and plots
  • Microsoft Excel — irrigation event logs and comparison tables

The system is a three-layer loop: sensing, deciding, and acting — with accounting woven through all three.

  1. Sensing layer: two capacitive moisture sensors per automated bed feed the Uno's analog inputs through RC filtering; the rain sensor gives a digital wet flag; two YF-S201 meters emit pulses on interrupt pins.
  2. Decision layer: the scheduler evaluates each bed every minute: if the rain sensor is wet, skip; if the mean soil moisture is below the depletion threshold and the minimum interval has elapsed, open the valve; close at the target volume, on timeout, or if the flow meter shows zero with the valve commanded open (stuck or air-locked valve alarm).
  3. Actuation and accounting layer: a four-channel relay board drives the 12 V solenoid valves with flyback diodes; every valve transition, litre total and sensor reading is written to the SD card and streamed over serial.
flowchart TD
  TANK["Overhead tank + small pump"] --> MAN["Manifold with two YF-S201 flow meters"]
  MAN -->|"Bed A line"| VALVE_A["Solenoid valve A (controller-scheduled bed)"]
  MAN -->|"Bed B line"| VALVE_B["Solenoid valve B (fixed-schedule bed)"]
  VALVE_A --> DRIPA["Drip laterals, Bed A"]
  VALVE_B --> DRIPB["Drip laterals, Bed B"]
  SM["4 x capacitive soil-moisture sensors"] -->|"analog"| UNO["Arduino Uno scheduler"]
  RAIN["Rain sensor"] --> UNO
  MAN -->|"flow pulses"| UNO
  UNO -->|"relay commands"| RELAY["4-channel relay board + flyback diodes"]
  RELAY --> VALVE_A
  RELAY --> VALVE_B
  UNO -->|"event log lines"| SD["SD card + USB serial"]
  SD --> PC["Laptop: Python water-accounting analysis"]
flowchart TD
  A["Evaluate bed every 60 s"] --> B{"Rain sensor wet?"}
  B -->|"Yes"| C["Skip scheduled irrigation today"]
  B -->|"No"| D{"Mean moisture below depletion threshold?"}
  D -->|"No"| A
  D -->|"Yes"| E{"Minimum interval elapsed?"}
  E -->|"No"| A
  E -->|"Yes"| F["Open valve, start counting litres"]
  F --> G{"Target volume reached?"}
  G -->|"Yes"| H["Close valve, log event"]
  G -->|"No"| I{"Runtime guard expired or zero-flow?"}
  I -->|"Yes"| J["Close valve, raise VALVE FAULT, log"]
  I -->|"No"| G
  H --> A
  C --> A
  J --> A

Key design numbers we defend in the viva: depletion threshold set 30 per cent below field capacity from the gravimetric curve; target volume per event computed from bed area, root depth and the moisture deficit between threshold and field capacity; minimum interval six hours; runtime guard 20 minutes; flow-meter pulse rate 450 pulses per litre nominal, verified against a measuring cylinder before deployment.

Modules

5 modules

  1. Module 01

    Sensing and Calibration (Member A)

    Owns the four capacitive sensors: mounting depth and placement per bed, RC filtering, the gravimetric calibration (weighed wet and oven-dry soil samples mapped to sensor voltages), the field-capacity determination for the trial soil, and the calibration report with curves.

  2. Module 02

    Firmware and Scheduling Logic (Member B)

    Writes the Arduino scheduler: minute-tick evaluation, threshold and volume logic, six-hour minimum interval, twenty-minute runtime guard, rain skip, interrupt-based flow counting, valve-fault detection through zero-flow checks, and SD/serial event logging with timestamps.

  3. Module 03

    Hydraulics and Field Rig (Member C)

    Builds the raised beds, drip lateral layout per the drip kit's emitter spacing, the two-valve manifold, tank-to-pump plumbing and weatherproof enclosures; owns leak testing, pressure checks, valve maintenance during the trial and the daily physical inspection routine.

  4. Module 04

    Data Pipeline and Water Accounting (Member D)

    Builds the Python parser and analysis: event tables, litres per bed and per week, savings percentage versus the fixed-schedule bed, plots of soil-moisture trajectories around each event, and the uncertainty discussion covering meter accuracy, sensor drift and weather.

  5. Module 05

    Trial Operation and Observation Sheets (shared)

    All members rotate the twice-daily farm visits: visual plant condition, photographs, manual tank-dip reconciliation against logged litres, and weekly plant measurements recorded on printed observation sheets.

Slides

11 slides · titles free · bullets, notes and the .pptx unlock

  1. Slide 1

    Moisture-Scheduled Drip-Irrigation Controller with Water Accounting

  2. Slide 2

    Motivation

  3. Slide 3

    Objectives

  4. Slide 4

    Trial Design

  5. Slide 5

    Sensing and Calibration

  6. Slide 6

    Controller Logic

  7. Slide 7

    Metering and Logging

  8. Slide 8

    Results

  9. Slide 9

    Honest Limits

  10. Slide 10

    VTU Phase-wise Mapping

  11. Slide 11

    Conclusion & Future Scope

Bullets, speaker notes and the .pptx · ₹2,000

The titles above are the real outline. The rest is what you present from.

Unlock for ₹2,000

Viva questions & answers

3 of 15 answered free · 12 unlock

Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.

  1. 01Concept

    Why schedule irrigation from soil moisture rather than a fixed timer?

    A fixed timer applies the same water in a cool cloudy week and a heat wave, because it knows nothing about what the soil or crop actually experienced. Soil-moisture scheduling irrigates when the root zone reaches a defined depletion and stops at a target refill, so water tracks the plant's demand — and with flow metering, the difference is measurable in litres rather than impressions.

  2. 02Concept

    Why capacitive sensors instead of the cheap resistive ones?

    Resistive probes pass current through the soil and their exposed electrodes electrolyse and corrode within weeks, and their reading drifts as the surface degrades. Capacitive sensors measure the soil's dielectric effect from behind a sealed PCB, so they stay stable far longer in a wet bed — essential when the trial runs three weeks and the threshold must mean the same thing throughout.

  3. 03Concept

    What are field capacity and management-allowed depletion, and how do you set your threshold?

    Field capacity is the water a soil holds after excess drains under gravity; management-allowed depletion is the fraction of that water a crop can use before stress. We determined field capacity for our soil mix by the drain-and-weigh method and set the trigger at 30 per cent depletion, a value suited to tomato, so the threshold is an agronomic quantity, not an arbitrary ADC count.

+12 more questions, with answers

Try the free ones out loud first. Your examiner will not accept “it's in the PPT”.

Source code & how to run

10 steps · complete source code · unlocks with the project

Unlocks with the project · ₹2,000

10 steps · source code zip

Prerequisites, install, seed data and tests, written for demo day. Plus the complete source.

Unlock for ₹2,000

READMEFIRST

288 words · unlocks with the project

What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.

Unlocks with the project · ₹2,000

288 words · ~1 min read

The checklist of things to rename, re-seed and re-think so the project reads as yours.

Unlock for ₹2,000

Instructions

362 words · unlocks with the project

How to study it, adapt it and walk your examiner through it, step by step.

Unlocks with the project · ₹2,000

362 words · ~2 min read

Report structure, formatting rules and the submission checklist your department will grade.

Unlock for ₹2,000

References

8 sources

  1. Richard G. Allen, Luis S. Pereira, Dirk Raes and Martin Smith, Crop Evapotranspiration — Guidelines for Computing Crop Water Requirements, FAO Irrigation and Drainage Paper 56, FAO Rome
  2. Pradhan Mantri Krishi Sinchayee Yojana (PMKSY) — Per Drop More Crop, Ministry of Agriculture and Farmers Welfare, Government of India
  3. DFRobot SEN0193 Capacitive Soil Moisture Sensor — Wiki and Datasheet
  4. YF-S201 Water Flow Measurement Sensor — Pinout, Specifications and Working
  5. Krishi Vigyan Kendra (KVK) Portal, Indian Council of Agricultural Research
  6. Arduino UNO R3 — Official Documentation and Pinout
  7. Dilip Kumar Majumdar, Irrigation Water Management: Principles and Practice, 2nd ed., Prentice-Hall of India
  8. NumPy and Matplotlib — Python scientific computing documentation

Cite this bundle

OnlyProjects. (2026). Moisture-Scheduled Drip-Irrigation Controller with Flow-Totalised Water Accounting: B.Tech / B.E. Agricultural Engineering project bundle [Educational resource]. https://onlyprojects.online/projects/btech-agri-eng-drip-irrigation-scheduler-water-accounting

Future scope

1 min read

  • ET-based double check: add a small weather station and compute FAO-56 reference evapotranspiration, scheduling against ET rather than moisture alone, with the moisture loop as a safety net.
  • Fertigation injection through a third valve and venturi, timed by the same controller with its own accounting.
  • LoRa or GSM telemetry so the farmer sees litres, soil status and faults on a phone, with the SD log kept as the offline fallback.
  • Multi-valve expansion to four or eight beds with per-valve accounting, closer to a real smallholding's layout.
  • Season-length agronomic trial with yield measurement and repetition, upgrading the indicative observations into statistics.
  • Solar power with a small panel and charge controller, removing the mains adapter entirely for field autonomy.

Keep browsing

Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.

B.Tech / B.E.Code included

Aerospace / Aeronautical

Low-Speed Open-Circuit Wind Tunnel with Force Balance for Aerofoil Lift-Drag Measurement

Build a subsonic test tunnel on a student budget, then trace lift and drag on a 3D-printed NACA 0012 against theory

  • C / Arduino Uno (industry-standard extra) — HX711 load-cell and serial logging firmware
  • Python (NumPy, Matplotlib) — calibration, force coefficients and plots
  • MATLAB / Scilab — thin-airfoil theory overlay and regression
  • +4

intermediate14 wk4 students