Kranthiint
Kranthiint
on
BACHELOR OF ENGINEERING
IN
ENGINEERING
BY
R. Aarti
Assistant Professor
SCETW
2022-2023
Stanley College of Engineering and Technology for Women (Autonomous)
All UG courses Accredited by NBA and NAAC A Grade
(Affiliated to OU & Approved by AICTE)
CERTIFICATE
This is to certify that the Internship-I titled “Automatic Irrigation System” is a
bona-fide work carried out by Ms. Kalvakolla Kranthi (160621735084) in partial
fulfillment of the requirements for the award of the Degree Bachelor of Engineering in
Electronics and Communication Engineering during the IV semester of B.E. Program during
the Academic Year 2023-2024.
Empowering girl students through professional education integrated with values and character to
make an impact in the World.
M1: Providing quality engineering education for girl students to make them competent and confident
to succeed in professional practice and advanced learning. M2: Establish state-of-art-facilities and
resources to facilitate world class education. M3: Integrating qualities like humanity, social values,
ethics, and leadership in order to encourage contribution to society.
Empowering girl students with the contemporary knowledge in Electronics and Communication
Engineering for their success in life.
Ml: To impart rationalized and high quality technical education and knowledge. M2: To achieve self-
sustainability and overall development through Research and Consultancy activities.
M3: To provide education for life by focusing on the inculcation of human and moral values
through an honest and scientific approach.
PE0-1: Graduate shall have skills to excel in professional career and in applied research through
innovative design by acquiring the knowledge in Electronics and Communication Engineering
principles.
PE0-2: Graduate shall pursue higher education and participate m research and development activities
or entrepreneurship to integrate engineering work in the environmental, ethical and broader societal
contexts.
PE0-3: Graduate shall exhibit effective communication, good team building and leadership qualities
to design socially accepted and economically feasible solutions.
STANLEY COLLEGE OF ENGINEERING AND TECHNOLOGY FOR WOMEN
Courses are accredited by 1BA & Accredited by AAC with 'A' Grade)
Department Electronics and Communication Engineering
Program Outcomes:
12. Life-long Learning: Recognize the need for, and have the preparation and
i
ABSTRACT
Expected PO’s/PSO’s
1. PO 1:Engineering Knowledge
2. PO 2:Problem Analysis
3. PO 3:Design/development
4. PO 6:The engineering and society
5. PO 7:Environment and sustainability
6. PO 9: Individual And team work
7. PO 10:Communication
8. PSO 1: Appertain to communicate and Automation Principles
9. PSO 2:Adaptibility to Productive environment.
Expected PSO’s
1. PSO1: Appertain to communicate and automation principles.
2. PSO2: Adaptability to productive environment
ii
TABLE OF CONTENTS
iii
LIST OF FIGURES
iv
LIST OF TABLES
Table Number Title Page No
Table 5.1 Results obtained from operational test of the 24
system
v
CHAPTER I
INTRODUCTION
1.1 Aim of the Automatic Irrigation System
The greatest crisis in modern day and age is a great disparity in the agricultural
sector turnover. The great losses incurred in agriculture: material losses or financial
losses most of them are attributed to crop health and quality. If the crops are determined
to be not up to par, this may result in a loss. In order to prevent this, we need to maintain
the quality of crops and keep them at maximum health. On a practical basis, this is
nearly impossible for a farmer who has large lands to observe and maintain. However,
this is currently being managed manually. There is a danger in this; many of the
labourers are preferring to work at white collar jobs, and as a result, there is a large
deficiency in manpower. This makes automated farming a necessary part of the future.
The greatest cause for the crops being not on par is improper irrigation (other than
natural calamities).
If the irrigation issues are resolved, most of the problem is solved. Hence this is
the pinnacle point that needs to be renovated with technology. Automating this part of
the process will be extremely beneficial to farmers. The automated plant irrigation
system will help to reduce the work load on farmers, and help to keep the farmlands
well irrigated at all times. Most of the farmers all over the world suffer to maintain their
crops with proper watering methods, but find themselves helpless. This system will
help farmers irrigate their lands even single-handedly, without the need of additional
manpower. Its user-friendly simple circuitry will make the user feel comfortable in
using this system. The user only needs to install the circuit and sensors and connect the
pump to the circuit and its complete. The system will start functioning upon power-up,
and will need no trigger to keep it running.
The motivation for this internship came from the countries where economy is
based on agriculture and the climatic conditions lead to lack of rains & scarcity of water.
Our country mostly depends on agriculture. The farmers working in the farm lands are
solely dependent on the rains and bore wells for irrigation of the land. Even if the farm
land has a water-pump, manual intervention by farmers is required to turn the pump
on/off whenever needed.
1
The internship aim is to detect the dryness in soil using sensors and provide water
to the plants appropriately. This internship helps to maintain the plants quite easily. In
this internship we are detecting soil moisture and need for Irrigation.
The main aim of this work was to provide water to the plants or gardening
automatically using microcontroller (Arduino Uno). We can automatically watering the
plants when we are going on vacation or don’t we have to bother my neighbour,
Sometimes the neighbour do too much of watering and the plants end up dying anyway.
The artificial application of water to the land or soil. It is used to assist in the growing
of agricultural crops, maintenance of landscapes, and re-vegetation of disturbed soils in
dry areas and during periods of inadequate rainfall.
2
provides ideal growth condition. It saves time and timer delay as per the environmental
condition can be added for automatic watering.
3
4. Low Power: Embedded Systems don’t require much power to operate.
5. High Efficiency: The efficiency level of embedded systems is so high.
6. Minimal User interface: These systems require less user interface and are easy to
use
7. Less Human intervention: Embedded systems require no human intervention or
very less human intervention.
8. Highly Stable: Embedded systems do not change frequently mostly fixed
maintaining stability.
9. High Reliability: Embedded systems are reliable they perform tasks consistently
well.
10. Use microprocessors or microcontrollers: Embedded systems use microprocessors
or microcontrollers to design and use limited memory.
11. Manufacturable: The majority of embedded systems are compact and affordable to
manufacture. They are based on the size and low complexity of the hardware.
4
CHAPTER II
LITERATURE SURVEY
5
inexpensive 8-bit Microcontroller will doom the 32-bit product failure in any
competitive market place.
Coming to the question of why to use AT89C51 of all the 8-bit microcontroller
available in the market the main answer would be because it has 4 K b on chip flash
memory which is just sufficient for our application. The on-chip Flash ROM allows the
program memory to be reprogrammed in system or by conventional non-volatile
memory Programmer. More over ATMEL is the leader in flash technology in today’s
market place and hence using AT 89C51 is the optimal solution.
6
CHAPTER III
The logic of this system is very simple. In this system, the moisture sensor senses
the moisture level of the soil and when the sensor senses a low moisture level it
automatically switches the water pump with the help of a microcontroller and irrigates
the plant. After supplying sufficient water, the soil gets retains the moisture hence
automatically stopping the pump.
7
Pump
We need a small pump to irrigate the plant, but in the case of a garden, we need to drive
a larger pump that can provide a higher volume of water depending on the size of your
garden. So in case you need to operate a larger pump, a driver is necessary to provide
enough current for the pump, to show that I am using a 5v relay. You can also use an
AC-powered pump and use a suitable relay.
Fig.3.2 Pump
3.2 COMPONENTS REQUIRED FOR THE AUTOMATIC IRRIGATION
SYSTEM
The work requires very few components and the connection is also very simple. The
components are listed below:
Arduino-1
moisture sensor-1
5v relay module-1
6v Mini water pump with small pipe-1
8
Connecting wires
5v battery-1
1. POWER SUPPLY
In this system we are using 5V power supply for micro-controller of Transmitter
section as well as receiver section. We use rectifiers for converting the A.C. into D.C
and a stepdown transformer to step down the voltage. The full description of the Power
supply section is given in this documentation in the following sections i.e. hardware
components.
2. MICRO CONTROLLER
In this work work the micro-controller is playing a major role. Micro-controllers were
originally used as components in complicated process-control systems. However,
9
because of their small size and low price, Micro-controllers are now also being used in
regulators for individual control loops.
The purpose of this work work is to present control theory that is relevant to the
analysis and design of Micro-controller system with an emphasis on basic concept and
ideas. It is assumed that a Microcontroller with reasonable software is available for
computations and simulations so that many tedious details can be left to the
Microcontroller. The control system design is also carried out up to the stage of
implementation in the form of controller programs in assembly language OR in C-
Language.
10
4. LM324 OP AMP
This device consists of 14 pins. It consists of four independent, high gain, internally
frequency compensated operational amplifiers which were designed specifically to
operate from a single power supply over a wide range of voltages. Operation from split
power supplies is also possible and the low power supply current drain is independent
of the magnitude of the power supply voltage.
11
6. DC MOTOR
An electric motor is a machine which converts electrical energy into mechanical energy.
DC motors are configured in many types and sizes, including brush less, servo, and gear
motor types. A motor consists of a rotor and a permanent magnetic field stator. The
magnetic field is maintained using either permanent magnets or electromagnetic
windings. DC motors are most commonly used in variable speed and torque.
Fig.3.9 DC Motor
6.MOTOR DRIVING CIRCUIT
Motor driving circuit is a relay is an electrical switch that opens and closes under the
control of another electrical circuit. In the original form, the switch is operated by an
electromagnet to open or close one or many sets of contacts.
12
7.RELAY
A relay is an electronically operated switch that is remotely activated by an
electromagnet which pulls a set of contacts to either make or break a circuit.
Fig.3.11 Relay
13
CHAPTER IV
4.1 FLOWCHART
14
4.3 CIRCUIT DIAGRAM OF ARDUINO AUTOMATIC IRRIGATION
SYSTEM
The complete circuit diagram for the Arduino Automatic irrigation system is shown
below:
Let's start with connecting the relay to the Arduino board. Connect the VCC of the
relay module to the 5v pin of the Arduino and connect the ground of the relay to the
ground of Arduino. Now connect the relay signal pin to any digital pin of Arduino
except pin 13. Here I have connected it to pin 3 as shown in the image below.
15
Fig.4.4 Assembling the automatic irrigation system-1
The next step is to connect the soil moisture sensor with the Arduino. Connect the VCC
and ground of the sensor to the 5volt and ground pin of the Arduino. The analogue
output of the sensor connects to any analogue pin of the Arduino, here I’ve connected
it to pin A0 (according to our program).
16
Now connect the battery to the circuit and if the pump starts working then your circuit
is okay. Now let's upload code to Arduino.
int soilMoistureValue = 0;
int percentage=0;
Now, we define the pin mode, here I have used pin 3 as an output and in the next line,
I have initialised Serial Monitor for debugging.
void setup() {
pinMode(3,OUTPUT);
Serial.begin(9600);
}
I started the loop section by reading the soil moisture. I used the analog Read function
of Arduino to read the soil moisture and I stored that in soil Moisture Value. This value
varies from 0 to 1023
void loop() {
soilMoistureValue = analogRead(A0);
In the below line, I have converted the sensor values from 0-100 percent for that we use
the map function on Arduino. That means that if the soil is dry then the output moisture
percentage is 0% and if the soil is extremely wet then the moisture percentage is 100%.
17
4.6 CALIBRATING OUR MOISTURE SENSOR
In the map function, we need to assign the dry value and wet value. To do that we need
to monitor that values. You can read that values using the following code:
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
delay(1);
Upload the above code to your Arduino and open the serial monitor. Then place your
soil moisture sensor in dry soil or just hold the sensor in the air and read the value. now
put that value in place of 490(second term of map function).
The next step is to place the sensor in wet soil or submerge it in water and read the
value and assign that value in place of 1023 (third term of map function). These values
will calibrate your sensors correctly to get better results.
18
percentage goes below 10, then the Arduino will turn pin 3 to LOW and the pump will
turn on (our relay module uses the active low signal to trigger) and the Arduino will
print pump on message in the serial monitor.
if(percentage >80)
{
Serial.println("pump off");
digitalWrite(3,HIGH);
}
}
19
4.7 Testing the Automatic Irrigation System
After uploading the code to the Arduino, I placed the whole circuit except the pump
and sensor probe in a plastic box as shown in the figure below.
20
The final step is to place your motor in a container filled with water and your automatic
irrigation is ready to take care of your lovely plants when you are not around.
21
{
Serial.println(" pump on");
digitalWrite(3,LOW);
}
if(percentage >80)
{
Serial.println("pump off");
digitalWrite(3,HIGH);
}
}
22
CHAPTER V
5.1 RESULT
The results obtained from operational test of the system.
23
microcontroller base irrigation system can work constantly for indefinite time period,
even in certain abnormal circumstances. If the plants get water at the proper time then
it helps to increase the production from 25 to 30 %. This system can be used to irrigate
very large areas as it only needs to divide the whole land into number of sectors and
single microcontroller can control the whole process. It saves human energy, time, cost,
etc.
24
REFERENCES
1. https://www.geeksforgeeks.org/introduction-of-embedded-systems-set-1/
2.https://www.scribd.com/document/354423005/1-Introduction-to-Embedded-
Systems
3. https://www.scribd.com/doc/45628858/Mini-Work-Documentation#
4. https://www.scribd.com/doc/62652186/Automatic-Irrigation-System
5.https://circuitdigest.com/microcontroller-works/automatic-irrigation-system-using-
arduino-uno
6.https://www.techtarget.com/iotagenda/definition/embedded-
system#:~:text=An%20embedded%20system%20is%20a,or%20have%20a%20fixed
%20functionality.
7. Embedded-Systems-Architecture-Programming-and-Design-Raj-Kamal-Second
(2nd)-Edition
25
STANLEY COLLEGE OF ENGINEERING & TECHNOLOGY FOR WOMEN
Integrating features of all the hardware components used have been developed in it.
Presence of every module has been reasoned out and placed carefully, thus contributing
to the best working of the unit. Secondly, using highly advanced IC‘s with the help of
growing technology, the work has been successfully implemented. Thus the work has
been successfully designed and tested.
PO Mapping:
26