Design and Construction of an IoT-Based Water Level Monitoring and Control System Prototype Using ESP32 & Blynk
Main Article Content
Abstract
Clean water management often faces obstacles such as overflowing water reservoirs or pump damage due to limited manual monitoring. This study aims to design and implement an automatic water reservoir monitoring and control system based on the Internet of Things (IoT). The method used is a prototype method that includes the identification, design, and repeated testing stages. The hardware architecture consists of an ESP32 microcontroller, an HC-SR04 ultrasonic sensor, a relay, a buzzer, and a manual drain tap connected to a 300 ml reservoir, integrated with the blynk cloud platform. The sensor measures the distance to the water surface which is converted into volume using the formula V = ((H - d)/H) x Vmax. The test results show that the system successfully classifies water levels into three categories: "Low", "Medium", and "Full" with good accuracy. The pump operates automatically when the water is low and reaches a stable off state at a threshold of 6 cm to prevent overflow, while the manual drain tap allows users to drain excess water as needed. Additionally, the system provides real-time monitoring and manual control through a low-latency smartphone interface. In conclusion, the implemented IoT system effectively overcomes manual monitoring challenges, improves water efficiency, and provides users with reliable remote control access.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
Djalilov, A., Sobirov, E., Nazarov, O., Urolov, S., & Gayipov, I. (2023). Study on automatic water level detection process using ultrasonic sensor. IOP Conference Series: Earth and Environmental Science, 1142(1). https://doi.org/10.1088/1755-1315/1142/1/012020
Hanan, Gunawan, A. A. N., & Sumadiyasa, M. (2019). Water level detection system based on ultrasonic sensors HC-SR04 and Esp8266-12 modules with telegram and buzzer communication media. Instrumentation Mesure Metrologie, 18(3), 305–309. https://doi.org/10.18280/i2m.180311
Hasanah, A. P., & Hafni, H. (2025). Perancangan Sistem Monitoring Level Air Menggunakan Sensor Ultrasonik Berbasis Iot Dengan Aplikasi Blynk. Jurnal Informatika Dan Teknik Elektro Terapan, 13(2), 1477–1483. https://doi.org/10.23960/jitet.v13i2.6485
Hercog, D., Lerher, T., Truntič, M., & Težak, O. (2023). Design and Implementation of ESP32-Based IoT Devices. Sensors, 23(15). https://doi.org/10.3390/s23156739
Husaini, A., & Sary, Y. (2024). Smart Monitoring System of Water Tank Based on Internet of Things. Hanif Journal of Information Systems, 2(1), 22–30. https://doi.org/10.56211/hanif.v2i1.25
Jan, F., Min-Allah, N., Saeed, S., Iqbal, S. Z., & Ahmed, R. (2022). IoT-Based Solutions to Monitor Water Level, Leakage, and Motor Control for Smart Water Tanks. Water (Switzerland), 14(3), 1–36. https://doi.org/10.3390/w14030309
Kakani, D., Kulkarni, A., Pandya, Y., & Mehendale, N. (2024). IoT-Based Smart Home Automation Using ESP32 and Blynk with Enhanced Reliability. SSRN Electronic Journal, 14(8), 1–6. https://doi.org/10.2139/ssrn.4802741
KementerianPUPR, Rakyat, K. P. U. dan P., Kementerian Kesehatan, Arquitectura, E. Y., Introducci, T. I., 赫晓霞, Iv, T., Teatinas, L. A. S., Conclusiones, T. V. I. I., Contemporáneo, P. D. E. U. S. O., Evaluaci, T. V, Ai, F., Jakubiec, J. A., Weeks, D. P. C. C. L. E. Y. N. to K. in 20, Mu, A., Inan, T., Sierra Garriga, C., Library, P. Y., Hom, H., … Waldenström, L. (2023). No 主観的健康感を中心とした在宅高齢者における 健康関連指標に関する共分散構造分析Title. Acta Universitatis Agriculturae et Silviculturae Mendelianae Brunensis, 53(1), 1–19. http://publications.lib.chalmers.se/records/fulltext/245180/245180.pdf%0Ahttps://hdl.handle.net/20.500.12380/245180%0Ahttp://dx.doi.org/10.1016/j.jsames.2011.03.003%0Ahttps://doi.org/10.1016/j.gr.2017.08.001%0Ahttp://dx.doi.org/10.1016/j.precamres.2014.12
Latar, M. S., Kelobas, A., & Saripuddin, M. (n.d.). RANCANG BANGUN MONITORING DAN KONTROL OTOMATIS VOLUME AIR PADA TANDON PENYIMPANAN AIR BERBASIS INTERNET OF THINGS ( IOT ). 696–705.
Noor, M. F. (2024). Simulasi Sistem Pemantauan Ketinggian Air Pada. Journal of Data Analytics, Information, and Computer Science, 4(4), 19–29.
Pane, R., Purnama, I., Dar Hasibuan, H., & Rasyid Munthe, I. (2024). Automatic Monitoring System Iot (Internet Of Things) Based Water Tanks. International Journal of Science, Technology & Management, 5(4), 1008–1014. https://doi.org/10.46729/ijstm.v5i4.1151
Rifka Alkhilyatul Ma’rifat, I Made Suraharta, I. I. J. (2024). No Title 済無No Title No Title No Title. 2, 306–312.
Rindra, A. K., Widodo, A., Baskoro, F., & Kholis, N. (2021). Sistem Monitoring Level Ketinggian Air Pada Tandon Rumah Tangga Berbasis Iot (Internet Of Things). Jurnal Teknik Elektro, 11(1), 17–22. https://doi.org/10.26740/jte.v11n1.p17-22
Tahmidul Huque, M., Jaofor, J., Raziur Rahman Pushon, S., & Zaman Ekah, F. (2023). Internet of Things (IoT) based Smart Water Tank Level Monitoring and Motor Pump Control System for Prevent Water Waste 6 PUBLICATIONS 4 CITATIONS SEE PROFILE 6 PUBLICATIONS 4 CITATIONS SEE PROFILE. June, 352–361. https://www.researchgate.net/publication/371634266
Tri, N., Putra, A., Made, G., Desnanjaya, N., Krishna, P., Saputra, G., Sri, K., Astuti, A., Studi, P., & Komputer, S. (2023). Perancangan Sistem Monitoring Ketersediaan Air Otomatis Menggunakan Applikasi Blynk Berbasis Internet of Things (IoT). Jurnal Ilmu Komputer Dan Sistem Informasi (JIKOMSI), 6(3), 154–164. https://ejournal.sisfokomtek.org/index.php/jikom/article/view/1170
Wati, E. K., Santoso, H. H., & Laksono, A. (2024). Iot-Based Water Level Monitoring System of Situ Rawa Besar. MSJ : Majority Science Journal, 2(1), 219–231. https://doi.org/10.61942/msj.v2i1.89
Zen, M. (n.d.). Implementation of an Internet of Things ( IoT ) Based Water Level Monitoring System Using Ultrasonic Sensors and the Blynk Application. 2658–2665.
Djalilov, A., Sobirov, E., Nazarov, O., Urolov, S., & Gayipov, I. (2023). Study on automatic water level detection process using ultrasonic sensor. IOP Conference Series: Earth and Environmental Science, 1142(1). https://doi.org/10.1088/1755-1315/1142/1/012020
Hanan, Gunawan, A. A. N., & Sumadiyasa, M. (2019). Water level detection system based on ultrasonic sensors HC-SR04 and Esp8266-12 modules with telegram and buzzer communication media. Instrumentation Mesure Metrologie, 18(3), 305–309. https://doi.org/10.18280/i2m.180311
Hasanah, A. P., & Hafni, H. (2025). Perancangan Sistem Monitoring Level Air Menggunakan Sensor Ultrasonik Berbasis Iot Dengan Aplikasi Blynk. Jurnal Informatika Dan Teknik Elektro Terapan, 13(2), 1477–1483. https://doi.org/10.23960/jitet.v13i2.6485
Hercog, D., Lerher, T., Truntič, M., & Težak, O. (2023). Design and Implementation of ESP32-Based IoT Devices. Sensors, 23(15). https://doi.org/10.3390/s23156739
Husaini, A., & Sary, Y. (2024). Smart Monitoring System of Water Tank Based on Internet of Things. Hanif Journal of Information Systems, 2(1), 22–30. https://doi.org/10.56211/hanif.v2i1.25
Jan, F., Min-Allah, N., Saeed, S., Iqbal, S. Z., & Ahmed, R. (2022). IoT-Based Solutions to Monitor Water Level, Leakage, and Motor Control for Smart Water Tanks. Water (Switzerland), 14(3), 1–36. https://doi.org/10.3390/w14030309
Kakani, D., Kulkarni, A., Pandya, Y., & Mehendale, N. (2024). IoT-Based Smart Home Automation Using ESP32 and Blynk with Enhanced Reliability. SSRN Electronic Journal, 14(8), 1–6. https://doi.org/10.2139/ssrn.4802741
KementerianPUPR, Rakyat, K. P. U. dan P., Kementerian Kesehatan, Arquitectura, E. Y., Introducci, T. I., 赫晓霞, Iv, T., Teatinas, L. A. S., Conclusiones, T. V. I. I., Contemporáneo, P. D. E. U. S. O., Evaluaci, T. V, Ai, F., Jakubiec, J. A., Weeks, D. P. C. C. L. E. Y. N. to K. in 20, Mu, A., Inan, T., Sierra Garriga, C., Library, P. Y., Hom, H., … Waldenström, L. (2023). No 主観的健康感を中心とした在宅高齢者における 健康関連指標に関する共分散構造分析Title. Acta Universitatis Agriculturae et Silviculturae Mendelianae Brunensis, 53(1), 1–19. http://publications.lib.chalmers.se/records/fulltext/245180/245180.pdf%0Ahttps://hdl.handle.net/20.500.12380/245180%0Ahttp://dx.doi.org/10.1016/j.jsames.2011.03.003%0Ahttps://doi.org/10.1016/j.gr.2017.08.001%0Ahttp://dx.doi.org/10.1016/j.precamres.2014.12
Latar, M. S., Kelobas, A., & Saripuddin, M. (n.d.). RANCANG BANGUN MONITORING DAN KONTROL OTOMATIS VOLUME AIR PADA TANDON PENYIMPANAN AIR BERBASIS INTERNET OF THINGS ( IOT ). 696–705.
Noor, M. F. (2024). Simulasi Sistem Pemantauan Ketinggian Air Pada. Journal of Data Analytics, Information, and Computer Science, 4(4), 19–29.
Pane, R., Purnama, I., Dar Hasibuan, H., & Rasyid Munthe, I. (2024). Automatic Monitoring System Iot (Internet Of Things) Based Water Tanks. International Journal of Science, Technology & Management, 5(4), 1008–1014. https://doi.org/10.46729/ijstm.v5i4.1151
Rifka Alkhilyatul Ma’rifat, I Made Suraharta, I. I. J. (2024). No Title 済無No Title No Title No Title. 2, 306–312.
Rindra, A. K., Widodo, A., Baskoro, F., & Kholis, N. (2021). Sistem Monitoring Level Ketinggian Air Pada Tandon Rumah Tangga Berbasis Iot (Internet Of Things). Jurnal Teknik Elektro, 11(1), 17–22. https://doi.org/10.26740/jte.v11n1.p17-22
Tahmidul Huque, M., Jaofor, J., Raziur Rahman Pushon, S., & Zaman Ekah, F. (2023). Internet of Things (IoT) based Smart Water Tank Level Monitoring and Motor Pump Control System for Prevent Water Waste 6 PUBLICATIONS 4 CITATIONS SEE PROFILE 6 PUBLICATIONS 4 CITATIONS SEE PROFILE. June, 352–361. https://www.researchgate.net/publication/371634266
Tri, N., Putra, A., Made, G., Desnanjaya, N., Krishna, P., Saputra, G., Sri, K., Astuti, A., Studi, P., & Komputer, S. (2023). Perancangan Sistem Monitoring Ketersediaan Air Otomatis Menggunakan Applikasi Blynk Berbasis Internet of Things (IoT). Jurnal Ilmu Komputer Dan Sistem Informasi (JIKOMSI), 6(3), 154–164. https://ejournal.sisfokomtek.org/index.php/jikom/article/view/1170
Wati, E. K., Santoso, H. H., & Laksono, A. (2024). Iot-Based Water Level Monitoring System of Situ Rawa Besar. MSJ : Majority Science Journal, 2(1), 219–231. https://doi.org/10.61942/msj.v2i1.89
Zen, M. (n.d.). Implementation of an Internet of Things ( IoT ) Based Water Level Monitoring System Using Ultrasonic Sensors and the Blynk Application. 2658–2665.