DOI : 10.5281/zenodo.24780032
- Open Access

- Authors : Akasha K G, Ravi S D, Manu S T, Nandish B M, Darshan G, Praveena Anaji
- Paper ID : IJERTV15IS111571
- Volume & Issue : Volume 15, Issue 11 , November – 2026
- Published (First Online): 03-12-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Smart Device for Agriculture Services
Akasha K G
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Manu S T
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Darshan G
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Ravi S D
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Nandish B M
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Praveena Anaji
Department of Electrical and Electronics Engineering Jain Institute of Technology, Davangere, India.
Abstract – The proposed Smart Device for Agriculture Services using ESP32 and LoRa is designed to control and monitor an agricultural motor remotely. The ESP32 microcontroller processes control commands, while LoRa technology provides long-range wireless communication between the farmer control unit and the agricultural field unit. The agricultural motor can be switched ON or OFF remotely using a relay module. A ZMPT101B voltage sensor and an ACS712 current sensor measure the supply voltage and current drawn by the motor. The ESP32 processes these readings to monitor electrical performance and estimate power consumption. The system reduces manual effort, saves time, and provides a low-cost solution for remote agricultural motor control and monitoring.
Keywords – ESP32; LoRa; agricultural motor control; ZMPT101B; ACS712; smart irrigation; wireless monitoring
-
INTRODUCTION
Agriculture is one of the primary sectors supporting the economy and livelihood of a large population. Efficient irrigation and proper management of agricultural equipment are essential for improving crop productivity and reducing the wastage of water and electrical energy. In conventional agricultural practices, farmers often need to visit fields or pump locations to operate irrigation motors manually. This requires significant time and physical effort, particularly when the agricultural land is located far from the farmer’s residence or during early morning hours, late at night, or unfavorable weather conditions. Leaving a motor running unattended for extended periods can lead to unnecessary electricity consumption, water wastage, and potential equipment damage.
The advancement of embedded systems, wireless communication, and the Internet of Things (IoT) offers practical opportunities to automate agricultural equipment management. The proposed Smart Device for Agriculture Services utilizes an ESP32 microcontroller as the primary processing unit and LoRa (Long Range) wireless communication to enable remote
ON/OFF control and electrical parameter monitoring of an agricultural motor or water pump. LoRa transmits small control and telemetry packets over long distances with low power consumption, operating independently of continuous internet or cellular network coverage at the agricultural pump site.
The proposed smart agricultural device can reduce the need for repeated physical visits to the motor location and make irrigation-related operations more convenient. Remote switching can help farmers operate the pump according to their requirements and avoid leaving the motor running unnecessarily. When combined with electrical monitoring, the system provides additional information about the motor’s operating conditions. These functions can contribute to more efficient management of agricultural equipment, reduced manual effort, and improved awareness of electricity usage. The actual reduction in water or energy consumption depends on how the system is operated and whether suitable irrigation scheduling and monitoring practices are followed.
-
Problem Statement
Conventional agricultural irrigation installations require repeated manual visits to switch motors ON or OFF, which is time-consuming and inconvenient when pumps are located far from the operator. Existing setups also lack continuous monitoring of supply voltage and motor current during operation, leaving motors vulnerable to abnormal voltage fluctuations or excessive current draw. A low-cost wireless system using ESP32 and LoRa is therefore required for remote switching and electrical monitoring.
-
Objectives
The primary objectives of this work are:
-
to develop a smart agricultural motor control system using the ESP32 microcontroller,
-
to remotely switch the agricultural motor ON and OFF via long-range LoRa communication, and
-
to monitor supply voltage and motor load current to improve convenience and efficiency in irrigation.
-
-
-
LITERATURE SURVEY
Several recent studies have investigated wireless sensor networks, LoRa communication, and embedded motor monitoring for smart agriculture applications:
-
M. Al-Shehri et al. [1] designed and implemented a low- cost IoT-based smart agricultural system utilizing ESP32 and LoRa technology to achieve reliable field-level wireless automation.
-
Y. Ayat et al. [2] presented and experimentally validated a low-power IoT-based smart irrigation framework combining LoRa wireless links with the Crop Water Stress Index for precision agriculture.
-
R. González-Audino et al. [3] developed a soil water status monitoring system integrating proximal low-cost sensors with ESP32 and LoRa nodes for efficient irrigation management in woody crops.
-
T. Thombare et al. [4] proposed an IoT-enabled intelligent motor protection and monitoring system for agricultural irrigation pumps incorporating an ESP32 controller with voltage and current sensing.
-
Previous research on LoRaWAN-based smart agriculture decision support systems [5] demonstrated the effectiveness of long-range wireless telemetry for optimizing crop yield and agricultural resource utilization.
-
-
METHODOLOGY AND SYSTEM ARCHITECTURE
The proposed Smart Device for Agriculture Services is divided into two main hardware units: the Control Unit (Farmer Side) and the Field Unit (Agricultural Field). The overall functional architecture of the system is shown in Fig. 1.
Fig. 1. Block diagram of the proposed Smart Device for Agriculture Services.
-
System Overview and Working Principle
At the Control Unit, the farmer sends a Motor ON or Motor OFF command through a mobile phone web interface connected over Wi-Fi to the control-side ESP32. The control ESP32 processes the user request and transmits the command packet wirelessly at 433 MHz using an Ai-Thinker Ra-02 LoRa transmitter module fitted with an SMA antenna.
At the Field Unit installed near the pump house, a paired Ra- 02 LoRa receiver captures the radio frequency signal and transfers the command via SPI to the field-side ESP32 controller. Upon receiving a valid ON command, the field ESP32 energizes a 5 V relay module (and contactor interface where required) to connect the 230 V AC supply to the agricultural motor; when an OFF command is received, the relay de-energizes to stop the motor.
Simultaneously, a ZMPT101B AC voltage sensor and an ACS712 Hall-effect current sensor contnuously measure the supply voltage and current drawn by the motor. The field ESP32 processes these sensor signals to compute electrical parameters and transmits status telemetry back to the Control Unit over the LoRa link.
-
Hardware and Firmware Implementation
The detailed hardware interconnection between the Control Unit, 3.3 V regulation stage, Field Unit, sensors, relay module, and agricultural pump is illustrated in Fig. 2, and the component specifications are summarized in Table I.
Fig. 2. Complete circuit diagram of the Control Unit and Field Unit.
Subsystem / Parameter
Component / Configuration
Control Unit MCU
ESP32-S3 / ESP32 DevKit V1 (Wi-Fi + SPI)
Field Unit MCU
ESP32 DevKit V1 (ESP32- WROOM-32)
LoRa Transceivers
Ai-Thinker Ra-02 (SX1278), 433
MHz ISM Band
LoRa Radio Settings
SF7, BW 125 kHz, CR 4/5, TX
Power 17 dBm
Antennas
Two 433 MHz SMA Antennas (DB-R108-433M)
AC Voltage Sensor
ZMPT101B (Analog Input GPIO
35)
TABLE I. SYSTEM HARDWAREAND RADIO SPECIFICATIONS
AC Current Sensor
ACS712 Hall-Effect Sensor (Analog Input GPIO 34)
Switching Interface
5 V Relay Module (GPIO 22) / Contactor
Power Supply
5 V DC Supply with 3.3 V Regulator for LoRa
User Interface
Mobile Phone Web Interface
(HTTP/JSON API)
In the field controller firmware, the ESP32 samples 1,000 instantaneous voltage and current points at 250 us intervals to calculate root-mean-square (RMS) voltage, RMS current, apparent power, real power, and power factor using (1) and (2):
where S is the apparent power in volt-amperes (VA), Vrms is the calibrated RMS supply voltage in volts (V), Irms is the calibrated RMS motor current in amperes (A), P is the average instantaneous real power in watts (W), and PF is the power factor checked against an expected operating window of 0.65 to 0.85.
-
-
RESULTS AND DISCUSSION
The implemented hardware prototype, consisting of the Control Unit, Field Unit assembled on breadboards, 5 V relay switching stage, and test load, is shown in Fig. 3.
Fig.3 Experimental prototype setup demonstrating wireless switching and telemetry.
-
Remote Switching and Wireless Communication Performance
Control commands issued from the mobile phone web interface (MOTOR ON and MOTOR OFF) were polled by the control ESP32 and transmitted over the 433 MHz LoRa link to
the field unit. Upon packet reception, the field ESP32 actuated the relay module to switch the connected AC load and returned an acknowledgment packet along with updated telemetry. Operating at 433 MHz with Spreading Factor 7 and 125 kHz bandwidth provided reliable command execution without requiring internet connectivity at the field site, while actual range depends on antenna placement, terrain, and line-of-sight obstacles.
-
Electrical Parameter Monitoring and Safety Considerations
During operation, the ZMPT101B voltage sensor and ACS712 current sensor supplied real-time electrical readings to the ESP32, updating the mobile web dashboard (MOTOR_UNIT_01) with live voltage, current, and real power metrics. Filtering out low-level current noise below 0.03 A prevented false power readings when the load was switched OFF. For practical agricultural deployment, the low-voltage 3.3 V and 5 V control electronics must remain properly isolated from the 230 V AC mains supply, and an appropriately rated magnetic contactor and weather-resistant enclosure must be used to accommodate high motor starting currents.
-
-
CONCLUSION AND FUTURE SCOPE
The Smart Device for Agriculture Services provides a practical, low-cost embedded solution for remote control and electrical monitoring of agricultural irrigation motors using ESP32 microcontrollers and LoRa wireless communication. By combining long-range wireless ON/OFF switching with real- time voltage, current, and power monitoring, the system reduces manual travel effort, saves time, and improves visibility into motor operating conditions.
In future work, the system can be enhanced by integrating soil moisture and water-level sensors for automated closed-loop irrigation, implementing automatic fault protection trips for overcurrent and abnormal voltage conditions, adding cloud- based data logging, and powering the field unit with solar panels for complete off-grid operation.
REFERENCES
-
M. Al-Shehri et al., “Design and implementation of a low-cost IoT-based smart agricultural system using ESP32 and LoRa technology,” IEEE, 2025.
-
Y. Ayat et al., “Design and experimental validation of a low- power IoT-based smart irrigation system using LoRa and crop water stress index for precision agriculture,” IoT, MDPI, 2026.
-
R. González-Audino et al., “Soil water status monitoring system with proximal low-cost sensors and LoRa technology for smart water irrigation in woody crops,” Sensors, MDPI, 2024.
-
T. Thombare, T. Ladole, A. Chattar, D. Manke, and H. Pathan, “IoT-enabled intelligent motor protection and monitoring system for agricultural irrigation pumps,” Journal of Advance Electrical Engineering and Devices, 2026.
-
“Implementation of a LoRaWAN based smart agriculture decision support system for optimum crop yield,” Sustainability, MDPI,
