Smart Digital Measurement System for Rural Water Quality Monitoring Using IoT Puteri Nurul MaAorifah1. Puteri Nurul Magfirah2. Ekananda Kinanthi Rahayu3. Mikail Shauqi4. Ihyau Rofiki Sukman R. Safriudin Rifandi6 Dept. of Electrical Engineering. Trunojoyo University of Madura. Bangkalan. Indonesia Defense Intelligence Agency. Ministry of Defence of the Republic of Indonesia. Jakarta. Indonesia 3,4,5 Dept. of Mechatronics Engineering. Trunojoyo University of Madura. Bangkalan. Indonesia E-mail: puteri. marifah@trunojoyo. id1, puteri. nurul@kemhan. id2, 230491100039@student. 230491100006@student. id4, 230491100002@student. id5, safriudin. rifandi@trunojoyo. AbstractAi Clean water is essential for public health and quality of life. Yet, many rural areas in Indonesia still rely on well water that often has high turbidity, too many dissolved solids, and risks of biological contamination. To help solve these problems, this study created and tested a Smart Digital Measurement System using Internet of Things (IoT) technology to monitor and improve water quality. The system includes a digital monitoring unit with pH. TDS, and turbidity sensors, which send data to the Blynk IoT dashboard and a Telegram bot for notifications. It also uses a multi-stage filtration unit with sedimentation filters, activated carbon, and UV sterilizers. Tests on wells in Gesikan. Tuban, showed the system worked reliably, with an average data transmission delay of 1. 72 seconds, sensor errors below 5%, and 99% uptime over seven days. Water quality improved: pH levels rose to nearly neutral . 8 to 7. TDS dropped by more than half . rom 520Ae560 ppm to 240Ae260 pp. , and turbidity fell by about 75% . rom 30Ae35 NTU to 6Ae8 NTU). These results show that the system offers an affordable way to help rural communities get cleaner water and supports progress toward SDGs 3 (Good Health and Well-bein. and 6 (Clean Water and Sanitatio. The issue of clean water availability and quality in rural areas is not only a local issue, but also relates to the global The United Nations (UN), through the Sustainable Development Goals (SDG. 2030, emphasizes the importance of access to clean water and proper sanitation (SDG . as well as improving public health (SDG . Therefore, technology-based innovation efforts in clean water management at the rural level have a strategic role in supporting the achievement of these sustainable development Kata KunciAi sensors, water quality, filtration. Internet of Things. SDGs, rural monitoring The use of the Internet of Things (IoT) provides opportunities for real-time, remote monitoring of water quality at a relatively low cost compared to conventional systems . , . Through a wireless connection, measurement data can be sent directly to a cloud-based application or mobile device, allowing the community and village administrators to immediately find out the actual water conditions. This is especially important in rural areas that are far from laboratory services or modern water treatment facilities. INTRODUCTION Clean water is a basic human need that plays an important role in maintaining health, sanitation, and improving quality of life. However, the availability of clean water in Indonesia still faces major challenges, especially in rural areas. Based on data from the Central Statistics Agency (BPS) in 2024, nationally 92. 64% of households have access to proper drinking water, but there are still 7. 36% of households that are not protected. The disparity is evident between urban and rural areas: in urban areas, the access rate 56%, while in rural areas it is only 87. This means that around 12. 94% of rural households still have difficulty obtaining water that meets drinking standards. In many villages, communities still rely on groundwater sources from dug wells or bore wells that do not undergo adequate treatment processes. This condition causes the water to have high turbidity levels, excessive calcium content, and potential biological contamination such as Escherichia coli bacteria. This problem not only reduces quality of life, but also increases the risk of waterborne diseases such as diarrhea, gastrointestinal infections, and skin In addition, excessive mineral content also affects household appliances and creates an additional economic burden on the community. ISSN 2615-5788 Print . JURNAL TEKNIK ELEKTRO DAN KOMPUTER TRIAC https://journal. id/triac Vol 12 No. Along with technological developments, digitization in the field of instrumentation and measurement systems has become one of the potential solutions to overcome the limitations of clean water management in rural areas. Digitization enables measurement processes that were previously performed manually and were limited in scope to transform into automated, accurate systems connected to information networks. With this approach, water quality can not only be measured at a given moment, but can be monitored continuously to provide a more comprehensive picture of conditions. In a technical context, the integration of several key sensorsAisuch as a pH sensor to measure acidity levels . , a Total Dissolved Solids (TDS) sensor to determine dissolved mineral content, and a turbidity sensor to measure turbidity levels . , . Aiforms a comprehensive digital measurement The combination of data from these various parameters produces more accurate information about water quality than using just one type of sensor. Various international studies have successfully developed IoT-based water quality monitoring systems with various parameters such as pH. TDS . , turbidity, and temperature . , as well as improving accuracy and predictive capabilities, including LSTM and LPWAN-based systems . , . , cloud and ARIMA, and even portable spectrometers for specific contaminant detection . However, almost all of them are limited to monitoring and prediction functions, without interventions such as multi-stage filtration, and have not been tested in actual rural conditions. @ 2025 Puteri Nurul MaAorifah. Puteri Nurul Magfirah Ekananda Kinanthi Rahayu. Mikail Shauqi. Ihyau Rofiki Sukman R. Safriudin Rifandi At the national level, several studies have developed realtime monitoring and water quality prediction systems for PDAM or households using IoT . , but these have not yet been integrated with active filtration solutions, and their sustainability in rural communities has not been tested. Therefore, this study attempts to address this gap by presenting an IoT-based Smart Digital Measurement System that combines multi-parameter monitoring, multi-stage filtration, and real-world testing in rural areas as a real-time, practical, and sustainable digital solution. II. METHODOLOGY Research Methodology Flow The research methodology flow can be explained through seven main stages as shown in Figure 1. conducted to ensure that the system is capable of functioning in real conditions with rural water characteristics. The fifth stage is Data Collection and Validation, which is the process of collecting water quality data before and after filtration. The measurement results are compared with manual/laboratory tests to validate the accuracy of the sensors and the reliability of the digital system. The sixth stage is Analysis and Evaluation, where data is analyzed to assess the effectiveness of the monitoring system and the performance of multi-stage filtration. The analysis is carried out by calculating changes in parameter values . TDS, turbidit. and evaluating whether water quality has improved in accordance with applicable standards. The final stage is Conclusion and Contribution, which is the preparation of research conclusions and scientific This research is expected to offer practical and sustainable solutions for the provision of clean water based on instrumentation digitization in rural areas. System Design This study proposes the development of an IoT-based Smart Digital Measurement System for monitoring water quality in rural areas. The system is designed with consideration given to measurement accuracy, affordability, ease of implementation, and sustainability. In general, the system consists of two main components, namely a Digital Monitoring Unit and a Multi-Stage Filtration Unit. Figure 1. Research Methodology Flow The first stage is Problem Identification and Literature Review, which is the process of identifying problems related to clean water availability in rural areas while reviewing relevant previous studies. The results of the literature review are used to determine the direction of the research and develop a conceptual framework for the system. The second stage is System Design, which includes the design of a digital monitoring unit with pH. TDS, and turbidity sensors based on ESP32 and ESP8266 microcontrollers, as well as a multi-stage filtration unit consisting of sedimentation filters, activated carbon, and UV At this stage, the IoT architecture is also determined, which includes the use of MQTT and HTTP API communication protocols, as well as a digital platform for visualization and monitoring. The third stage is Hardware and Software Development, which involves assembling sensors, developing IoT circuits . , . , and creating monitoring applications through Blynk IoT . and Telegram Bot. Sensor calibration is performed to ensure that the measurement results are in line with laboratory standards . , . The fourth stage is Field Implementation, where the designed system is installed and tested directly in the field, specifically in Gesikan Village. Tuban. Field trials are Figure. System Design . Digital Monitoring Unit: The monitoring unit is designed to acquire water quality data in real time using a combination of low-cost but reliable sensors . , . Microcontroller: This system uses an ESP32 microcontroller as the main controllerAihandling the processing of pH and turbidity sensor dataAiand an ESP8266 as an additional module for reading the TDS sensor, as this sensor requires a voltage stability that is more suitable for this module. Both are configured to communicate with each other and send data to the server/cloud. Sensors used: Three types of sensors were used in this study, namely pH sensors to measure the acidity or alkalinity of water. TDS (Total Dissolved Solid. sensors to detect the amount of dissolved substances . , and turbidity sensors to measure the level of turbidity . Data Processing and Transmission: Data obtained from the three sensors is processed digitally through ADC conversion, then calibrated so that the results comply with laboratory measurement standards. After that, the data is transmitted wirelessly via a Wi-Fi network to the IoT platform (Blynk and Telegra. so that it can be monitored in real-time by users. Multi-Stage Filtration Unit: The filtration unit is designed to improve water quality based on monitoring This filtration system works in stages with different types of filter media . Sedimentation Filter: Filters out coarse dirt, sand, mud, and large particles. This stage prevents damage to the next filter. Activated Carbon Filter: Absorbs harmful chemicals, odors, and colors in the water. Effectively reduces calcium and organic substances. UV Sterilizer: Uses ultraviolet (UV-C) light to deactivate harmful microorganisms such as bacteria and This stage complements the filtration system so that the water is not only clear, but also microbiologically safe. With this design, the system is not only capable of providing real-time water condition data, but also shows the filtration performance in improving water quality. This makes this study different from previous studies, which generally only focus on monitoring without integrating water quality improvement solutions. Sensor data is sent periodically to the user's Telegram account, so that water quality information can be accessed quickly without having to open a special Thus. Telegram serves as a simple and more inclusive monitoring tool, given that this application is already commonly used in the community. All collected data is also stored on a cloud server, enabling further analysis for long-term system performance evaluation, water quality trend observation, and supporting the sustainability of research in rural areas. RESULTS AND ANALYSIS System Implementation Results The IoT-based Smart Digital Measurement System was successfully implemented with two main components, namely a digital monitoring unit and a multi-stage filtration The monitoring unit is capable of measuring three water quality parameters . TDS, and turbidit. in real-time using an ESP32/ESP8266 microcontroller. The data obtained is sent via a Wi-Fi network using the MQTT/HTTP API protocol and visualized on the Blynk IoT dashboard . ee Figure 4. In addition, the system is also connected to a Telegram Bot . ee Figure 4. so that users can receive periodic water quality data notifications without having to open a special application. IoT Architecture and Digital Platform The IoT architecture in this system is designed so that water quality measurement data can be monitored in real time, either through a dedicated application or instant messaging applications that are easily accessible to the . Figure 3. System Block Diagram Data from the pH. TDS, and turbidity sensors is processed by the ESP32 and ESP8266 microcontrollers, then transmitted wirelessly via a Wi-Fi network. Data transmission uses the MQTT protocol for lightweight and efficient communication, as well as an HTTP API to connect the system to an application-based monitoring platform. For the main visualization. Blynk IoT is used, which provides an interactive dashboard on mobile devices. This dashboard displays real-time pH. TDS, and turbidity values for both pre- and post-filtration water. With this display, users can easily observe the effectiveness of the filtration In addition to Blynk, the system is also equipped with a Telegram Bot that functions as an additional monitoring Figure 4. Smart Digital Measurement System The multi-stage filtration unit . ee Figures 4c and 4. , consisting of a sedimentation filter, activated carbon, and UV sterilizer, improves water quality by filtering out large particles, reducing dissolved organic/chemical substances, and inactivating pathogenic microorganisms. To measure filtration effectiveness, sensors are placed at two measurement points . efore and after filtratio. Sensor accuracy is tested by comparing it with manual . measurement results, as shown in Table I. TABLE I. COMPARISON OF SENSOR READINGS AND MANUAL MEASUREMENTS Sample Parameter TDS . Turbidity (NTU) TDS . Turbidity (NTU) TDS . Turbidity (NTU) TDS . Turbidity (NTU) TDS . Turbidity (NTU) Manual Measurement Sensor Reading Error (%) Of the five water samples tested . ee Table I), the average relative error recorded was 3. 0Ae3. 5% for pH. TDS, and turbidity. This confirms that the sensors used are reliable for field applications. The sensor Ie dashboard data transmission speed was tested with 100 transmissions. Measurement method: each MQTT payload included a t_sensor timestamp . poch m. when the data was read by the microcontroller. On the application side, the t_dashboard timestamp was recorded when the value appeared on the The delay was calculated: TABLE II. END-TO-END DATA ACQUISITION DELAY. SENSOR Ie BLYNK DASHBOARD (SUBSET OF 100 TRANSMISSIONS) Packet Delay . Packet Delay . Packet Delay . Packet Delay . The average delay . ee Table II) is 1. 72 seconds, with a maximum value of 1. 95 seconds and a minimum of 1. Thus, the system has proven to have a fast response time, as required for real-time monitoring. Table 3 shows the daily uptime of the system over 7 days. TABLE i. DAILY UPTIME OF SMART DIGITAL MEASUREMENT SYSTEM DURING 7-DAY MONITORING Day Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Avg. Uptime (%) Note Stable operation, no data loss Minor delay observed Highest uptime recorded Slight Wi-Fi fluctuation Stable Stable Stable Above IoT standard . %) The average uptime . ee Table . was recorded at 1%, with minor fluctuations mostly caused by Wi-Fi signal interference. This value confirms that the system is capable of providing data almost continuously without significant interruptions. Thus, it can be concluded that the performance test results are shown in, which covers three main aspects: Data acquisition stability: the average delay in data transmission from the sensor to the dashboard was 72 seconds, with a maximum of 1. 95 seconds (<2 C Sensor accuracy: Sensor measurements compared to manual laboratory tools showed a relative error of 3Ae 4%, still below the 5% threshold considered C Data availability: The monitoring system achieved 1% uptime over 7 consecutive days, well above the IoT standard (Ou95%). Water Quality Measurement Results Field testing was conducted on village wells in Gesikan Village. Tuban. The water quality parameters monitored were pH. TDS, and turbidity, which were measured before and after filtration at 30-minute intervals over a 24-hour period . ee Table IV). TABLE IV. Parameter TDS . Turbidity (NTU) WATER QUALITY MEASUREMENT BEFORE AND AFTER FILTRATION Before Filtration 1 Ae 6. 520 Ae 560 30 Ae 35 After Filtration 8 Ae 7. 240 Ae 260 6Ae8 WHO/Permenkes Standard 5 Ae 8. < 500 < 10 From Table IV, the measurement results show that the initial pH of the water was in the range of 6. 1Ae6. 3, indicating slightly acidic conditions. After filtration, the pH value increased to 6. 8Ae7. 0, approaching neutral conditions and meeting WHO . and Permenkes standards . 5Ae8. For the TDS (Total Dissolved Solid. parameter, the initial value was recorded at 520Ae560 ppm, still exceeding the threshold for potable water quality. However, after filtration, the TDS value dropped dramatically to 240Ae260 ppm, or a reduction of more than 50%, thus falling below the maximum limit of 500 ppm set by the WHO. Meanwhile, turbidity showed the most significant The initial turbidity value of 30Ae35 NTU decreased to 6Ae8 NTU after filtration, or a reduction of about Thus, the quality of the filtered water meets the WHO and Permenkes requirements of turbidity <10 NTU. Figure. Comparison of Water Quality Parameters Before and After Filtration Overall, the results in Figure 5 prove that a multi-stage filtration system integrated with IoT-based digital monitoring can effectively improve the quality of village well water to meet health standards. In addition, real-time monitoring through IoT makes it easier for village administrators to continuously monitor water quality, thereby supporting the provision of safe and adequate clean water for the so that responses to water quality deterioration can be made more quickly. Comparative Analysis with Previous Research The results of implementing the IoT-based Smart Digital Measurement system in this study show competitive performance compared to previous studies. In terms of IoT performance, the developed system was able to achieve an average transmission delay of 1. 72 seconds, with a maximum value of 1. 95 seconds. This value is faster than studies . , . , which reported an average delay of 2Ae5 seconds in IoTbased water quality monitoring systems. Thus, this system is more responsive in providing real-time data to users. From a sustainability perspective, this system has several First, power consumption is relatively low because it uses energy-efficient ESP32/ESP8266 microcontrollers, so it can be operated with renewable energy sources such as solar panels. This is important to support energy independence in rural areas. Second, the implementation cost is relatively affordable compared to conventional laboratory instruments, allowing for wider adoption by other villages with similar conditions. In terms of uptime, the system showed high reliability with an average of 99. 1% during seven days of testing, surpassing the report in study . , which only reached 96. due to Wi-Fi network stability issues. This shows that the hardware and software integration design in this study is relatively more stable in maintaining data availability. In terms of sensor accuracy, the measurement results showed a relative error of 3Ae4% compared to the manual laboratory method. This figure is comparable to studies . that used a combination of pH. TDS, and turbidity sensors with an error of 2Ae5%. This means that the sensors used in this study are reliable for field applications with a fairly high level of precision. Meanwhile, in terms of water filtration effectiveness, the developed system was able to reduce TDS by more than 50% and turbidity by around 75%. These results are better than those reported in study . which only reported a 60% reduction in turbidity using single activated carbon filtration. In addition, the increase in pH from 6. 1Ae6. 3 to 6. 8Ae7. indicates the system's success in producing water quality that is close to neutral, in line with WHO standards. Compared to study . , which focused on the use of IoT only for water quality monitoring without integration with filtration systems, this study offers the advantage of combining digital monitoring with multi-stage filtration. This provides greater practical contribution because it not only monitors but also directly improves water quality to meet health standards. Thus, this study confirms the contribution of novelty in the form of real-time IoT monitoring integration with effective and reliable multi-stage filtration, which has been tested in the real context of village wells. This integration demonstrates advantages both in technical terms . ow delay, high uptime, sensor accurac. and in terms of practical benefits . mproved water quality to meet WHO and Ministry of Health standard. Applied Discussion and System Sustainability The results of implementing the IoT-based Smart Digital Measurement system in village wells in Gesikan Village. Tuban, show that this technology is not only feasible from a technical standpoint, but also has great potential for application in a broader context. From an applicative standpoint, this system makes it easy for village administrators to monitor water quality in real time without having to conduct routine manual tests in a laboratory. The data presented through the Blynk dashboard and Telegram bot allows quick access for decision makers at the village level, such as village officials or water management teams. In addition, the integration of digital monitoring units and multi-stage filtration provides added value compared to previous studies. Not only does it function as an early warning system, but it also directly improves water quality to meet WHO and Ministry of Health standards. This means that the system contributes directly to the achievement of SDG points 3 (Good Health and Well-bein. and 6 (Clean Water and Sanitatio. In the future, the system can be expanded to integrate data from several village wells to form a cloud-based centralized monitoring network. Thus, local governments can simultaneously monitor water quality across regions. addition, the collected historical data has the potential to be analyzed using machine learning methods to predict trends in water quality decline, for example during the rainy season or long dry seasons. With this potential for application and sustainability, this research not only presents a technical solution but also offers a relevant implementation model for rural clean water management in Indonesia. IV. CONCLUSION This study has developed and implemented an IoT-based Smart Digital Measurement System for monitoring the quality of village well water. The system, which consists of a digital monitoring unit . TDS, and turbidity sensor. and a multi-stage filtration unit, has been proven to work reliably with an average transmission delay of <2 seconds, sensor accuracy with a relative error of <5%, and 99% uptime during seven days of testing. Field test results showed a significant improvement in water quality, namely pH approaching neutral, a reduction in TDS of more than 50%, and a reduction in turbidity of up to 75%, thus meeting WHO and Ministry of Health standards. These findings confirm that the integration of digital instrumentation with IoT technology and cost-effective filtration can be a sustainable solution for providing clean water in rural areas, while also supporting the achievement of SDGs 3 (Good Health and Well-bein. and SDGs 6 (Clean Water and Sanitatio. ACKNOWLEDGMENT The author would like to thank the Faculty of Engineering. Trunojoyo University Madura, and the students under his supervision for their technical support in this He would also like to thank PT Telkom Indonesia for its financial support. In addition, the author would like to express his appreciation to the Defense Intelligence Agency of the Ministry of Defense of the Republic of Indonesia (Kemhan RI) for its strategic support and collaboration, which contributed to the success of this research. REFERENCES