The goal of this project is to improve agricultural irrigation efficiency and sustainability through the development and deployment of an IoT-based system. The method allows for low-energy, long-range (LR) communication over vast agricultural fields by combining solar-powered ESP32 microcontrollers with LR data transmission technologies. Soil moisture, pH, temperature, and humidity sensors are essential, as is a photoreceptor (PIR) sensor for intrusion detection. We can remotely monitor and precisely regulate irrigation using our mobile applications since the technology transmits data in real-time to a cloud server. Farmers in outlying locations without reliable electricity or internet can greatly benefit from the system's shown capacity to optimise water consumption, decrease operating costs, and increase crop yields, according to field testing. Alternative irrigation systems have their limitations, but the combination of renewable energy and cutting-edge Internet of Things technology holds great promise for agrarian reform and resource preservation.

  • Real-time tracking of soil moisture, pH, temperature, and humidity enhances irrigation precision.

  • Solar-powered ESP32 microcontrollers for efficient field data communication.

  • Solar power supports system sustainability in areas with inconsistent electricity.

  • Real-time data is available via cloud for remote irrigation control.

  • Field tests demonstrate improved water efficiency and increased crop yields.

As a result of climate change, rising populations, and limited resources, the agricultural sector essential to human survival is under growing pressure to improve sustainability and productivity. Wasting water, not being very efficient, and not getting the best agricultural yields are common outcomes of using traditional irrigation systems. An innovative and game-changing approach to irrigation management and other agricultural operations has arisen with the advent of the Internet of Things (IoT) in recent years. To maximise water efficiency, boost crop yields, and guarantee environmentally friendly farming methods, IoT-based irrigation systems use cutting-edge technology. Examining its components, advantages, disadvantages, and future possibilities, this research delves into the electronic information transmission of agricultural irrigation based on the IoT.

Effective irrigation and its significance

Sustainable agriculture relies on efficient irrigation. There is a lot of water lost through evaporation, runoff, and inadequate water distribution when using traditional methods such as flood irrigation (Dhiman et al. 2015). On the other hand, precision irrigation methods, such as sprinkler and drip systems, need precise management and monitoring in order to optimise water usage. The IoT allows for the exact management and real-time monitoring of irrigation operations, which guarantees that plants get the water they need right to their root zones (Jiménez et al. 2022).

The term ‘Internet of Things’ describes a system of linked computing devices that may share information and instructions via the web. A wide range of sensors, actuators, and communication technologies make up the IoT in agriculture, which is used to gather, transmit, and analyse data pertaining to soil moisture, weather, crop health, and other important characteristics (Gu et al. 2020). Farmers may improve the efficacy and efficiency of their farming techniques by using this data-driven strategy to make educated decisions.

IoT irrigation system elements

IoT-based irrigation systems rely heavily on sensors. To get up-to-the-minute information on soil conditions, soil moisture sensors assess how much water is in the soil. Sensors that measure humidity and temperature keep tabs on factors that influence how much water plants need. The timing of irrigation is affected by the data collected by weather sensors, which include rainfall, wind speed, and sun radiation (Montori et al. 2018). The smooth functioning of irrigation systems that are based on the IoT depends on the efficient transmission of data. Wi-Fi, Zigbee, LR, and cellular networks are only a few examples of the wireless communication technologies that allow sensors to transmit data to centralised servers or cloud platforms (Adeyemi et al. 2017). These innovations provide low-latency, energy-efficient data transmission across great distances.

State-of-the-art algorithms and machine learning approaches are employed to process and analyse the acquired data. Irrigation management can benefit from the actionable insights provided by data analytics tools that combine data from several sources. Using both current and past data, these systems can optimise water consumption, forecast when irrigation will be necessary, and identify any irregularities. The data analysis is carried out by the actuators, whose job it is to carry out the irrigation orders. They make sure the crops get just the right amount of water by controlling the sprinklers, pumps, and irrigation valves. It is possible to program actuators to work independently or to be controlled from afar via web interfaces or mobile apps (Lamsal et al. 2023). Platforms for cloud computing supply the backbone required to store and analyse massive amounts of data produced by IoT devices. Because of the scalability, adaptability, and accessibility of these systems, farmers may have access to data and insights whenever and wherever they need them (Glória et al. 2021).

By directing water flow to specific areas at certain times, irrigation systems powered by the IoT drastically cut down on water wastage. In order to save precious water resources, this precise irrigation reduces runoff, evaporation, and deep percolation to a minimum (Tarjuelo et al. 2015). IoT-based irrigation solutions encourage better plant development and greater harvest yields by precisely watering crops at the correct times. By optimising irrigation schedules using real-time data, these devices guarantee that plants receive sufficient water throughout crucial growth periods (Sharma et al. 2023).

Farmers can enjoy financial benefits from more efficient water usage. Water bills and the energy expenses of pumping and delivering water are both reduced when water use is reduced. Further, by detecting irrigation infrastructure leaks and failures, IoT-based devices can reduce maintenance costs and water loss (Elijah et al. 2018). Reducing the environmental effect of irrigation methods and encouraging responsible water consumption are two ways in which irrigation systems based on the IoT help sustainable agriculture. Precision agriculture, which makes use of these techniques, seeks to maximise efficiency while reducing environmental impacts (Mulozi 2008).

IoT-based irrigation systems have many advantages, but they also have several limits and difficulties:

  • Sensors, communication devices, actuators, and data analytics platforms all contribute to the high initial expenses associated with installing an irrigation system that is based on the IoT. The method may not be widely adopted since these expenditures are too high for small-scale farmers (Yazdinejad et al. 2021).

  • Internet connectivity is crucial for the smooth functioning of systems that rely on the IoT. Implementing these systems effectively might be challenging in isolated or rural places due to limited or intermittent internet connectivity (Harding 1917).

  • There are valid issues regarding the privacy and data security of agricultural data during transmission and storage. Threats of abuse or cyberattacks might result from unauthorised access to confidential information. To protect agricultural data, it is essential to use strong security measures and data encryption techniques.

  • Installation, operation, and maintenance of irrigation systems based on the IoT necessitate technical knowledge. Farmers must receive training in order to comprehend and make good use of the technology. It may be difficult to accept and apply due to a lack of technical expertise (Jiménez et al. 2022).

With continuous technological breakthroughs and a growing awareness of sustainable agriculture practices, the future of IoT-based irrigation systems is bright. IoT advances in agricultural irrigation are likely to be influenced by the following trends:

The capabilities of irrigation systems will be enhanced by the integration of AI with IoT. In order to optimise water consumption according to crop-specific demands and environmental circumstances, AI systems can sift through mountains of data, forecast irrigation needs, and more (Pranto et al. 2021). Computing near the network's periphery, or ‘edge’, allows for less latency and bandwidth needs by processing data in close proximity to its source. IoT-based irrigation systems can enhance the responsiveness and efficiency of irrigation management by utilising edge computing to conduct real-time data analysis and decision-making. IoT-based irrigation systems can benefit from blockchain technology's increased security and transparency. Ensuring data integrity and traceability, it can create an immutable record of data transactions that is decentralised. Automated and safe irrigation procedures can also be facilitated by blockchain-based smart contracts (Sudharshan et al. 2019). Improvements in connectivity and data transmission capabilities will result from the expansion of IoT networks, which will involve the deployment of 5G technology. IoT-based irrigation systems will be widely used, especially in underserved and distant places, thanks to improved network infrastructure (Benyezza et al. 2021).

Water conservation, improved crop output, cost savings, and sustainability are just a few of the many advantages offered by irrigation systems that are IoT based. Sensors, data analytics, and cloud computing are some of the cutting-edge technology that these systems use to make irrigation control more accurate and efficient. In order to guarantee the broad adoption and effective implementation of irrigation systems based on the IoT, some obstacles must be overcome. These include high initial costs, connectivity constraints, data security concerns, and technological complexity. The IoT has great potential in agricultural irrigation, which might lead to a more efficient and environmentally friendly farming industry in the future, thanks to rising sustainability consciousness and continuous technical development.

To provide a fresh model that improves upon existing solutions in the intelligent monitoring and irrigation domains, it is crucial to do literature research. This will help to understand the current situation and the obstacles encountered in earlier efforts. Presented here are the solutions put into place in this domain: Additionally, the prototype (Tiglao et al. 2020) switches off the engine to conserve energy when it starts to rain. Some more sensors, such as pH sensor, could make this system even better. It created a smart irrigation system that uses power from a solar panel, an Arduino, and sensors to measure soil moisture, temperature, and humidity (Goap et al. 2018). Farmers can see the temperature, wetness, and soil moisture levels thanks to sensor data relayed to the cloud. An infrared motion sensor (PIR sensor), for instance, could be a useful addition to this system for keeping animals out of the field. With the help of Raspberry Pi, sensors for soil moisture, temperature, and overall humidity were able to implement an IoT-zoned irrigation system that improved plant growth while decreasing water usage (Shufian et al. 2021). There is room for improvement in this system's energy autonomy; a solar board may provide power and artificial intelligence procedures could optimise water use. As part of their IoT prototype, Raspberry Pi, an irrigation system, and sensors for soil temperature, wetness, and moisture were used to help farmers make smart choices and get the best harvests possible (Sun et al. 2024).

Switching from the power-hungry Raspberry Pi and Wi-Fi to the more efficient ESP32 and LR can significantly reduce the system's electrical power consumption. An innovative, completely autonomous irrigation system was created using an IoT model that incorporates open-source technologies, temperature, soil moisture sensors, Raspberry Pi, and Raspberry Pi Zero to forecast when a field will require irrigation (Shukla et al. 2022). By incorporating agricultural monitoring sensors, such as pH sensor, into this system, more and better agricultural products are within our reach. Using a combination of the Arduino Uno's features and sensors for soil temperature, humidity, and wetness, as well as cloud computing, were able to execute a control system through an IoT platform (Zare & Iqbal 2020). On low soil moisture levels, the prototype automatically waters the fields. Including a solar panel allows this device to function independently across expansive agricultural areas.

A method is used for monitoring agricultural fields through the IoT (Zourmand et al. 2019). This system would use a Raspberry Pi camera, an infrared motion detector, and a soil moisture sensor to automatically water fields. Because it uses less power than the Raspberry Pi, the ESP32 is a good choice for optimising this system's electrical consumption. To predict the weather using an open API, a model was developed (Citoni et al. 2019) that utilises NodeMCU technology, soil moisture sensors, temperature, and ThingSpeak cloud architecture. The optimisation of irrigation can be achieved with these parameters. Agricultural field monitoring devices, such as pH sensor, and solar panels can make this system work better across expansive fields. An Arduino Uno, solar panel, fast charger, and battery were the components of the prototype devised (Lei et al. 2022). The Arduino Uno acts as the controller, while the ESP8266 Wi-Fi module regulates online monitoring and receives sensor data. By using the PIR sensor, this system can enhance the protection of agricultural fields from animal incursion. For irrigation and decision-making, a hybrid model that makes use of Raspberry Pi and other parameter observations was suggested. Using several characteristics (Gorjian et al. 2021), K-nearest neighbours (KNN) compiles data on the nearest detections, allowing for precise water management and energy savings through irrigation. Including a solar panel and energy-efficient technologies, such as ESP32 and LR, allows this system to function autonomously and adapt to big agricultural areas. The IoT system was developed (Lee et al. 2020) to make use of an Arduino Uno in conjunction with a YL-69 soil moisture sensor to provide data of soil's dampness level and the necessity of watering. To comprehend the Moringa plant's development behaviour under different climate circumstances, the data are analysed by the Arduino chip, which also runs the complete mission. Applying AI procedures that maximise water efficiency in expansive farming fields can enhance this approach.

When it comes to the IoT, agriculture is one of the leading fields. When soil moisture levels drop, there are several systems that can water plants automatically; however, these solutions are not practical for huge agricultural fields due to their energy restrictions. This is because some parts of these fields do not have electricity or internet, so the existing systems in these areas cannot fix the problem. Additionally, these systems suggest solutions that rely on batteries or wires to power their equipment, disregarding the security of agricultural areas. This is problematic for several reasons, including the large size of agricultural fields and the high cost of installing energy-intensive technological solutions.

The following part will present a new system that aims to adapt to the challenges of huge agricultural fields, increase efficiency, decrease energy consumption, and safeguard our agricultural area from encroachment. These challenges include restricted electricity and internet availability.

Several essential techniques are involved in the efficient and sustainable use of water in agriculture, which is an essential part of the world's food production. About 70% of the world's freshwater withdrawals go towards irrigation, the principal use of water in agriculture. To enhance agricultural development, this method entails supplying water to crops in addition to what the earth naturally receives. Several irrigation techniques are used, such as sprinkler systems, drip irrigation, and surface irrigation. Although it is the most traditional approach, surface irrigation frequently results in lower yields than other methods because of the high rates of water loss to evaporation and runoff. On the other side, drip irrigation greatly improves water consumption efficiency by delivering water straight to the root zones of plants. As a result of climate change and severe water shortages, efficient water usage in farming is becoming more critical. To better manage water resources, more and more people are turning to precision agriculture and technological soil moisture monitoring tools. The goal of precision agriculture is to increase agricultural yields while decreasing water, fertiliser, and pesticide waste via the use of data and technology. To prevent overwatering, farmers may now use real-time data on soil conditions provided by soil moisture monitors and remote sensing technologies. This stops problems like nutrient leaching and soil salinisation from happening, and it also saves water (Citoni et al. 2019).

Integrating water-saving and soil-health-enhancing activities is another component of sustainable water management in agriculture. Soil structure, water infiltration, and evaporation may all be improved by conservation tillage, cover crops, and crop rotation. The demand for irrigation can be further diminished by choosing crop types that are resistant to drought. Sustainable use of water resources is dependent on policymaking and infrastructure development, including the building of efficient irrigation systems and water storage facilities (Gorjian et al. 2021). To better manage water resources, increase resilience to climatic unpredictability, and guarantee food security, the agricultural industry may combine technology advancements with conventional water conservation measures.

Effectiveness of IoT in the utilisation of water

One of the most important parts of sustainable farming is efficient water usage, and the IoT has made a huge difference in this area. By connecting sensors and controlled irrigation systems, technologies enabled by the IoT allow for the real-time monitoring and control of water supplies. Plant water needs, weather forecasts, and soil moisture levels are all tracked by these sensors placed in bodies of water and on land. By sending this information to cloud-based systems, it can be analysed to determine the best times and amounts to water crops, guaranteeing that they get just the correct quantity of water at just the right moment. In addition to reducing water waste, this kind of precise irrigation improves crop quality and output by avoiding water stress (Lee et al. 2020).

Additionally, irregularities in irrigation systems may be detected and future water demands can be predicted with the use of advanced analytics and machine learning algorithms that can be integrated with IoT technology. For instance, farmers might use predictive analytics to plan and modify their water management practices in response to impending drought or heavy rains. Immediate detection and correction of irrigation system anomalies like leaks or blockages may significantly cut down on water waste and maintenance expenses. The IoT offers a data-driven strategy that may help farmers make better decisions that are in line with sustainable water management techniques, which in turn reduces the environmental impact of farming (Ojha et al. 2015).

The IoT not only helps farms maximise their water use, but also makes larger-scale water resource management more efficient. The IoT allows for the creation of extensive networks that can track water use across various areas, farms, or even whole water basins. Efficient and sustainable water allocation across various agricultural zones is made possible by this networked strategy, which also allows for communal control of water resources. The IoT can aid in the fight against climate change and growing water shortages by offering a comprehensive picture of water use and availability, which in turn can inform the implementation of laws and practices that encourage water conservation (Kim et al. 2008). Therefore, the impact of the IoT on water usage in agriculture goes beyond specific farms and helps with larger initiatives to achieve water sustainability.

The ESP32 is a highly versatile and powerful microcontroller developed by Espressif Systems, widely used in IoT applications due to its integrated Wi-Fi and Bluetooth capabilities. With dual-core processing, it supports various connectivity options and can handle multiple tasks simultaneously, making it ideal for complex projects. The ESP32 is designed for low power consumption, allowing it to operate efficiently in battery-powered devices. In agricultural applications, the ESP32 can be employed in sensor networks to monitor environmental conditions, control irrigation systems, and collect data from remote locations. Its programmability and compatibility with various development platforms, such as Arduino and MicroPython, enable developers to create customised solutions tailored to specific agricultural needs. By utilising the ESP32, farmers can enhance their operational efficiency, improve resource management, and implement smart farming techniques that contribute to sustainable practices and increased productivity.

LR technology

Long-range (LR) technology, developed by Cycleo and acquired by Semtech, revolutionises wireless data transport by enabling efficient communication over vast distances with low power consumption. In agriculture, this technology facilitates the use of IoT systems to transmit crucial data about soil moisture and environmental conditions across large fields (Kim et al. 2008). By sending short messages multiple times daily, farmers can make timely, informed decisions on irrigation and resource management. The reduced need for infrastructure and energy consumption enhances operational efficiency, ultimately leading to increased crop yields and promoting sustainable farming practices, all while preserving electricity and minimising environmental impact.

Description of the system

Two parts make up our novel autonomous agricultural system, which is detailed in this article. The initial component is designed to assess terrain factors such as temperature, soil moisture, pH value, and wetness to detect conditions in real-time. To keep an eye on things in the agricultural area, we have sensors that measure things like soil pH, soil moisture, temperature, and humidity. Additionally, we have a PIR sensor that keeps an eye out for any animal invasions. To maximise water irrigation efficiency on expansive farmland, the ESP32 microcontroller is used to treat soil moisture.

As soon as the parameter falls below it, the ESP32 MCU will tell the pumps to turn up the operation to its optimal level. Data processing is accomplished by transmitting processed data to the second unit over the LR protocol. The data reception and transmission to the cloud over Wireless Fidelity are handled by the second component. If the user's mobile device has an internet connection, they can use a cloud server to keep tabs on their expansive farms. Using LR and the ESP32 microcontroller, Figure 1 depicts the smart agriculture methodology.
Figure 1

Architecture of the proposed model.

Figure 1

Architecture of the proposed model.

Close modal

Components for building the IoT-based irrigation system

We have meticulously chosen a variety of sensors and components to build an intelligent and effective system for regulating and tracking the state of our agricultural land as we design our new system. A successful and functional system relies on its parts, each of which performs a unique function. Thanks to the real-time data on critical factors made possible by this technological integration, agricultural practices are expected to be improved. Learn how our system is built:
  • a.Sensor for rain detection: Outputs from this sensor are: an analogue A0 that ranges from 0 V (totally wet plate) to 5 V (dry plate), and a logical D0 that can be adjusted with a screw to detect anything or nothing at all. Figure 2(a) shows the rain sensor that is part of our new system. Its job is to detect rainwater.

  • b.Humidity and temperature sensor: With just one cable and one protocol, this humidity and temperature sensor can send back readings in the range of 16 bits. The sensor shown in Figure 2(b) measures the temperature and relative humidity of the cropland in our revised model.

  • c.Sensor for soil moisture: Figure 2(c) shows our new technology in action, and it is designed to assess soil moisture. Soil conducts more electricity, leading to less resistance, when there is more water. On the flip side, increased resistance results from less electrical conductivity of the soil due to a lack of water.

  • d.Sensor for pH: A solution's acidity or basicity can be ascertained by measuring its pH with the use of the pH instrument. The pH device in the prototype can only be used to monitor soil pH; therefore, it will need some programming. Our new system includes a pH sensor, as shown in Figure 2(d). Our farmland's pH level is what it aims to measure.

  • e.PIR sensor: The electrically polarised, naturally occurring crystals used in this sensor can manage voltage changes when subjected to heat or cooling. That can rearrange atomic locations in crystals. The crystal becomes strained because of these positional changes. This sensor functions independently. To prevent animals from getting onto our farmland, the new system will include an infrared detector like the one in Figure 2(e).

  • f.Microcontroller ESP32: An inexpensive IoT development board that combines Bluetooth, the ESP32 microcontroller from Heltec automation shown in Figure 2(f), LR, and wireless communications. A lot of smart homes, towns, and farms employ it.

  • g.Solar panel: One piece of machinery that can generate green power is the solar panel. Solar panels can be either photovoltaic (which turns sunlight into electricity) or thermal (which turns sunlight into heat). Solar thermal panels include a glass top that soaks up the sun's rays and channels them into a fluid, which then generates electricity. In our innovative system, the solar panel (Figure 2(g)) is utilised to power IoT devices by converting sunlight into electricity. Highlighting the sustainability benefits of solar-powered controllers is essential, as they reduce reliance on fossil fuels and lower carbon emissions. Emphasising their ability to harness renewable energy not only promotes eco-friendly practices but also enhances energy independence, leading to cost savings and a more resilient agricultural system.

  • h.Diode: The current can only flow in one way through this gadget. It controls the flow of current in one direction while blocking its reversal. A device's type, voltage, and current capacity determine its classification. Figure 2(h) shows a diode that will be used to limit the voltage in our new system. This is what will prevent our new system's battery from delivering reverse currents to our solar panel.

  • i.Lithium batteries: This battery type has a higher energy density than others, allows for fast charging, and has a lengthy runtime. Lightweight and exceptionally long-lasting, lithium batteries are a great choice. Figure 2(i) depicts lithium batteries, which enable our new system to be entirely energy independent by supplying electricity during the night and accumulating energy throughout the day.

  • j.Power bank rechargeable card: Powered by a battery or batteries, the card can be seen as an energy source. An interesting feature of some cards is their ability to charge a portable electronic device; in other words, they are designed to function like power banks. As an additional power source to a permanent mains supply, some are better suited for usage as a UPS backup. Utilising the charging board as a guide, construct a lithium-powered portable charger that can power all five V-compatible gadgets, as shown in Figure 2(j).

  • k.Water pump: Agricultural lands are irrigated using the water pump, as depicted in Figure 2(k). Soil moisture is critical to the water pump's performance. If the soil moisture level goes below a certain threshold, for instance, irrigation of the crop field can be initiated by means of a water pump.

  • l.E-Relay: A relay unit allows an electrical load using a little power signal. A power winding and a mechanical contact are its main components; an extremely weak electrical signal can open and close the former, while the latter can activate the former. Lights, motors, and pumps are just a few examples of electrical equipment that the relay module may handle. It can also prevent overloads and short circuits by severing power to electronic circuits. The new model's pump is controlled by our microprocessor, the ESP32, and electric relays, as illustrated in Figure 2(l), serve this purpose.

  • m.LR module: An ultra-efficient long-range transceiver, with its UART interface and 1-Watt output power, the LR ebyte E32 module is a great choice. To enable LR networks, this module makes use of the renowned Semtech SX1278 chip, which operates at 433 MHz. Reliable communication over long distances is provided by this module, which is an essential component of our system (Figure 2(m)).

Figure 2

Images of different sensors. (a) Rain sensor, (b) DHTT22 sensor, (c) Soil moisture sensor, (d) pH sensor, (e) PIR sensor, (f) ESP32 microcontroller, (g) Solar panel, (h) Diode, (i) Lithium battery, (j) Recharge card, (k) Pump, (l) Relay, and (m) LR module.

Figure 2

Images of different sensors. (a) Rain sensor, (b) DHTT22 sensor, (c) Soil moisture sensor, (d) pH sensor, (e) PIR sensor, (f) ESP32 microcontroller, (g) Solar panel, (h) Diode, (i) Lithium battery, (j) Recharge card, (k) Pump, (l) Relay, and (m) LR module.

Close modal

Development of the IoT-based water management agriculture system

We used a mix of software and hardware components to build our new agricultural system, which allows for easy use and efficient operation. Important to our system's creation and functioning are the following components:
  • a.Arduino IDE: One must have a piece of open-source programme for designing Arduino panels, and that is the Arduino IDE. Code inscription, compilation, and posting to the panel are all made easy with its intuitive UI. C/C ++ is its foundation, and it offers specialist libraries for managing sensors and I/O pins. The situation is extensively used to build a wide range of cutting-edge electronic and IoT projects, and it is accessible to both novices and professionals. The new system was developed using the Arduino IDE.

  • b.Mobile application: To keep things straightforward and easy to understand, we built the mobile app depicted in Figure 3 with a single interface that shows the key data processed by our ESP32 microprocessor and displayed instantly after retrieval from the cloud. We built our software on top of the Blynk platform, which is compatible with a wide range of microcontrollers and runs on the Android operating system. There are three main components to it, the Blynk app is a robust mobile app that lets users manage and see data from a variety of device types. It provides a straightforward interface that lets users build their own dashboards to remotely monitor and control different devices. One of the many uses for Blynk is the ease with which users may build interactive interfaces for use with microcontrollers, sensors, and actuators.

Figure 3

Application for mobile.

Figure 3

Application for mobile.

Close modal

Central to the Blynk ecosystem is the Blynk cloud, which facilitates communication between devices and the mobile app. In its role as a server, it allows the mobile app and linked devices to communicate with each other in both directions. Users can connect securely to their devices from anywhere thanks to this cloud infrastructure. For the mobile app and other devices to transfer data securely and efficiently, it is essential, guaranteeing a pleasant experience for the user.

Command buttons, alerts, and display styles are just a few of the many pre-built widgets available in the vast Blynk collection of software components. You may customise the display formats to make data clearer and aesthetically pleasing, and there are command buttons to instruct gadgets. You can also receive alerts in real-time with these widgets. Dashboards can be customised with a wide variety of widgets, empowering consumers to create personalised user interfaces for IoT and home automation apps.

Operation of the IoT-based water management system

Data retrieval from many sensors is the responsibility of the ESP32 microcontroller (1) in the first unit. It then uses LR connectivity to send the processed data to the second unit after data collection is complete. On top of that, the microcontroller keeps an eye on the soil moisture levels and activates the water pump to irrigate the crops when the reading goes above 700. Additionally, our scheme's water thrust is immediately turned off when it detects rain, because there is a rain sensor built into the microcontroller. This way, irrigation is deferred in normal rainfall occasions. The agricultural irrigation system is made more efficient and environmentally friendly with the help of this integrated capability. Our new system's process is illustrated in Figure 4.
Figure 4

Flowchart of ESP32 microcontroller.

Figure 4

Flowchart of ESP32 microcontroller.

Close modal

In the second unit, we will use cloud computing and our ESP32 microcontroller (2) to process and send the user all the data that was acquired from the sensors in the first unit. Thanks to this flawless connectivity, users may access and control data in real-time, providing customers with the ability to remotely oversee and control crucial factors for farming activities. Additionally, our ESP32 microcontroller (2) ensures dependable and secure data exchange by acting as the interface between the user and the cloud infrastructure. Through its straightforward design and user-friendly features, the mobile app gives users easy access to the collected data, allows them to get notifications, and empowers them to make educated decisions about irrigation and other agricultural activities. Our approach helps make farming more effective and sustainable by taking use of cloud computing's scalability, accessibility, and data-driven insights. By taking a holistic view, we can improve efficiency, reduce waste, and provide farmers with the data they need to maximise their harvests.

We put our new technology through its paces in places without power or internet. With the help of LR networks and our solar panels, our system operates effectively according to the on-field evaluation. By utilising LR for long-range communication between system units, our technology has proven to be effective in places with limited access to energy and the internet. Using a solar panel also guarantees a constant source of power, which is essential for systems that are in remote areas. The results of these field tests demonstrate that our technology is reliable and can be used to optimise agricultural irrigation in places without power or grid infrastructure in a sustainable and effective manner.

After installing our new model in a large-area field test, we determined that our battery could reliably run our prototype for one day. Our power system, like in Figure 5, takes 3 h to complete in perfect conditions. It comprises solar panels and a charging battery with a voltage ranging from 2.7 to 4.4 V. Figure 6 shows that if the sun does not come out in the morning, our battery and solar panels power system will begin discharging in the afternoon. When I woke up this morning, the voltage was 2.68 V.
Figure 5

State of battery charging.

Figure 5

State of battery charging.

Close modal
Figure 6

State of battery discharging.

Figure 6

State of battery discharging.

Close modal
Reasons for using the new system include its quick response time and low cost. Using ESP32 and LR, we can immediately link sensors to our mobile app, allowing us to monitor our agricultural fields in real-time. If our agricultural field is invaded, the information received by the motion detector is depicted in Figure 7. For 3 days, several methods of irrigation were used and observed. When compared to drip irrigation and hand irrigation, our novel technology uses the least amount of water (Figure 8). Figure 9 shows the proportion of the engine's total running time over 3 days. Based on the statistics, the new model accounted for 9.34% of watering time, drip irrigation for 20.34%, and manual irrigation for 31.34%.
Figure 7

Alert during detection of motion.

Figure 7

Alert during detection of motion.

Close modal
Figure 8

Water management for irrigation.

Figure 8

Water management for irrigation.

Close modal
Figure 9

Water management usage in percentage for various days.

Figure 9

Water management usage in percentage for various days.

Close modal

Discussion

The new IoT architecture has many benefits over older systems in this sector, particularly in more remote agricultural areas. It utilises several components, including solar panels, ESP32, LR module, rain, soil moisture, humidity, and PIR. To begin with, these sensors, when used together, permit exact and thorough environmental monitoring. Several sensors are used by our model to gather data on motion, rain, soil moisture, pH, and ambient humidity, which is compared to other systems. Together, these sensors allow farmers a bird's-eye view of their surroundings, letting them optimise their agricultural techniques and make better judgements.

Furthermore, dependable LR connectivity is provided by the ESP32 and LR module. Even in remote places with spotty internet service, our model still enables farmers to remotely access sensory information and work structures. Farmers in the countryside depend on present information for making important choices; therefore, it is quite advantageous to be able to converse well even in areas with poor connectivity. Our model is also unique in that it has a solar panel to provide electricity. Reducing operational expenses and environmental effect, our technology utilises renewable energy instead of existing systems that rely on external power sources. This ensures a constant supply of power even in remote areas and gives energy independence to farmers in rural areas, who would otherwise have to rely on the grid. By integrating vital sensors, LR connectivity, and renewable solar power, our IoT architecture provides a more complete and integrated solution than competing solutions. With this one-of-a-kind combination, farmers in rural areas can have access to cutting-edge technology, which in turn increases agricultural output while decreasing operational costs and facilitating better management of available resources. Table 1 summarises research findings on electronic information transmission for agricultural irrigation based on the IoT. This table highlights key aspects such as the type of communication technology used, efficiency improvements, energy consumption, and benefits observed in various studies.

Table 1

Research findings under different case studies

StudyCommunication technologyEfficiency improvementEnergy consumptionBenefits
Study A LoRaWAN 30% reduction in water usage Low Enhanced remote monitoring of soil moisture levels 
Study B Zigbee 25% increase in crop yield Moderate Improved data accuracy for irrigation scheduling 
Study C NB-IoT 40% improvement in irrigation efficiency Very low Real-time alerts for irrigation needs 
Study D Wi-Fi 20% decrease in labour costs Moderate Seamless integration with existing farm management systems 
StudyCommunication technologyEfficiency improvementEnergy consumptionBenefits
Study A LoRaWAN 30% reduction in water usage Low Enhanced remote monitoring of soil moisture levels 
Study B Zigbee 25% increase in crop yield Moderate Improved data accuracy for irrigation scheduling 
Study C NB-IoT 40% improvement in irrigation efficiency Very low Real-time alerts for irrigation needs 
Study D Wi-Fi 20% decrease in labour costs Moderate Seamless integration with existing farm management systems 

Lastly, compared to previous systems in the agricultural industry, our new IoT model offers substantial advantages. Our system satisfies the unique requirements of rural farmers by giving them access to precise data, effective communication, and energy independence via thorough monitoring, dependable connectivity, and renewable solar power. Integrating edge computing capabilities is a suggested future upgrade for our system. Reduced latency and improved response time would result from processing and analysing data in real-time at the sensor nodes. Optimised resource management and proactive decision-making in agricultural operations could be achieved using predictive analytics made possible by deploying machine learning algorithms on the edge.

This research on electronic data transfer in agricultural irrigation utilising the IoT presents an innovative approach to modern farming. The proposed system, featuring solar-powered, low-energy components such as the ESP32 microcontroller and LR data communication protocol, enables efficient and sustainable management of large agricultural fields. By employing various sensors to monitor soil moisture, pH levels, temperature, and humidity, the system collects vital real-time data that is crucial for optimising irrigation practices. Additionally, the integration of a PIR sensor for intruder detection enhances security. Data transmission over extensive farmlands to a cloud server, facilitated by LR technology, allows for remote monitoring through mobile applications. This seamless integration of IoT technology demonstrates significant improvements over traditional irrigation systems, enhancing precision in water consumption, promoting resource conservation, and boosting agricultural yields. Field testing results underscore these benefits, showcasing how IoT-based systems improve water conservation and crop productivity. Overall, this technology has the potential to revolutionise agricultural irrigation techniques, offering an autonomous and energy-efficient solution that is particularly valuable for farmers in rural areas lacking reliable power or internet connectivity. This work lays a solid foundation for future research and implementation in sustainable agriculture.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Benyezza
H.
,
Bouhedda
M.
&
Rebouh
S.
(
2021
)
Zoning irrigation smart system based on fuzzy control technology and IoT for water and energy saving
,
Journal of Cleaner Production
,
302
,
127001
.
Citoni
B.
,
Fioranelli
F.
,
Imran
M. A.
&
Abbasi
Q. H.
(
2019
)
Internet of Things and LRWAN-enabled future smart farming
,
IEEE Internet of Things Magazine
,
2
(
4
),
14
19
.
Dhiman
J.
,
Dhiman
J. S.
,
Aggarwal
R.
&
Dhiman
M.
(
2015
)
Water management for sustainability of irrigated agriculture: an Indian perspective
,
Indian Journal of Economics and Development
,
11
(
3
),
601
622
.
Elijah
O.
,
Rahman
T. A.
,
Orikumhi
I.
,
Leow
C. Y.
&
Hindia
M. N.
(
2018
)
An overview of Internet of Things (IoT) and data analytics in agriculture: benefits and challenges
,
IEEE Internet of Things Journal
,
5
(
5
),
3758
3773
.
Goap
A.
,
Sharma
D.
,
Shukla
A. K.
&
Krishna
C. R.
(
2018
)
An IoT based smart irrigation management system using machine learning and open source technologies
,
Computers and Electronics in Agriculture
,
155
,
41
49
.
Gorjian
S.
,
Calise
F.
,
Kant
K.
,
Ahamed
M. S.
,
Copertaro
B.
,
Najafi
G.
,
Zhang
X.
,
Aghaei
M.
&
Shamshiri
R. R.
(
2021
)
A review on opportunities for implementation of solar energy technologies in agricultural greenhouses
,
Journal of Cleaner Production
,
285
,
124807
.
Gu
Z.
,
Qi
Z.
,
Burghate
R.
,
Yuan
S.
,
Jiao
X.
&
Xu
J.
(
2020
)
Irrigation scheduling approaches and applications: a review
,
Journal of Irrigation and Drainage Engineering
,
146
(
6
),
04020007
.
Harding
S. T.
(
1917
)
Operation and Maintenance of Irrigation Systems
.
New York, NY: McGraw-Hill Book Company, Incorporated
.
Kim
Y.
,
Evans
R. G.
&
Iversen
W. M.
(
2008
)
Remote sensing and control of an irrigation system using a distributed wireless sensor network
,
IEEE Transactions on Instrumentation and Measurement
,
57
(
7
),
1379
1387
.
Lee
S.
,
Lee
S.
,
Ellis
L.
,
Smith
A. H.
&
Lee
M.
(
2020
) ‘
Design of solar panels efficiency monitoring system
’,
2020 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia)
.
IEEE
, pp.
1
4
.
Montori
F.
,
Bedogni
L.
,
Di Felice
M.
&
Bononi
L.
(
2018
)
Machine-to-machine wireless communication technologies for the Internet of Things: taxonomy, comparison and open issues
,
Pervasive and Mobile Computing
,
50
,
56
81
.
Mulozi
D. L.
(
2008
)
Rural Access: Options and Challenges for Connectivity and Energy in Zambia
.
International Institute for Communication and Development (IICD Thematic Report)
.
Available at: www.iicd.org/files/Zambia-Rural-Access-Report.pdf (Accessed 10 September 2009)
.
Ojha
T.
,
Misra
S.
&
Raghuwanshi
N. S.
(
2015
)
Wireless sensor networks for agriculture: the state-of-the-art in practice and future challenges
,
Computers and Electronics in Agriculture
,
118
,
66
84
.
Pranto
T. H.
,
Noman
A. A.
,
Mahmud
A.
&
Haque
A. B.
(
2021
)
Blockchain and smart contract for IoT enabled smart agriculture
,
PeerJ Computer Science
,
7
,
e407
.
Sharma
A.
,
Sharma
A.
,
Tselykh
A.
,
Bozhenyuk
A.
,
Choudhury
T.
,
Alomar
M. A.
&
Sánchez-Chero
M.
(
2023
)
Artificial intelligence and internet of things oriented sustainable precision farming: towards modern agriculture
,
Open Life Sciences
,
18
(
1
),
20220713
.
Shukla
V. K.
,
Nair
R. S.
&
Khan
F.
(
2022
)
Smart irrigation-based behavioral study of Moringa plant for growth monitoring in subtropical desert climatic condition
. In: Abraham, A., Dash, S. & Kumar Pani, S. (Eds.)
AI, Edge and IoT-Based Smart Agriculture
.
Cambridge, MA: Academic Press
, pp.
227
240
.
Sudharshan
N.
,
Karthik
A. K.
,
Kiran
J. S.
&
Geetha
S.
(
2019
)
Renewable energy based smart irrigation system
,
Procedia Computer Science
,
165
,
615
623
.
Tarjuelo
J. M.
,
Rodriguez-Diaz
J. A.
,
Abadía
R.
,
Camacho
E.
,
Rocamora
C.
&
Moreno
M. A.
(
2015
)
Efficient water and energy use in irrigation modernization: lessons from Spanish case studies
,
Agricultural Water Management
,
162
,
67
77
.
Tiglao
N. M.
,
Alipio
M.
,
Balanay
J. V.
,
Saldivar
E.
&
Tiston
J. L.
(
2020
)
Agrinex: a low-cost wireless mesh-based smart irrigation system
,
Measurement
,
161
,
107874
.
Yazdinejad
A.
,
Zolfaghari
B.
,
Azmoodeh
A.
,
Dehghantanha
A.
,
Karimipour
H.
,
Fraser
E.
,
Green
A.
,
Russell
C.
&
Duncan
E.
(
2021
)
A review on security of smart farming and precision agriculture: security aspects, attacks, threats and countermeasures
,
Applied Sciences
,
11
(
16
),
7518
.
Zare
A.
&
Iqbal
M. T.
(
2020
) '
Low-cost ESP32, Raspberry Pi, Node-Red, and MQTT protocol based SCADA system
',
2020 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS)
.
IEEE
, pp.
1
5
.
Zourmand
A.
,
Hing
A. L. K.
,
Hung
C. W.
&
AbdulRehman
M.
(
2019
) '
Internet of Things (IoT) using LR technology
',
2019 IEEE International Conference on Automatic Control and Intelligent Systems (I2CACIS)
.
IEEE
, pp.
324
330
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).