Rancang Bangun Alat Ukur Kualitas Air Sanitasi Berbasis ESP32-C6 dan Internet of Things
Abstract
Sanitation water quality is one of the important factors affecting public health. Conventional water quality monitoring generally requires laboratory testing, which is relatively time-consuming, costly, and unable to provide real-time information. This study aims to design and develop an Internet of Things (IoT)-based sanitation water quality monitoring device using an ESP32-C6 microcontroller integrated with pH, total dissolved solids (TDS), turbidity, and temperature sensors. The research method consisted of system design, hardware implementation, sensor accuracy testing, and stability testing through repeated measurements. Accuracy testing was conducted by comparing sensor readings with reference measuring instruments, while stability testing was evaluated using standard deviation and precision (%RSD) values. The results showed that the pH sensor had an error rate of 0.24% and the temperature sensor had an error rate of 2.51%, where as the TDS sensor exhibited an error rate of 16.92%. Stability testing indicated that all sensors produced relatively small measurement variations, with precision values ranging from 0% to 2.53%. Testing on tap water, well water, and river water samples demonstrated that the system was able to distinguish water quality characteristics based on the measured parameters. The results indicate that the developed system is capable of performing real-time water quality monitoring and generating consistent measurement data during repeated observations. This study may serve as a basis for the further development of IoT-based sanitation water quality monitoring systems through improved sensor accuracy and the inclusion of additional water quality parameters in future research.
Downloads
References
Anggraini, E. A., Putra, G. B., & Kurniawan, R. (2024). Design of a Nodemcu-Based System for Monitoring and Controlling the Water Quality of Catfish Tarp Pond. Iop Conference Series Earth and Environmental Science, 1419(1), 012040. https://doi.org/10.1088/1755-1315/1419/1/012040
Ayon, M. D. F. I., Nahar, S., Rahman, A., Arif, Md. T., Hasib, A., & Akib, A. S. M. A. S. (2026). An IoT-Enabled Smart Aquarium System for Real-Time Water Quality Monitoring and Automated Feeding. https://doi.org/10.48550/arxiv.2601.08484
Auwal Rabiu Dansharif, Zainab Abdulkadir, Suleiman Bashir Abubakar, Amina Ibrahim, Ibrahim Umar, & Muhammad Ahmad Baballe. (2023). Benefits of Water Quality Monitoring. Journal of Mathematical Techniques and Computational Mathematics, 2(5), 175–179. https://doi.org/10.33140/jmtcm.02.05.01
Dharmawan, N. A., Nugroho, P., & Wibowo, S. B. (2025). Development of IoT Devices for Drinking Water Quality Monitoring Systems. 27, 238–245. https://doi.org/10.4028/p-n8hm2k
Eso, R., Mokui, H. T., Arman, A., Safiuddin, L., & Husen, H. (2024). Water Quality Monitoring System Based on the Internet of Things (IoT) for Vanname Shrimp Farming. Comtech Computer Mathematics and Engineering Applications, 15(1), 53–63. https://doi.org/10.21512/comtech.v15i1.10657
Fakhrurroja, H., Nuryatno, E. T., Munandar, A., Fahmi, M. R., & Mahardiono, N. A. (2023). Water Quality Assessment Monitoring System Using Fuzzy Logic and the Internet of Things. Mechatronics Electrical Power and Vehicular Technology, 14(2), 198–207. https://doi.org/10.14203/j.mev.2023.v14.198-207
Farizi, S. D. A. L., Darlis, D., & Hartaman, A. (2024). Lake Water Quality Measurement System at Situ Tekno Using an ESP32-based Autonomous Surface Vehicle. Elkomika Jurnal Teknik Energi Elektrik Teknik Telekomunikasi & Teknik Elektronika, 12(1), 121. https://doi.org/10.26760/elkomika.v12i1.121
Islam, Md. A., Roy, S. C., Utsho, Md. F. U., Naznin, L., Sarkar, R., & Sarkar, R. R. (2025). An IoT-Enabled Intelligent Water Quality Monitoring System for Tourist Safety Using Machine Learning. https://doi.org/10.21203/rs.3.rs-5488426/v1
Kumar, J., Gupta, R., Sharma, S., Chakrabarti, T., Chakrabarti, P., & Margala, M. (2024). IoT-Enabled Advanced Water Quality Monitoring System for Pond Management and Environmental Conservation. Ieee Access, 12, 58156–58167. https://doi.org/10.1109/access.2024.3391807
Megantoro, P., Prastio, R. P., Kusuma, H. F. A., Abror, A., Vigneshwaran, P., Priambodo, D. F., & Alif, D. S. (2022). Instrumentation System for Data Acquisition and Monitoring of Hydroponic Farming Using ESP32 via Google Firebase. Indonesian Journal of Electrical Engineering and Computer Science, 27(1), 52. https://doi.org/10.11591/ijeecs.v27.i1.pp52-61
Nuangpirom, P., Pitjamit, S., Jaikampan, V., Peerakam, C., Nakkiew, W., & Jewpanya, P. (2025). Machine Learning on Low-Cost Edge Devices for Real-Time Water Quality Prediction in Tilapia Aquaculture. Sensors, 25(19), 6159. https://doi.org/10.3390/s25196159
Nuanmeesri, S., & Poomhiran, L. (2022). Multi-Layer Perceptron Neural Network and Internet of Things for Improving the Realtime Aquatic Ecosystem Quality Monitoring and Analysis. International Journal of Interactive Mobile Technologies (Ijim), 16(06), 21–40. https://doi.org/10.3991/ijim.v16i06.28661
Öztürk, M., Ünsal, E., & Yelkuvan, A. F. (2025). Development of an Internet of Things-Based Ultra-Pure Water Quality Monitoring System. Sensors, 25(4), 1186. https://doi.org/10.3390/s25041186
Promput, S., Maithomklang, S., & Panya-Isara, C. (2023). Design and Analysis Performance of IoT-Based Water Quality Monitoring System Using LoRa Technology. Tem Journal, 29–35. https://doi.org/10.18421/tem121-04
Ramli, M. H. M. (2024). Kalman Filter-Based Data Stabilization for an Automated Water Quality Monitoring System in Macrobrachium Rosenbergii Larvae Culture. Journal of Mechanical Engineering, 13, 157–176. https://doi.org/10.24191/jmeche.v13i1.2862
Rao, T. S., Pranay, P., Narayana, S., Reddy, Y. S. S., & Kaur, P. (2021). ESP32 Based Implementation of Water Quality and Quantity Regulating System. 4. https://doi.org/10.2991/ahis.k.210913.016
Rasid, R. A., Hariyanto, N. S., Faizal, N. A. M., & Mazlan, N. N. (2023). Smart Home Aquaponic System Monitoring and Control With Internet of Things Using Mobile Application. Journal of Chemical Engineering and Industrial Biotechnology, 9(1), 20–25. https://doi.org/10.15282/jceb.v9i1.8723
Rayni, A., Pardede, A. M. H., & Khair, H. (2023). Design and Development of a Quality and Quantity Water Monitoring System for Water Tank Based on Internet of Things. Journal of Artificial Intelligence and Engineering Applications (Jaiea), 3(1), 328–334. https://doi.org/10.59934/jaiea.v3i1.319
Ridla, M. R., Ali, H., Mufti, N., Saparullah, S., Abadi, M. T. H., Fadhlullah, N. F., Yuliana, E. S., Muladi, M., & Laksono, Y. A. (2026). Water Quality Monitoring Device: IoT-based System for Aquaculture Applications. Engineering Innovations, 16, 97–105. https://doi.org/10.4028/p-5l14yq
Rosandi, D., Junaidi, J., Apriyanto, D. K., & Surtono, A. (2023). Design of Water Quality Monitoring System for Koi Fish Farming Using NodeMCU ESP32 and Blynk Application Based on Internet of Things. Jurnal Listrik Instrumentasi Dan Elektronika Terapan, 4(1). https://doi.org/10.22146/juliet.v4i1.83131
Sharma, S., Mishra, D., Yadav, A., Gami, B., & Madhan, E. S. (2025). A Low-Cost Intelligent Water Quality Monitoring System With on-Device Machine Learning and Cloud Integration. https://doi.org/10.21203/rs.3.rs-7787812/v1
Sholihah, W., Hendriana, A., Kusumanti, I., & Novianty, I. (2022). Design of IoT Based Water Monitoring System (Simonair) for Arwana Fish Cultivation. Eduvest - Journal of Universal Studies, 2(12), 2872–2884. https://doi.org/10.36418/eduvest.v2i12.708
Sugiharto, W. H., Susanto, H., & Prasetijo, A. B. (2024). Selecting IoT-Enabled Water Quality Index Parameters for Smart Environmental Management. Instrumentation Mesure Métrologie, 23(4). https://doi.org/10.18280/i2m.230401
Sulistiyanto, S., Setyobudi, R., & Tijaniyah. (2023). Utilization of TDS Sensors for Water Quality Monitoring and Water Filtering of Carp Pools Using IoT. Eureka Physics and Engineering, (6), 69–77. https://doi.org/10.21303/2461-4262.2023.002865
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Rancang Bangun Alat Ukur Kualitas Air Sanitasi Berbasis ESP32-C6 dan Internet of Things
Pages: 587-595
Copyright (c) 2026 Nur Kholis Nafis, Julman Notatema Waruwu, Aisyah Putri Harmelia, Asri Sarassufi Aisah, Daffa Maulana Kindi A.L, Purba M. Ahla Kurniawan, Muhammad Reynaldi Ilham, Bayu Widodo, Mamat Rahmat

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













