Open Access Library Journal
Vol.05 No.04(2018), Article ID:83708,7 pages

Automatic Irrigation System Using Android

Souvanxay Lorvanleuang*, Yandong Zhao

School of Technology, Beijing Forestry University, Beijing, China

Copyright © 2018 by authors and Open Access Library Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

Received: March 13, 2018; Accepted: April 9, 2018; Published: April 12, 2018


Laos is an agricultural based country. As agriculture is the main source of food for any country, it is important to have a proper irrigation system. This paper shows a design of automatic irrigation system based on android application using Raspberry Pi microcontroller, soil moisture and temperature sensor to help a famer to control and monitor a farm. This work facilitates the farm irrigation by switching the pump motor ON/OFF through android cell phone. This automatic irrigation system has a low cost and can be affordable by many Lao farmers. The study shows that the system is useful to provide optimal amount of water for increase the productivity of crop.

Subject Areas:

Computer Engineering, Electric Engineering


Irrigation System, Raspberry Pi, Soil Moisture Sensor, Temperature Sensor, Android Application

1. Introduction

We live in a world where everything can be controlled and operated automatically, but there are still a few important sectors in Laos where automation has not been adopted or not been put to a full-fledged use, perhaps because of several reasons such as cost. In Laos, agriculture is among those sectors. Agriculture has been one of the primary occupations of man since early civilizations and even today manual interventions in farming are inevitable.

Laos has a tropical monsoon climate, with a pronounced rainy season from May through October, a cool dry season from November through February, and a hot dry season in March and April. Generally, monsoons occur at the same time across the country, although that time may vary significantly from one year to the next [1] .

Laos is primarily an agricultural economy, with this sector contributing 51 percent of the GDP. Approximately 1,880,000 individuals are involved in agricultural work. Recently the Laos conducted a major agricultural census which provides an excellent overview of the basic nature of Laos’ agricultural system. The results of this survey indicate that 79.7 percent of the total population is engaged in farming [2] .

In the modern drip irrigation systems, the most significant advantage is that water is supplied near the root zone of the plants drip by drip due to which a large quantity of water is saved. At the present era, the farmers have been using irrigation technique in India through the manual control in which the farmers irrigate the land from time to time. This process sometimes consumes more water. There are different types of method for irrigating farm field for different types crop field. Basically Indian farmer use these three methods channel system, sprinkler system, drip system. Channel system is a traditional method of irrigation. But a smart irrigation system is a new technology to irrigating farm field automatically. Drip irrigation is one of the methods of irrigation that saves water and fertilizer. In drip irrigation method, water drips slowly to the roots of the plants either onto the soil surface or directly onto the root zone through a network of valves, pipes, tubing and emitters. The process is completed in narrow tubes so that water is given directly to the root of the plant. Drip irrigation is also termed as localized irrigation or micro irrigation [3] .

This paper presents a smart irrigation system for agriculture farm with the use of devices like raspberry pi. Python programming language is used for automation purpose [4] . This paper focuses on developing android based automatic irrigation system capable of controlling many electrical appliances in an irrigation or field using android application. We use Wi-Fi to communicate with Mobile. Soil moisture and temperature are inserted to the farm to monitor and change the current status of field on mobile phone.

2. Literature Review

An Android based Automatic Irrigation System using a WSN and GPRS Module is presented by Mahesh Reddy and Raghava Rao [5] . The user communicates with the Arduino microcontroller through SMS. Android automatic system is developed, it displays the values of the sensors continuously in an android application and on a web page and user can control the motor pump ON/OFF from any place, while user receives an SMS alert through GSM/GPRS module.

Gavali et al. [6] developed a Smart Irrigation System for Agriculture Base on Wireless Sensors. Their system has a soil moisture and temperature sensor. Each wireless sensor node was comprised of a soil moisture probe, a temperature sensor probe, a microcontroller for acquisition of data, and a radio transceiver. The receiver unit comprises a master microcontroller, radio transceiver, GSM and a pump. The communication link between the transmitter and receiver units is via the ZigBee protocol. Irrigation scheduling could be monitored using an Android Application. Darshna et al. [7] invented Solar Powered Smart Irrigation System with advance in Electronic and Electric Engineering. This system conserves electricity by reducing the usage of grid power and cost effective solar power can be the answer for all energy needs. It can be a suitable alternative for farmers in the present state of energy crisis. It optimizes the usage of water by reducing wastage and reduces the human intervention for farmers.

Hambarde [8] developed an Android based Automated Irrigation System using Rasspberry Pi that controls the activities of drip irrigation system efficiently. Moreover, Ata et al. [9] worked on Web Based Automatic Irrigation System Using Wireless Sensor Network and Embedded Linux Board. The aim of their study was to control devices and monitor the system remotely through a web page.

Parameswaran [10] proposed Aurdino based smart irrigation system using Internet of Things. The researcher has not used Raspberry pi instead the work is done using Aurdino controller without use of soil moisture sensors.

3. Proposed Block Diagram

Figure 1 is an overall block diagram of Raspberry Pi based automatic irrigation system which consist of two sensors connected to controller and the values from these sensors send to Android application .This various monitoring and controlling system can be utilized where automation of agricultural parameters like temperature and soil moisture are monitored and control by the system. To understand the functioning of the above mentioned block diagram, we explain the function of its components in the following paragraphs.

Figure 1. Block Diagram of smart irrigation system.

3.1. Soil Moisture Sensor

The soil moisture sensor is used to measure the volumetric water content of soil. It is used to monitor soil moisture content to control irrigation in greenhouse. A moisture sensor is used to sense the level of moisture content present in irrigation field. It has a level detection module in which we can set a reference value [11] .

3.2. Temperature Sensor (LM35)

The LM35 series are precision integrated-circuit temperature devices with an output voltage linearly-proportional to the Centigrade temperature. The LM35 device has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from the output to obtain convenient Centigrade scaling [3] .

3.3. Raspberry Pi

The Raspberry Pi is a low cost, credit-card sized computer. Its capable of doing everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition video, making spreadsheets, and playing games. There are different models of Raspberry Pi from Raspberry Pi 0 to Raspberry Pi 3. In this project we are using Raspberry Pi Model 1 B+ [3] .

3.4. Relay

The relay module is an electrically operated switch that allows you to turn on or off a circuit using voltage and/or current much higher than a microcontroller could handle [3] .

3.5. Wi-Fi

The Wi-Fi makes Internet of things devices cable free [12] . Specifications:

1) Wireless Standards: IEEE 802.11n, IEEE 802.11g, IEEE 802.11b

2) Frequency Band: 2.4/5 GHz Dual Band

3) Data Rate: 802.11ac: wireless transmission rate up to 300 M + 300 M

3.6. Android Application

Android is a mobile operating system developed by Google, based on a modified version of the Linux kernel and other open source software and designed primarily for touch screen mobile devices such as smart phones and tablets. In addition, Google has further developed Android TV for televisions, Android Auto for cars and Android Wear for wrist watches, each with a specialized user interface. Variants of Android are also used on game consoles, digital cameras, PCs and other electronics [13] .

4. System Working

It consist of different types of sensing units such as Soil moisture sensor to measure water content of soil, temperature sensor to detect the temperature (Figure 2).

The android based on an automatic irrigation system which performs multiple operations in the field of agriculture, this project uses a Raspberyy Pi microcontroller which is programmed to receive the input signal of multiple sensors of the field. One Raspberyy Pi microcontroller receives this signal; it generates an output that drives a relay for operating the water pump.

If user sees the soil moisture value is below the threshold or the temperature exceeds the threshold value then the user will turn on motor through an Android application until the levels of moisture and temperature are optimized and then turn off motor. Android mobile operating system is interfaced with the Raspberyy Pi microcontroller to control the parameters of the field. The soil moisture and temperature sensor insert into the field. Connections from the soil moisture and temperature sensor are interfaced to the microcontroller. This signal is sent to mobile which displays the sensor values and switch ON/OFF to user.

5. Advantages

The design is low cost in terms of hardware component this system avoids over use of water in irrigation, under irrigation and reduces the wastage of water and it can be implemented in large agricultural areas. The system helps in labor problem when there are no labors to work and eliminates man power. This system can be operated automatically as well as manually.

6. Conclusion

This paper designs an automated irrigation system to water the crop uniform by analyzing the soil parameters, and it will optimize the usage of water by reducing

Figure 2. Pictorial representation.

wastage. By providing Android application the user can monitor and control the water requirement in the farm, the system will minimize the human intervention and also provide Lao farmers a low cost automatic system for irrigation and increase the crop productivity.


The authors would like to address their thanks to the anonymous reviewers for considerable comments and suggestions that they provided to improve the quality of the paper. They are deeply indebted to the friends and colleagues for their encouragement during writing this paper.

Cite this paper

Lorvanleuang, S. and Zhao, Y.D. (2018) Automatic Irrigation System Using Android. Open Access Library Journal, 5: e4503.


  1. 1.

  2. 2.

  3. 3. Suprabha, J. and Shailesh, H. (2014) Android based Automated Irrigation System using Raspberry Pi. International Journal of Science and Research, 5, Issue 6.

  4. 4. Bhagyashree, K., Chate and Rana, J.G. (2016) Smart Irrigation System Using Raspberry Pi. International Research Journal of Engineering and Technology, 3, Issue 5

  5. 5. Mahesh, A. Reddy, Raghava Rao, K. (2016) An Android based Automatic Irrigation System Using a WSN and GPRS Module. Indian Journal of Science and Technology, 9, Issue 30.

  6. 6. Gavali, M.S., Dhus, B.J. and Vitekar, A.B. (2016) A Smart Irrigation System for Agriculture Base on Wireless Sensors. International Journal of Innovative Research in Science, Engineering and Technology, 5, Issue 5.

  7. 7. Harishankar, S., Kumar, R.S., Sudharsan, K.P., Vignesh, U. and Viveknath, T. (2014) Solar Powered Smart Irrigation System. Advance in Electronic and Electric Engineering, 4, 341-346.

  8. 8. Jadhav, S. and Hambarde, H. (2016) Android Based Automated Irrigation System using Rasspberry Pi. International Journal of Science and Research, 5, Issue 6.

  9. 9. Ata, S.R. (2016) Web Based Automatic Irrigation System Using Wireless Sensor Network and Embedded Linux Board. International Journal of Advancement in Engineering Technology Management & Applied Science, 3, Issue 2.

  10. 10. Parameswaran, G. and Sivaprasath, K. (2016) Arduino Based Smart Drip Irrigation System Using Internet of Things. International Journal of Engineering Science and Computing, 6, Issue 5.

  11. 11. Rohit, S., Alshy, S. and Rohit, T. (2016) Smart Irrigation System Using Mobile Phone. International Research Journal of Engineering and Technology, 3, Issue 4.

  12. 12.

  13. 13.