Web based IoT monitoring system for ultrasonic water flow measurement using ESP32-S3 and cloud database
Main Article Content
Abstract
Efficient water management is crucial for ensuring sustainable resource utilization and reducing water losses in both industrial and domestic applications. This study presents the design and implementation of a smart water monitoring system based on an ultrasonic flow meter, which enables accurate, real-time measurement of water flow without physical contact with the medium. The proposed system integrates ultrasonic sensors with a microcontroller-based data acquisition unit and wireless communication to transmit flow rate, volume, and consumption data to a cloud-based monitoring platform. The system was tested in various flow conditions to evaluate accuracy, stability, and energy efficiency. Experimental results demonstrate that the ultrasonic flow meter achieved a measurement accuracy of ±1% compared to a reference turbine flow meter, while maintaining minimal power consumption. Furthermore, the integration of Internet of Things (IoT) capabilities allows remote monitoring, anomaly detection, and data logging for long-term analysis. The results indicate that this ultrasonic-based monitoring system provides a reliable and non-invasive solution for smart water management, offering potential applications in household metering, agricultural irrigation, and industrial fluid monitoring.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
M. Sharifzadeh, S. Golabvand, and M. Afereydouni, “Sustainable water management in wheat farming: Insights from diverse water environments,” Agric Water Manag, vol. 306, Dec. 2024, doi: 10.1016/j.agwat.2024.109161.
A. Alshami, E. Ali, M. Elsayed, A. E. E. Eltoukhy, and T. Zayed, “IoT Innovations in Sustainable Water and Wastewater Management and Water Quality Monitoring: A Comprehensive Review of Advancements, Implications, and Future Directions,” IEEE Access, vol. 12, pp. 58427–58453, 2024, doi: 10.1109/ACCESS.2024.3392573.
M. M. Rana, K. Mahmud, A. Rahman, M. M. R. Jahangir, and M. G. M. Amin, “Irrigation and percolation management for reducing water footprint and nutrient leaching in rice-based ecosystems,” Water Science and Engineering, 2025, doi: 10.1016/j.wse.2025.09.004.
B. Et-taibi et al., “Enhancing water management in smart agriculture: A cloud and IoT-Based smart irrigation system,” Results in Engineering, vol. 22, Jun. 2024, doi: 10.1016/j.rineng.2024.102283.
P. Jayaraman, K. K. Nagarajan, P. Partheeban, and V. Krishnamurthy, “Critical review on water quality analysis using IoT and machine learning models,” International Journal of Information Management Data Insights, vol. 4, no. 1, Apr. 2024, doi: 10.1016/j.jjimei.2023.100210.
A. F. Mashaly, A. G. Fernald, H. M. E. Geli, A. Salim Bawazir, and R. L. Steiner, “Dynamic simulation modeling for sustainable water management with climate change in a semi-arid environment,” J Hydrol (Amst), vol. 644, Nov. 2024, doi: 10.1016/j.jhydrol.2024.132126.
M. Jamadarkhani, R. Raphael, S. H. P. Ramprasad, H. Babu, and S. Narasimhan, “IoT enabled smart water metering using multi sensor data and machine learning techniques,” Frontiers in Water, vol. 7, 2025, doi: 10.3389/frwa.2025.1586916.
N. A. Mohd Jais, A. F. Abdullah, M. S. Mohd Kassim, M. M. Abd Karim, A. M, and N. ‘Atirah Muhadi, “Improved accuracy in IoT-Based water quality monitoring for aquaculture tanks using low-cost sensors: Asian seabass fish farming,” Heliyon, vol. 10, no. 8, Apr. 2024, doi: 10.1016/j.heliyon.2024.e29022.
A. A. A. Bakar, Z. A. Bakar, Z. M. Yusoff, M. J. M. Ibrahim, N. A. Mokhtar, and S. N. Zaiton, “IoT-Based Real-Time Water Quality Monitoring and Sensor Calibration for Enhanced Accuracy and Reliability,” International Journal of Interactive Mobile Technologies , vol. 19, no. 1, pp. 155–170, Jan. 2025, doi: 10.3991/ijim.v19i01.51101.
Y. Singh and T. Walingo, “Smart Water Quality Monitoring with IoT Wireless Sensor Networks,” Sensors, vol. 24, no. 9, May 2024, doi: 10.3390/s24092871.
A. Liopa-Tsakalidi, V. Thomopoulos, P. Barouchas, A. D. Boursianis, and S. K. Goudos, “A LoRaWAN-based IoT platform for smart irrigation in olive groves,” Smart Agricultural Technology, vol. 9, Dec. 2024, doi: 10.1016/j.atech.2024.100673.
I. Essamlali, H. Nhaila, and M. El Khaili, “Advances in machine learning and IoT for water quality monitoring: A comprehensive review,” Mar. 30, 2024, Elsevier Ltd. doi: 10.1016/j.heliyon.2024.e27920.
E. Collado et al., “Open-source Internet of Things (IoT)-based air pollution monitoring system with protective case for tropical environments,” HardwareX, vol. 19, Sep. 2024, doi: 10.1016/j.ohx.2024.e00560.
I. Essamlali, H. Nhaila, and M. El Khaili, “A new architecture of Low Impact Development (LID)-based stormwater management system through Internet of Things (IoT) and Machine Learning integration,” Case Studies in Chemical and Environmental Engineering, vol. 10, Dec. 2024, doi: 10.1016/j.cscee.2024.100942.
C. Y. Chen, S. H. Wu, B. W. Huang, C. H. Huang, and C. F. Yang, “Web-based Internet of Things on environmental and lighting control and monitoring system using node-RED, MQTT and Modbus communications within embedded Linux platform,” Internet of Things (Netherlands), vol. 27, Oct. 2024, doi: 10.1016/j.iot.2024.101305.
H. M. Forhad et al., “IoT based real-time water quality monitoring system in water treatment plants (WTPs),” Heliyon, vol. 10, no. 23, Dec. 2024, doi: 10.1016/j.heliyon.2024.e40746.
M. Stan, A. Dima, D. Ø. Madsen, and C. Dobrin, “Quantifying impact: Bibliometric examination of IoT’s evolution in sustainable development,” Dec. 01, 2024, Elsevier B.V. doi: 10.1016/j.iot.2024.101370.
P. Blanco-Gómez, A. Mateu-Belloch, J. Luis Jiménez-García, A. J. Salas-Cantarellas, J. J. Pieras-Company, and E. Santamaría-Casals, “Real-time ultrasonic water level IoT sensor for in-situ soil permeability testing,” 2024, doi: 10.5281/zenodo.8328181.
W. Nugroho, R. Zahabiyah, M. J. F. Arifiant, and A. Afianto, “Automated Component Detection for Quality PCB Using YOLO Algorithm with IoT Real-Time Streaming on Raspberry Pi,” JURNAL INFOTEL, vol. 17, no. 2, Jul. 2025, doi: 10.20895/infotel.v17i2.1313.
R. P. Shete, A. M. Bongale, and D. Dharrao, “IoT-enabled effective real-time water quality monitoring method for aquaculture,” MethodsX, vol. 13, Dec. 2024, doi: 10.1016/j.mex.2024.102906.
A. Morchid, R. Jebabra, H. Qjidaa, R. El Alami, and M. O. Jamil, “Agri-tech innovations for sustainability: A fire detection system based on MQTT broker and IoT to improve environmental risk management,” Results in Engineering, vol. 24, Dec. 2024, doi: 10.1016/j.rineng.2024.103683.
M. Wu and X. Chen, “Application of Internet of Things and embedded technology in electronic communication,” Measurement: Sensors, vol. 34, p. 101246, Aug. 2024, doi: 10.1016/j.measen.2024.101246.
B. Cao, P. Zhou, W. Chen, H. Wang, and S. Liu, “Real-time Monitoring and Early Warning of Cotton Diseases and Pests Based on Agricultural Internet of Things,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 253–260. doi: 10.1016/j.procs.2024.09.032.
K. M. Hosny, W. M. El-Hady, and F. M. Samy, “Technologies, Protocols, and applications of Internet of Things in greenhouse Farming: A survey of recent advances,” Mar. 01, 2025, China Agricultural University. doi: 10.1016/j.inpa.2024.04.002.
H. Chen, X. Gao, and R. Yuan, “Advances in Remote Sensing and Sensor Technologies for Water-Quality Monitoring: A Review,” Oct. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/w17203000.