Energy Reports (Nov 2022)

Smart irrigation system based on IoT and machine learning

  • Youness Tace,
  • Mohamed Tabaa,
  • Sanaa Elfilali,
  • Cherkaoui Leghris,
  • Hassna Bensag,
  • Eric Renault

Journal volume & issue
Vol. 8
pp. 1025 – 1036

Abstract

Read online

Traditional agriculture has been the pillar of development on the planet for centuries. But with exponential population growth and increasing demand, farmers will need water to irrigate the land to meet this demand. Because of the scarcity of this resource, farmers need a solution that changes the way they operate. With the advent of new technologies, the notion of Agriculture 4.0 has become a reality to keep up with and meet the demand. With the addition of artificial intelligence and IoT through the collection and processing of agricultural data, decisions have become more and more precise to facilitate decision-making. This paper proposes an intelligent and flexible irrigation approach with low consumption and cost that can be deployed in different contexts. This approach is based on machine learning algorithms for smart agriculture. For this, we used a set of sensors (soil humidity, temperature, and rain) in an environment that ensures better plant growth for months, from which we collected data based on an acquisition map using the Node-RED platform and MongoDB. We used many different models based on the collected data: KNN, Logistic Regression, Neural Networks, SVM, and Naïve Bayes. The results showed that K-Nearest Neighbors is better with a recognition rate of 98.3% and a root mean square error (RMSE) of 0.12, compared to other models (LR, NN, SVM, NB). and towards the end, we provided a web application that brings together the various data emitted by the sensors as well as the prediction of our models to allow better visualization and supervision of our environment.

Keywords