New Project Manager
New Project Manager
A Thesis
Submitted by
To the
This is to certify that the Major Project entitled “Automatic Irrigation Control” submitted by Abhiraj Kumar
(21103149903), Anil Kumar (21103149964), Dharmendra Kumar (21103149015), Ishan (21103149993) Kush
Kumar (21103149992) and Pankaj Kumar (21103149949) of 8th semester in partial fulfillment of the
requirement for the award of degree of Bachelor of Technology in Electrical Engineering is a record of a major
project carried out by them under my supervision and guidance.
All help received by him from various sources have been duly acknowledged.
No part of this report has been submitted elsewhere for award of any other degree or diploma.
___________________________ ______________________
___________________________
External Examiner
We are also grateful Dr. Ram Sagar Singh, Principle, Government Engineering College, Gopalganj,
Dr. Mosarrat Jahan, Assistant Professor and Head of Department Electrical Engineering,
Government Engineering College Gopalganj, for providing the necessary facilities in the department.
We are also grateful to all the faculty members, technical staffs of Electrical Engineering Department,
Government engineering college Gopalganj for all their useful suggestions and encouragements.
We would also like to extend our heartfelt gratitude to our project coordinator Mr. Amit Kumar,
Assistant Professor, Department of Electrical Engineering, Government Engineering College
Gopalganj, classmates and Lab technician who have encouraged me in every possible way to the
completion of the thesis. This dissertation would not have been possible without the help of several
individuals who extended their support in the completion of this study.
01 ENABLING TECHNOLOGIES
1.1 Introduction 01-04
1.2 Motivation
2.6 Resistors
2.8 Diode
2.9 MOSFET
2.10 DC Motor
3.1 Result
03 3.2 Conclusion 15-16
3.3 Future Scope
Reference 17
Appendix 18-26
LIST OF TABLES
LIST OF FIGURES
Fig 4: LED 11
Fig 5: Resistor 11
Fig 8: Diode 13
Fig 9: MOSFET 13
1.2 INTRODUCTION
Agriculture is a critical sector that sustains the livelihoods of millions and ensures food security for populations
worldwide. However, it faces numerous challenges, such as climate change, water scarcity, and the growing
demand for food due to an increasing global population. Efficient water management in agriculture is essential to
address these challenges, as irrigation consumes a significant portion of the world's freshwater resources.
Traditional irrigation methods often lead to water wastage due to over-irrigation, inefficient scheduling, and lack
of monitoring systems. These inefficiencies not only waste a precious resource but can also adversely affect crop
health and yield.
To optimize water usage and improve crop productivity, there is a growing need for intelligent irrigation systems
that can automatically monitor and control water distribution based on real-time data. This need has led to the
development of automatic irrigation control systems, which leverage advancements in sensor technology, data
analytics, and automation.
India is the country of village and agriculture plays an important role for development of country. In our country,
agriculture depends on the monsoons which has insufficient source of water. So the irrigation is used in
agricultural field In Irrigation system, depending upon the soil type, water is provided to plant. In agriculture,
two things are very important, first to get information of about the fertility of soil and second to measure
humidity content in air. Nowadays, for irrigation, different techniques are available which are used to reduce the
dependency of rain. And mostly this technique is driven by electrical power and on/off scheduling. In this
technique, an temperature and humidity sensors are placed near the plant and near the module and gateway
unit handles the sensor information and transmit data to the controller which in turns the control the flow of
water through the pump.
1.2 MOTIVATION
For continuously increasing demand and decrease in supply of food necessities, it’s important to rapid
improvement in production of food technology. Agriculture is only the source to provide this. This is the
important factor in human societies to growing and dynamic demand in food production. Agriculture plays the
important role in the economy and development, like India. Due to lack of water and scarcity of land water result
the decreasing volume of water on earth, the farmer use water.
LITERATURE SURVEY
… 2. Literature Survey and Background Study According to the survey conducted by the
Bureau of …
1981. Small-scale solar powered irrigation pumping systems: technical and economic
review.
… We show a literature review of automatic … We present next a review of the contributions that
deal
based on sap flow measurements (Fernandez et al., 2008a,b,c). The system was
… The literature to date indi- cates that achieving robust machine vision solutions in the field
environment … Jimenez A, Ceres R, Pons J (2000) A survey of computer vision methods for
locating
fruit … Fleck S, Nackaerts K, Muys B, Coppin P, Weiss M, Baret F (2004)
User Interface: User interface allow the user to inter act with the system by
sending information to the controller by presenting information to user about the
system. Its generally a computer or a smartphone
Controlled Devices: Controlled devices include a wide range of equipment that
this arduino and sensor is capable of. Here in our project it is a motor.
Programming Computer: Some system controllers allow the user to program
the system with the systems own user interface. Other system require PC to
program. Here we are accessing arduino IDE with the help of a PC.
Controllers: Relay controllers provide the intelligent control functions in
automatic irrigation control.
Sensing Devices: Sensing devices can report values, such as temperature and
humidity etc or states.
I/O Interface Devices: These devices provide the logical communication link
between the controllers and the controlled device systems.
1.5 ADVANTAGES OF AUTOMATIC IRRIGAION CONTROL
Gardening Flexibility
If you have a busy schedule, you'll appreciate being able to work in the garden at the same time as the
plants are being watered. While one garden section is being watered, you can plant and prune in another
area.
CHAPTER 2: PROPOSED SYSTEM HARDWARE AND
ARCHITECTURE
2.1COMPONENT LIST
1 Arduino UNO 1
4 Electric DC Motor 1
5 Relay Module 1
6 1 k Resistor 1
8 MOSFET 1
9 Female Headers 10
10 Male Headers 10
11 Diode 1
12 Jumper wire 20
AREF Reference voltage for the analog inputs. Used with analog Reference.
Reset. Bring this line LOW to reset the microcontroller. Typically used to add a
reset button to shields which block the one on the board.
2.3DHT11 TEMPERATURE AND HUMIDITY SENSOR
On the other hand, for measuring temperature these sensors use a NTC temperature
sensor or a thermistor. A thermistor is actually a variable resistor that changes its resistance
with change of the temperature. These sensors are made by sintering of semi conductive
materials such as ceramics or polymers in order to provide larger changes in the resistance
with just small changes in temperature. The term “NTC” means “Negative Temperature
Coefficient”, which means that the resistance decreases with increase of the temperature.
Real time clocks (RTC), as the name recommends are clock modules. The DS1307 real
time clock (RTC) IC is an 8 pin device using an I2C interface. The DS1307 is a low-power
clock/calendar with 56 bytes of battery backup SRAM. The clock/calendar provides seconds,
minutes, hours, day, date, month and year qualified data. The end date of each month is
automatically adjusted, especially for months with less than 31 days.
They are available as integrated circuits (ICs) and supervise timing like a clock and also
operate date like a calendar. The main advantage of RTC is that they have an arrangement of
battery backup which keeps the clock/calendar running even if there is power failure. An
exceptionally little current is required for keeping the RTC animated. We can find these
RTCs in many applications like embedded systems and computer mother boards, etc.
Fig 3: Real Time Clock (RTC
Working of DS1307:
In the simple circuit the two inputs X1 and X2 are connected to a 32.768 kHz crystal
oscillator as the source for the chip. VBAT is connected to positive culture of a 3V battery
chip. Vcc power to the I2C interface is 5V and can be given using microcontrollers. If the
power supply Vcc is not granted read and writes are inhibited.
2.5 LIGHT EMITTING DIODE (LED)
2.6 RESISTORS
Fig 5: Resistor
2.7RELAY MODULE
with Arduino
A relay switch can be divided into two parts: input and output. The output section has
a coil which generates magnetic field when a small voltage from an electronic circuit is
applied to it. This voltage is called the operating voltage. Commonly used relays are available
in different configuration of operating voltages like 6V, 9V, 12V, 24V etc. the output section
consists of contactors which connect or disconnect mechanically. In a basic relay there are
three contactors: normally open (NO), normally closed (NC) and common (COM). At no
point state, the COM is connected to NC. When the operating voltage is applied the relay coil
gets energized and the COM changes contact to NO.
2.8DIODE (IN4148)
In electronics, a diode is a two-terminal electronic component that conducts primarily in one direction
(asymmetric conductance), it has low (ideally zero) resistance to the flow of current in one direction,
and high (ideally infinite) resistance in the other. A semiconductor diode is a crystalline piece of
semiconductor material with a p-n junction connected to two electrical terminals
Fig 8: Diode
2.9MOSFET
Fig 9: MOSFET
2.10DC MOTOR
A DC motor is any of a class of rotary electrical machines that converts direct current
electrical energy into mechanical energy. The most common types rely on the forces
produced by magnetic fields. Nearly all types of DC motors have some internal mechanism,
either electromechanical or electronic, to periodically change the direction of current flow in
part of the motor.
DC motors were the first type widely used, since they could be powered from existing
direct-current lighting power distribution systems. A DC motor's speed can be controlled
over a wide range, using either a variable supply voltage or by changing the strength of
current in its field windings. Small DC motors are used in tools, toys, and appliances.
By this automation of the waterpump we can do other productive work and can save time, money and also
water. This system makes our farming easy and convenient. Where not need of human interference for the
irrigation. It has programmed microcontroller based Ardiuno to gather the information from different devices like
temperature sensor , real time clock and control the operation of pump. At the end we save too much of our time
and money as well as water. Also our plants in the farm will get the required amount of water for their growth.
3.2 CONCLUSION
The automatic irrigation control using arduino uno has been experimentally proven to work
satisfactorily and we could successfully set the timer and managed to control the motor over
time.This process not only records values of temperature and humidity it also controls the motor
accordingly.Analyzing the weather condition motor will automatically maintain water supply
making it possible to maintain greenery without human intervention.
1. .Awasthi, A., & Reddy, S. R. N. (2013). Monitoring for Precision Agriculture using
Wireless Sensor Network-A review. GJCST-E: Network, Web & Security, 13(7).
2.Bhadane, G., Sharma, S., & Nerkar, V. B. (2013). Early Pest Identification in Agricultural
Crops using Image Processing Techniques. International Journal of Electrical, Electronics
and Computer Engineering, 2(2), 77-82.
3. Galande, M. S., & Agrawal, D. G. (2013). Embedded Controlled Drip Irrigation System.
International Journal of Emerging Trends & Technology in Computer.
4.Google and other internet sources.
APPENDIX
#include <Wire.h> // Wire library, used by RTC library
int onOffTimes[NUMBEROFTIMES];
float humidityNow;
void setup(){
pinMode(RTC_5V_PIN, OUTPUT);
pinMode(RTC_GND_PIN, OUTPUT);
digitalWrite(RTC_5V_PIN, HIGH);
digitalWrite(RTC_GND_PIN, LOW);
#ifdef AVR
Wire.begin(); #else
// Shield I2C pins connect to alt I2C bus on Arduino Due Wire1.begin();
#endif
pinMode(8, OUTPUT);
};
void loop() {
getTimeTempHumidity();
// Check to see whether it's time to turn any valve ON or OFF checkTimeControlValves();
delay(5000)
}
void getTimeTempHumidity() {
dateTimeNow = rtc.now();
if (! rtc.isrunning()) { Serial.println("RTC
is NOT running!");
return;
dht.readHumidity
t = dht.readTemperature();
= dht.readTemperature(true).
Serial.print("% ");
Serial.print("Temp ");
Serial.print(t); Serial.print("C
"); Serial.print(f);
Serial.print("F");
Serial.println();
} // end of getTimeTempHumidity:
void checkUserInteraction() {
= Serial.read();
if ( temp == 'P') {
printSettings();
Serial.flush(); break;
if ( temp == 'S') {
expectValveSetting();
else
printMenu();
Serial.flush();
break;
void expectValveSetting() {
(Serial.read() != ':') {
Serial.flush();
return;
}
desiredMinutesSinceMidnight
= (desiredHour*60 + desiredMinutes); if (
onOffTimes[ONTIME]
= desiredMinutesSinceMidnight;
onOffTimes[OFFTIME]
= desiredMinutesSinceMidnight;
Serial.flush();
return;
printSettings();
}
void checkTimeControlValves() {
int nowMinutesSinceMidnight =
");
&&
( nowMinutesSinceMidnight <
onOffTimes[OFFTIME]) ) {
humidityNow > 80 ) {
digitalWrite(8, LOW);
else {
Serial.print(" ON ");
digitalWrite(8, HIGH);
else {
Serial.println();
Serial.println();
void printMenu() {
Serial.println(
{ Serial.print("Valve ");
Serial.print((onOffTimes[ONTIME])/60); Serial.print(":");
Serial.print((onOffTimes[ONTIME])%(60)); Serial.print("
Serial.print((onOffTimes[OFFTIME])/60); // hours
Serial.print(":"); Serial.print((onOffTimes[OFFTIME])
%(60)); // minutes Serial.println();