← Back to Explore

A Machine Learning–Powered Water Quality Prediction Model and Cost-Effective IOT Water Quality Monitoring System

ISEF · 2026 Environmental Engineering

Overview

This study presents the design, implementation, and validation of a low-cost autonomous water quality monitoring and forecasting system integrating embedded IoT hardware with an adaptive machine learning pipeline. The system centers on an ESP32-WROOM-32 microcontroller with integrated WiFi, interfacing with waterproof temperature and total dissolved solids sensors via 1-Wire and analog protocols, transmitting data via HTTP POST to a Raspberry Pi server hosting a full-stack web application with real-time visualization, geographic heatmapping, and configurable threshold alerting. Multi-point calibration against laboratory reference standards yielded R-squared of 0.9998 for temperature with mean absolute error of 0.16 degrees Celsius, and R-squared of 0.9987 for TDS with error below 3 percent, demonstrating consumer-grade components achieve near-laboratory accuracy through rigorous validation. An automated alert system achieved 100 percent detection accuracy across 60 trials with mean response latency of 8.3 seconds. A Random Forest regression model incorporating 44 engineered features including cyclic temporal encodings, lag features, and rolling statistical windows was trained on 8,760 hourly observations to forecast temperature and TDS at 7, 14, and 30-day horizons. A continuous retraining mechanism updates model parameters weekly on accumulated site-specific data, enabling adaptive localization without manual intervention. Model performance exceeded R-squared of 0.90 across all horizons with MAPE below 4 percent. Total system cost is under $120, approximately 4 percent of comparable commercial platforms, demonstrating production-grade sensing and forecasting through principled embedded systems engineering at accessible cost.

Competition history

  • ISEF 2026 Environmental Engineering · Entry ENEV065

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Source: Regeneron International Science and Engineering Fair

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. Browsing stays public.

Continue with Google