This paper presents a comprehensive smart agricultural monitoring system integrating LabVIEW with three prominent IoT platforms Raspberry Pi, Arduino, and ESP32 for real-time crop monitoring and automated precision irrigation. We propose a novel three-tier architecture comprising distributed sensor nodes. a Raspberry Pi edge gateway with local processing capabilities, and LabVIEW-based visualization and control. The system implements MQTT-based communication for seal-able wireless deployment and serial protocols for high-reliability wired connections. Experimental evaluation over a 90-day field deployment on a 2-hectare vegetable farm demonstrates sensor accuracy within 2.3% of reference instruments, 31.4% water consumption reduction through precision irrigation, and 18.7% average crop yield improvement across tomato, pepper, and cucumber crops. Platform-specific analysis reveals that ESP32 offers optimal cost-performance for wireless sensing at $1.50 per node with deep sleep power consumption of 10 A. Arduino pro videos superior LabVIEW integration via the LINX toolkit with 99.7% uptime, and Raspberry Pi excels as an edge gateway supporting local ma chine learning inference. The system achieved complete payback within 15 days, demonstrating compelling economic viability for smallholder and commercial agricultural operations.
Introduction
The text discusses the development and application of IoT-based precision agriculture systems integrated with LabVIEW and multiple hardware platforms to improve irrigation efficiency, resource management, and crop productivity.
1. Background and Problem
Agriculture consumes about 70% of global freshwater, yet traditional irrigation systems waste up to 60% of water due to:
Evaporation
Runoff
Poor scheduling
With the global population expected to reach 9.7 billion by 2050, food production must increase significantly while reducing environmental impact. This creates a need for efficient, data-driven farming solutions.
2. Role of IoT in Smart Agriculture
IoT-based precision agriculture uses sensors and connected devices to:
Monitor soil moisture, temperature, humidity, and light
Enable real-time decision-making
Optimize irrigation and resource use
Wireless Sensor Networks (WSNs) and low-cost microcontrollers have made smart farming more accessible across different farm sizes.
3. Use of LabVIEW in Agriculture
LabVIEW is highlighted as a key tool for:
Data acquisition
Instrument control
Industrial and agricultural automation
Its visual programming interface makes it easier for non-programmers to develop monitoring systems.
When combined with IoT hardware, LabVIEW enables efficient development of smart irrigation and monitoring solutions.
4. Research Gap
Despite many IoT agriculture studies, there is limited work on:
Integrating multiple hardware platforms with LabVIEW
Providing unified system frameworks
Validating real-world deployments with long-term testing
5. Proposed Contributions
The paper addresses these gaps by proposing:
A three-tier architecture integrating:
Raspberry Pi 4
Arduino
ESP32
with LabVIEW
A comparative study of platforms based on:
Power usage
Processing capability
Cost
Connectivity
A 90-day field deployment showing improvements in:
Sensor accuracy
System reliability
Water savings
Crop yield
An economic analysis proving fast return on investment
6. Related Work Summary
IoT in Agriculture
Research shows:
Rapid growth in smart agriculture systems
Water savings of 20%–50% using smart irrigation
Machine learning improves irrigation scheduling
Wireless Sensor Networks (WSN)
Enable real-time monitoring in agriculture
Challenges include power limits and environmental interference
Edge computing improves reliability and reduces latency
Platform-Specific Findings
ESP32: Low power, wireless-ready, ideal for large-scale sensing
Raspberry Pi: High processing power for analytics and AI tasks
Arduino: Reliable real-time control for sensors and actuators
LabVIEW Integration
Used successfully in greenhouse automation and monitoring
Integration methods include LINX toolkit, MQTT, TCP/IP
Multi-platform integration remains underexplored
7. Platform Comparison
Arduino: Best for real-time sensor control but lacks connectivity
Raspberry Pi: Powerful edge computing but high power consumption
ESP32: Low-cost, energy-efficient, ideal for distributed IoT systems
8. Proposed System Concept
The system uses a layered architecture combining all three platforms to:
Collect sensor data efficiently
Process data at edge and central nodes
Enable smart irrigation decisions through LabVIEW integration
Conclusion
This paper presented a comprehensive framework for integrating Arduino, Rasp berry Pi. and ESP32 platforms with LabVIEW for smart agricultural monitoring, validated through a 90-day field deployment on a 2-hectare vegetable farm. The experimental results demonstrated sensor accuracy within 1.8-4.1% mean error across five environmental parameters (R2 > 0.94), system reliability of 98.4-99.9% uptime with Arduino achieving the highest reliability at 99.7% for wired installations, and substantial agricultural benefits including 31.4% wa-ter consumption reduction through real-time monitoring and weather-responsive scheduling, along with 18.7% average crop yield improvement across tomato, pepper, and encumber crops. The economic analysis revealed compelling viability with a 45-day payback period and 709% first-year ROI on a total hardware investment of $455.
Platform-specific findings indicate that ESP32 offers optimal cost-performance for wireless distributed sensing at $4.50 per node with ultra-low power deep sleep capability. Arduino provides superior LabVIEW integration through the LINX toolkit and maximum reliability for actuator control applications, while Raspberry Pi excels as an edge gateway supporting local ma chine learning inference and protocol translation. The successful integration of LabVIEW with these low-cost loT platforms demonstrates that precision agriculture technologies can be democratized, making data-driven farming accessible and economically viable for agricultural operations of all scales.
References
[1] EAO: The State of Food and Agriculture 2023. FAO, Rome (2023). https://doi. org/10.4060/cc7724en
[2] Rizan. N., et al.: Application of digital technologies for agricultural productivity. Heliyon 9(12), «22601 (2023)
[3] Qazi. S., et al.: IoT-equipped and Al-enabled next generation smart agriculture. IEEE Access 10, 21219-21235 (2022)
[4] Javaid, M., et al.: Enhancing smart farming through Agriculture 4.0 technologies. Int. J. Intell. Netw. 3, 150-164 (2022)
[5] Abade, A., et al.: IoT and WSN for sustainable smallholder agriculture. Sensors 22(9), 3273 (2022)
[6] Mansoor, S., et al. Integration of smart sensors and IoT in precision agriculture. Front. Plant Sci. 16. 1587869 (2025)
[7] Gatkoal, N.R., et al.: Review of lot and electronics enabled smart agriculture. Int. J. Agric. Biol. Eng. 17(5), 41 57 (2024)
[8] National lustrmnents: LabVIEW Environment Basics. NI Documentation (2023)
[9] Dineva, K., Atanasova. T.: Cloud data-driven intelligent monitoring for smart farm-ing. Sensors 22(17), 6566 (2022)
[10] Bakthavatchalam, K., et al.: IoT and Al in smart agriculture activities, Comput. Electron. Agric. 216. 108379 (2024)
[11] Mendonça, 1., et al: loT with Al technologies for precision agriculture. Electronics 13(10), 1894 (2024)
[12] Garcia, 1... et al.: IoT-based smart irrigation systems: A review. Sensors 20(1). 1042 (2020)
[13] Subeesh. A.. Mehta, C.R.: Automation of agriculture using Al and loT. Artif Intell. Agric. 5. 278 291 (2021)
[14] Joannon. M., et al.: IoT and Al in agriculture: A systematic review. Sensors 25(12). 36SB (2025)
[15] Mowla, M.N., et al.: loT and WSN for smart agriculture: A survey. IEEE Access 11. 145813-115852 (2023)
[16] Gao, S., Li, W.: Electronic information transmission of agricultural irrigation. Hy-drol. Res. 56(1). 46-50 (2025)
[17] Bwambale. E., et al.: Smart irrigation monitoring and control strategies. Agric. Water Manag. 260, 107324 (2022)
[18] Kim, W.S., et al.: IoT applications for agricultural autovation. J. Biosyst. Eng. 45,385-400 (2020)
[19] Ammoniaci, M., et al: lot sensors in precision agriculture and viticulture. Sci. Rep. 15. 22:44 (2025)
[20] Khalifch. A., et al.: MCU-bosed WSN nodes: A review. Sensors 22(22), 8937 (2022)
[21] Kusliwala. Y.K.. et al.: Suurt irrigation monitoring using WSN. J. Hydroinform. 26(12), 3221 3243 (2024)
[22] Lin. Y., et al.: From Industry 4.0 to Agriculture 4.0. IEEE Trans. Ind. Inform. 17(6), 1122-1314 (2021)
[23] Cordeiro, M., et al.: Fog-enabled intelligent irrigation using DNN. Future Gener. Comput. Syst. 129, 115 121 (2022)
[24] Mehta, K.R., et al.: Smart irrigation system using ESP WROOM 32. J. Internet Things 5(1), 45-55 (2023)
[25] Pereira, G.P., et al.: loT-enabled smart drip irrigation using ESP32 IoT 4(3), 221 243 (2023)
[26] Correa-Quiroz, J.J.. et al.: IoT system with ESP32 for smart irrigation. Emerg. Sci. J. 9(3), 1133 1157 (2025)
[27] Paul, K, et al.: Viable smart sensors in data driven agriculture. Comput. Electron. Agric. 108, 107096 (2022)
[28] Soussi, A., et al.: Smart sensors for precision agriculture: A review. Sensors 24(8). 26-47 (2024)
[29] Shaikh. F.K., et al: Recent trends in lo T-enabled sensor technologies. IEEE In-ternet Things J. 9(23), 23581 23598 (2022)
[30] Atalla, S., et al: loT-enabled precision agriculture ecosystem. Information 14(1), 205 (2023)
[31] Akhter, R., Sofi, S.A.: Precision agriculture using IoT and ML. J. King Saud Univ. mput. Inf. Sci. 34(8), 5602-5618 (2022)
[32] Hashemi. S.Z., et at Enhancing agricultural sustainability with water manag ment. Agric. Water Manag, 305, 109110 (2024)
[33] Safoor, S., et al.: loT climate smart agriculture with blockchain. Front. Sustain. Food Syst. 8. 1406871 (2024)
[34] Seslodia, R.P., et al.: Remote sensing in precision agriculture. Remote Sens, 12(19). 3136 (2020)
[35] Zhang, Y., et al.: WSN for irrigation management. Sci. Rep. 15, 14526 (2026)