Irrigation System
Irrigation System
net/publication/363285015
CITATIONS READS
0 1,169
4 authors, including:
Prince Nwankwo
Federal Polytechnic Oko
7 PUBLICATIONS 37 CITATIONS
SEE PROFILE
All content following this page was uploaded by Prince Nwankwo on 05 September 2022.
*(Department of Electronic and Computer Engineering, Nnamdi Azikiwe University Awka, Anambra State, Nigeria
Email: anthonyisizoh@yahoo.com)
** (Department of Computer Engineering; Federal Polytechnic Oko, Anambra State, Nigeria
Email: princetechfoundation@yahoo.com)
***(Department of Computer Engineering; Federal Polytechnic Oko, Anambra State, Nigeria
Email: danno4live@yahoo.com)
**** (Department of Electronic and Computer Engineering, Nnamdi Azikiwe University Awka, Anambra State, Nigeria
Email:chimdichukwuemeka3509@gmail.com)
-------------------------------------************************-------------------------------
Abstract:
In the field of Agriculture, the importance of automatic irrigation control system cannot be
overemphasized. The project presents the design and implementation of “Solar Powered Automatic
Sprinkler Irrigation System” that irrigates a farm by switching a DC water pump based on the set- time
and the time interval programmed into the microcontroller. The designed system replaces the conventional
manual process involved in sprinkler irrigation to automatic process; to conserve energy, time, and water.
The aim of the project is to improve on water management in irrigation process, and minimize the
intervention of human operator in irrigation activities in farms. The system was designed with various
components like; AT89C51 microcontroller, Dc water pump, Relay, LCD and other electronic components.
The whole system was built around the AT89c51 microcontroller. The microcontroller was programmed
using assembly language. When the set time is reached, the microcontroller triggers a 12v relay which
automatically drives the DC water pump for 3 minutes. The irrigation takes place by 7am and 7pm daily to
achieve the desired result. Input is given to the microcontroller in the form of time using the keypad. An
LCD is interfaced with the microcontroller to display the system status. The 12v, 130watts
Monocrystalline solar panel and the 60AH deep cycle (solar) battery attached to the system provides all
the energy requirements of the system. The system has proven to be a reasonable advancement in
irrigation system.
-------------------------------------************************-------------------------------
assist in the growing of Agricultural crops,
1. INTRODUCTION: maintenance of landscapes, and re-vegetation of
disturbed soils in dry areas and during periods of
The continuous increase in food demand inadequate rainfall [1]. Irrigation is the process of
requires a rapid improvement in food production artificial application of water to land to aid crops
technologies. Food insecurity is a major challenge growth. It is mainly used during dry seasons or in
in developing countries. Irrigation has been used to dry areas where rainfall is scarce. An automatic
21
P2.0/A8
22
P2.1/A9
23
P2.2/A10
29 24
30
PSEN 89C51 P2.3/A11
25
ALE P2.4/A12
31 26
EA P2.5/A13
27
P2.6/A14
28
P2.7/A15
RV1
1 10
P1.0 P3.0/RXD
2 11
P1.1 P3.1/T XD
3 12
2 X 16 LCD 4
P1.2 P3.2/INT0
13
P1.3 P3.3/INT1
5 14
P1.4 P3.4/T0
6 15
P1.5 P3.5/T1
1k 7 16
P1.6 P3.6/WR
8 17
Fig.1: Block Diagram of the solar powered automatic sprinkler irrigation P1.7 P3.7/RD
E R/W RS
system AT89C51
21
P2.0/A8
Resistor R5 limits the current that passes through P2.1/A9
22
23
P2.2/A10
the base of the transistor. When the set time for the 29
30
PSEN
ALE
89C51 P2.3/A11
P2.4/A12
24
25
31 26
irrigation is reached (7AM and 7PM), the EA P2.5/A13
P2.6/A14
27
28 R2 R3 R4
P2.7/A15
microcontroller sends logic 1 (high signal) to p0.0 1
P1.0 P3.0/RXD
10
0R1 0R1 0R1 12V VCC
2 11
and the transistor is forward biased, hence, 3
4
P1.1
P1.2
P3.1/TXD
P3.2/INT0
12
13
P1.3 P3.3/INT1
triggering the relay; which automatically switch 5
6
P1.4
P1.5
P3.4/T0
P3.5/T1
14
15
7 16
ON the DC water pump for the irrigation process. 8
P1.6
P1.7
P3.6/WR
P3.7/RD
17
When the time interval for the irrigation elapses (3- AT 89C51
9
P0.5/AD5
P0.6/AD6
34
33
32
memory to be reprogrammed in-system or by a
RST P0.7/AD7
P2.0/A8
21
conventional nonvolatile memory programmer. By
22
29
P2.1/A9
P2.2/A10
23
24
combining a versatile 8-bit CPU with Flash on a
PSEN 89C51 P2.3/A11
30
31
ALE
EA
P2.4/A12
P2.5/A13
25
26
27
monolithic chip, the Atmel AT89C51 is a powerful
P2.6/A14
P2.7/A15
28
microcomputer which provides a highly-flexible
1 10
2
3
P1.0
P1.1
P1.2
P3.0/RXD
P3.1/TXD
P3.2/INT0
11
12
and cost-effective solution to many embedded
4
5
6
P1.3
P1.4
P3.3/INT1
P3.4/T0
13
14
15
control applications [6]. The CPU of the AT89C52
P1.5 P3.5/T1
7
8
P1.6
P1.7
P3.6/WR
P3.7/RD
16
17
microcontroller comprises of the Arithmetic and
AT89C51 Logic Unit (ALU), the Registers, and the Control
unit. The function of the ALU is to perform all the
Fig.4: The Actuator/ DC Pump Unit
arithmetic and logic expressions from or within the
D. The Keypad Unit CPU. The register part of the CPU is a temporary
memory unit. The Control unit is the most complex
For the keypad, a momentary touched switch part of the CPU. It receives the binary number
was used. The resistors (R2=R3=R4 =1kΩ) are signifying the instruction about to be carried out,
pulled up to positive supply (vcc) to boost the decodes the instruction, and carries it out according
signal at the respective pins of the microcontroller to the steps required [7]. The pin-out configuration
were the switches are connected. The switches are of AT89C51 microcontroller is shown in fig. 6
used to set the time and the time interval for the below.
irrigation. The keypad and the microcontroller
interface is shown in fig. 5 below.
U1
19 39
XTAL1 P0.0/AD0
38
P0.1/AD1
37
P0.2/AD2
18 36
XTAL2 P0.3/AD3
35
P0.4/AD4
34
P0.5/AD5
33
P0.6/AD6
9 32
RST P0.7/AD7
21
P2.0/A8
22
P2.1/A9
23
P2.2/A10
29 24
PSEN P2.3/A11
30 25
ALE P2.4/A12
31 26
EA P2.5/A13
27
P2.6/A14
28
P2.7/A15
1 10
P1.0 P3.0/RXD
2 11
P1.1 P3.1/TXD
3 12
P1.2 P3.2/INT0
4 13 Fig. 7: Solar Power Unit of the System
P1.3 P3.3/INT1
5 14
P1.4 P3.4/T0
6 15
P1.5 P3.5/T1
7 16
P1.6 P3.6/WR
8
P1.7 P3.7/RD
17 G. The Complete Circuit Diagram
AT89C51
The complete circuit diagram of the solar
powered automatic sprinkler irrigation system is
Fig. 6: The AT89C51 Microcontroller shown in fig. 8 below. The AT89c51
F. The Solar Power Unit microcontroller onboard the system is used to store
the entire assembly language program needed for
Light (photons) striking certain compounds, in the system to function appropriately.
12V VCC
particular metals, causes the surface of the material
to emit electrons. Light striking other compounds RL1
QUAZ-SH-112D
C3
causes the material to accept electrons [8]. It is the
U1
combination of these two compounds that can be 30PF
X1 19
XTAL1 P0.0/AD0
39
38
made use of to cause electrons to flow through a C2
CRYSTAL
18
P0.1/AD1
P0.2/AD2
37
36
R5 Q1
XTAL2 P0.3/AD3 2N1711
conductor, and thereby create electricity. This 12V VCC
30PF
P0.4/AD4
P0.5/AD5
35
34
1k
C1
phenomenon is called the photo-electric effect. 9
RST
P0.6/AD6
P0.7/AD7
33
32
AT89C51
P3.7/RD
Display Message 2
Send Message 3
Process Message 3
Display Message 3
REFERENCES:
[1]. Pavithra D.S, Srinath M.S “GSM based automatic irrigation control
system for efficient use of resources and crop planning by using an Android
mobile” IOSR Journal of Mechanical and Civil Engineering Volume 11,
Issue 4 Ver.1 July-August 2014 p. 49-55.
[2] Archana P, Priya R, “Design and Implementation of Automatic Plant
Watering System”, International Journal of Advanced Engineering and
Global Technology Vol-04, Issue-01, January 2016, ISSN No: 2309-4893.
[3] Abhinav Rajpal, Sumit Jain, Nistha Khare & Anil Kumar Shukla , (2011)
Fig. 9: Complete Flow Chart of the Solar Powered Automatic Sprinkler “Microcontroller-based Automatic Irrigation System with Moisture Sensor”
Irrigation System Proceedings of the International Conference on Science/Engineering .
[4] Nwankwo Nonso Prince, Alumona Theophilus, Nwankwo Vincent,
Nwokeke .O. Albert, (2014), “Design and Implementation of Microcontroller
Based Automatic Fan Speed Regulator (using temperature sensor)”
Proceedings of the International Journal of Engineering Research and
IV. CONCLUSION & RECOMMENDATION Management (IJERM).
[5] Nwankwo, P. N, (2017), 8051/8951 Microcontroller: Instruction formats,
A. Conclusion Assembly Language, and Hardware Interfacing, Awka, Benzero Grapfix, pg
125-126.
[6] Nwankwo, P. N, (2017), “8051/8951 Microcontroller: Instruction formats,
The “Solar Powered Automatic Sprinkler Assembly Language, and Hardware Interfacing”, Awka, Benzero Grapfix, pg
80-83.
Irrigation System” was implemented and found to [7] Isizoh .T, Nzeribe. H.N, Aniedu. A, (2018), “Assembly Language
be feasible and cost effective. It is advantageous Programming: For Embedded Systems and Real – Time Applications”, Awka,
SCOA Heritage Nig. Ltd, pg 27-28.
over manual control as it uses time-based control [8] Merteno R., "Hybrid Thermal Photovoltaic Systems”, (2012),
mechanism. The system was carried out Photovoltaic Solar Energy Conversion Conference (C21), Royal Society, pp.
60-62.
considering some factors which includes; [9] Dixon A.E., Leslie J.D, (2006) “Solar Energy Conversion”, Pergamon
availability of components, economic applications, Press New York, pp. 35-37.
[10] https://www.whatis.techtarget.com/definition/ pseudocode.
controllability, durability, and free energy from the [11] https://www.breezetree.com/articles/what-is-a-flow-chart.
Sun. The system after completion; was tested and it
met the expected design specification and
performance. The project presents a model to
modernize the agriculture industries at a mass scale
with optimum expenditure. Using this system, one