Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract— The present scenario necessitates the utilization of to mobile and internet. Researchers from all over the world are
water resources efficiently due to various reasons like population coming up with solutions to help farmers’ yields. Researchers
growth, rapid urbanization and climatic change. This has have come up with solutions by providing models for self-
stressed for an effective management of water resources on our powered, solar systems [1], for automatic irrigation using
planet. The mismanagement of water used for irrigation not only wireless sensor networks (WSN) such that the farmer can water
results in shortage of water but also affects the agricultural the fields from any place using GSM technique [2]. Sensors are
production. Therefore it is necessary to optimize the water placed in various parts of the field and the data from it is sent
consumption by providing a monitor and control system for the to the microcontroller. Various prototypes have been tried on
irrigation process. The manual interpretation of soil water
hub microcontroller along with Wireless modules like Zigbee
content shows inaccurate results. Also, the human interventions in
[3], Using the control from the mobile (GSM module) the
monitoring the crops lead to wastage of time and energy. The
proposed system aims to provide a sustainable solution by irrigation was carried out [4], with Raspberry pi and Arduino
automatic monitor and control of irrigation process by using [5-7], along with Wireless modules like Zigbee [8-9]
Internet of Things (IoT). In this paper, regression algorithm is [10].Using the data collected analysis was done to make the
used, which aids in the forecast of the amount of water required system smarter [11-12]. Automation has also been used to
for the daily irrigation based on the data provided by various monitor plant growth by interfacing webcam, to detect the start
sensor devices. The forecasted information is made available on of germination of disease using PIC16F877A microcontroller
the mobile application (app), through which the current status of [13], to detect rodents and other foreign objects in the fields
the agricultural field can be accessed. Henceforth this sensor [14-15].
network application will help to detect water content in the soil
and aids in the smart utilization of water resources. Nevertheless, in this paper, a fully automated sensor based
irrigation system for agricultural fields is developed. The
Keywords—water resources; agriculture; irrigation; automation; temperature sensor, soil moisture sensor and rain drop sensor
regression algorithm has been deployed. Various agricultural plants are grown in
different tubs and a drip irrigation setup is created to irrigate
the plants. Sensor nodes are placed in each of the tubs. Each
I. INTRODUCTION sensor is integrated with the Raspberry pi and it is programmed
Agriculture is the backbone of Indian economy. It is the for controlling an electromagnetic valve which operates the
major source of food production to the growing demand of motor in order to start/stop the irrigation process. The data
human population demand. Also agriculture is graphically the collected from various sensors is received by the
broadest economic sector and contributes more towards the microcontroller, which compares with the set threshold value to
GDP of the country. Irrigation forms an important part in make a judgement on the watering process to the field. If the
agriculture that influences crop production. Farmers mostly moisture values are not within the bounds of the set value, then
depend on rainfall for water supply for irrigation purposes. But the microcontroller activates the motor. The data acquitted
when rainfall is scarce, they make use of available water from different sensors are updated to cloud periodically, which
resources to irrigate their fields. Some farmers switch on the can be accessed by the user through the mobile app. Rain drop
pump overnight and do not switch it off once the field is filled sensors have been used to detect the water level in the tank. If
with sufficient water. This leads to wastage of water. Also, the water goes below the set level, the user is notified via the
farmers have to visit their fields periodically to check if the app to refill the tank.
required amount of water is being supplied. This is a time This paper abstracts the methods of irrigation that are
consuming process especially if a farmer needs to irrigate traditionally followed in Section 2. The different system
multiple fields located in different areas. modules required to implement the proposed smart irrigation
The introduction of automation in irrigation system makes system are described in Section 3. The agricultural field setup
things much simpler. Technology has increased the basic needs providing the details on the various types of plants cultivated
are given Section 4. The regression algorithm based smart
irrigation supported with the hardware implementation is maintenance is scarce. In this project, solar panel acts as the
demonstrated in Section 5. prime power source. The following are the modules used:
B. Sprinkler Irrigation
In this type, the water is piped to one or more locations in Fig. 2. Soil Moisture Sensor
the field, and is distributed by overhead high pressure sprinklers
or guns. This method is useful when the quantity of water B. Rain Drop Sensor
available is less. It also involves lesser manual labor and water The module as shown in Fig. 3 is a combination of rain
wastage. board and the control board that is separate for more
convenience, an indicator LED and an adjustable sensitivity
C. Drip Irrigation through a potentiometer. The digital output is used in detection
In drip irrigation, the water is allowed to drip slowly to the of water drops. Connected to 3.3V power supply, the LED will
roots of the plants. This is done through a network of valves, turn on when rain board has no rain drop, and DO output is
pipes, tubing and emitters. The narrow tubes deliver water high. When dropping a little amount water, DO output is low,
directly to the roots of the plants. The water is soaked by the the Switch indicator will turn on. When the water droplets are
soil immediately before it evaporates. Also, the water is bluff off sensor restores to the initial state, outputs high level.
delivered to the plants only when required. Drip irrigation is
applicable to all soil types and plant varieties. This method is
highly advantageous over the other methods as it helps in
reducing water and fertilizer wastage by a great extent and also
reduces manual work.
Drip irrigation is the most efficient method of irrigation
process based on the field water sufficiency. The key usage
of drip system is to minimize the water usage so that water
scarcity is not met. The prime factors of drip irrigation are that
the water soaks into the soil before it evaporates and the water is Fig. 3. Rain Drop Sensor
supplied to the field only when it is required. Systematic
irrigation management can be well established by this method. C. Water Flow Sensor
Drip irrigation is applicable to all kinds of soil and different Water flow sensor as shown in Fig. 4 is a sensor that
varieties of plants as well. The proposed work utilizes the drip measures the volume of the water flow in pipelines. Water
irrigation technique which is considered to be more advantageous flow sensor consists of a hall-effect sensor, a water rotor and a
and installed for plant cultivation. plastic valve body. When water flows through the flow sensor
rotor, rotor rolls and speed of it changes with a different rate
III. SYSTEM MODULES of flow. The hall-effect sensor outputs the corresponding pulse
Solar technology is emerging well than the traditional signal. There are many types of water flow sensors, in this
power source and it is implemented in the areas where skilled project hall-effect water flow sensor is been used to calculate
the water flow.
F. DC Pump
DC Water Pump as shown in Fig. 7 is a device used to Fig. 8. Proposed System
convert the electrical power to mechanical power. In this
project DC Water Pump used to pump the water from the tank By making use of the Wi-Fi module the sensed input data
to irrigate the plants. are fed to the cloud. The microcontroller programming is done
either to produce 3.3V or 0V at the output port based on the
sensed value. If the sensed value is less than the threshold
value, then output port is programmed to produce 3.3V (Board
Output) to the relay and the relay gets activated which in turn
allows the DC motor to pump water to the field. Similarly, if
the sensed value is greater than the threshold value, the output
port is programmed in such a way to produce 0V which is not
sufficient to activate the relay. Therefore, by the usage of
raspberry pi microcontroller a fully automated system is
Fig. 7. DC pump implemented in this work.
V. HARDWARE IMPLEMENTATION plants in the Tub2. Fig.11 illustrates that the motor relay is ON
The results obtained from the relay activation, indication and it is in the watering condition.
of tank level, mobile app and the forecasted results on the
water requirement of the plant are discussed in detail in the
following sub-sections.
shown in Fig.13., where three green light indications temperature and the amount of water irrigated are plotted in
corresponding to the sequence of 0001 indicating the level of graph as presented in Fig. 15. By taking the amount of water
the water in the tank as 75%. flow and temperature as inputs, the final resultant graph (with
temperature in x-axis and water irrigated in y-axis) is obtained
C. Regression Algorithm as output executed on MATLAB software.
Regression algorithm illustrated as flowchart in Fig. 14 is
one of the data mining techniques used to forecast the amount
of water required for the next irrigation.
Fig. 14. Regression Flowchart The data obtained from cloud shown in Fig. 16 is
communicated to the mobile app, which is built on a Java
Basically, in this work the regression technique works on
platform. This aids the user to access the details of soil
two prime factors i.e. the amount of water flow and the
moisture content, temperature in the field and the working
temperature of the surrounding.
state of the motor to irrigate the field.
Initially the data number is set and for the current
temperature, the corresponding quantities of water absorbed by
the plants are taken into consideration. The mathematical
expression for plotting the regression line is expressed in
equation (1), while yꞌ gives the forecasted amount of water that
is required for the next day expressed in equation (2).
y = mx + c (1)
yꞌ = b0 + b1x (2)
where, b1 is the slope of the regression line and b0 is the
intercept of the regression line. For the actual data, the
computations are being carried out for the predicted values of Fig. 16. Cloud Data
water absorbed and the deviations are being taken for the next
iteration. The error gives the difference between the actual From the microcontroller used, the data is being
amount of water absorbed by the plants and the predicted value transferred to cloud through the API Key which in turn is
being calculated which are taken for the further computations. transferred to the mobile app. The moisture value obtained
using the sensors which are in the form of voltage is being
Likewise, a continuous set of data which are stored in cloud converted into percentage to indicate the level of dryness in
are being extracted. The two parameters which are the