An Intelligent, low-cost water quality monitoring system with on-device machine learning and cloud integration

Access to safe drinking water remains a global challenge, worsened by pollution and delays in traditional lab analysis. This paper presents a low-cost (under $80), real-time Smart Water Quality Monitoring System utilizing the ESP32 microcontroller. The system measures four crucial parameters, specifically pH, TDS, temperature, and turbidity, and transmits data to a cloud backend for remote visualization on a dynamic web dashboard. A key innovation is the integration of an on-device machine learning model (TinyML) for intelligent, real-time categorization of water impurity events. A neural network, trained on a custom 6,000-point dataset and deployed using the TensorFlow Lite for Microcontrollers framework, distinguishes between ‘Normal’, ‘Rainwater Runoff’, and ‘Chemical’ impurity profiles with 99.28% accuracy. This approach enables independent anomaly detection without reliance on cloud connectivity for decision making. To address hardware constraints, an intelligent fluctuation-based logging algorithm was implemented, demonstrating a 98.2% reduction in SD card write operations during a 24-hour stability test (1,520 writes versus 86,400 in continuous mode). Combined with an automated pump control mechanism, this approach provides an autonomous, resource-efficient solution for decentralized water safety monitoring.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-02-26
DOI
https://doi.org/10.1038/s41598-026-37287-3
Primary Topic
Water Quality Monitoring Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Intelligent, low-cost water quality monitoring system with on-device machine learning and cloud integration

Devansh Mishra, Saurabh Sharma, Ayush Yadav, Bibek Gami et al.
Scientific Reports
Water Quality Monitoring Technologies
article

An Intelligent, low-cost water quality monitoring system with on-device machine learning and cloud integration

Devansh Mishra, Saurabh Sharma, Ayush Yadav, Bibek Gami, E. S. Madhan
article en

Abstract

Access to safe drinking water remains a global challenge, worsened by pollution and delays in traditional lab analysis. This paper presents a low-cost (under $80), real-time Smart Water Quality Monitoring System utilizing the ESP32 microcontroller. The system measures four crucial parameters, specifically pH, TDS, temperature, and turbidity, and transmits data to a cloud backend for remote visualization on a dynamic web dashboard. A key innovation is the integration of an on-device machine learning model (TinyML) for intelligent, real-time categorization of water impurity events. A neural network, trained on a custom 6,000-point dataset and deployed using the TensorFlow Lite for Microcontrollers framework, distinguishes between ‘Normal’, ‘Rainwater Runoff’, and ‘Chemical’ impurity profiles with 99.28% accuracy. This approach enables independent anomaly detection without reliance on cloud connectivity for decision making. To address hardware constraints, an intelligent fluctuation-based logging algorithm was implemented, demonstrating a 98.2% reduction in SD card write operations during a 24-hour stability test (1,520 writes versus 86,400 in continuous mode). Combined with an automated pump control mechanism, this approach provides an autonomous, resource-efficient solution for decentralized water safety monitoring.

Scientific Reports
Vellore Institute of Technology University (IN)
Clean water and sanitation
Openalex Percentile: Top 45%
Water Quality Monitoring Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.