Ccs National Institute of Agricultural Marketing: Automation Techniques in Irrigation
Ccs National Institute of Agricultural Marketing: Automation Techniques in Irrigation
Ccs National Institute of Agricultural Marketing: Automation Techniques in Irrigation
AGRICULTURAL MARKETING
• Central Controller
• Distributed Nodes
• The Network
• Rainfall Prediction using Machine Learning
• Estimation of Soil Moisture Content required
1. Central Controller
A central system is used to control the nodes, and to decide the time for which the pump
attached to any particular node is switched on. This implementation uses a Raspberry Pi 3B+,
running the Debian Linux-based Raspbian Operating system as the central controller. The
functions include communication with the nodes, data preprocessing and deriving inferences
using Machine Learning algorithms.
2. Distributed Nodes
Each node is comprised of an ESP8266 based microcontroller board (NodeMCU) and an
array of analog sensors. These sensors are used to fetch information about weather
conditions, which is converted to digital 10-bit integers using the Analog to Digital converters
present on each NodeMCU. An algorithm converts this data to a 32-bit floating point value
required by the inference model, on the NodeMCU itself
3. The Network
The nodes are connected to the central controller through a shared Wi-Fi access point,
over the IPv4 protocol . A client-server architecture is used for communication between
the nodes and the central controller. The nodes do not communicate with each other. This
implementation uses a Flask (Python) server on the central controller. The server extends
a URL in the form of a webhook. The nodes connect to the server via this webhook to
send data. The HTTP GET request is used to transmit the sensor data after post-
calculation to the server.
The default response of the server conveys two messages to the node that sent the
request:
1. If the pump attached to the particular node has to be switched on or not, and
2. The duration for which the pump has to be switched on.
4. Rainfall Prediction using Machine Learning
The rainfall prediction involved a two-phase solution:
● Prediction of Probability of Rainfall in the next 30 minutes
● Estimation of the Amount of Rainfall
The first phase is to help the network to realize whether there is a chance of rainfall to occur in the next 30
minutes or not and the device keeps checking the status at regular intervals of time when it is switched on
periodically. This is achieved by predicting the probability of rainfall to occur in the next 30 minutes.