WQSP and CEDC team photo

Project

Remote Water Quality Monitoring System

Remote Early-Warning Water Quality Monitoring System

The Remote Water Quality Monitoring System is a Clemson Engineers for Developing Communities project I founded and led within the Technical Solutions program. The project was created to explore affordable, remote water-quality monitoring for communities with limited access to reliable testing infrastructure. Rather than certifying water as potable, the system is intended to act as an early-warning and decision-support tool that helps identify changes in water quality, possible treatment failure, contamination risk, or infrastructure degradation.

Over five semesters in CEDC, the project grew from a charter and literature review into a two-team engineering effort covering embedded sensor-node design, PCB breakout-board development, networking architecture, cloud/database planning, dashboard visualization, and technical handoff documentation. Although the project did not reach a fully validated field-deployable prototype before my graduation, the groundwork was completed for future CEDC members to continue into full sensor integration, calibration, enclosure design, PCB consolidation, and field testing.


My Role

  • Founded and led WQSP within CEDC Technical Solutions.
  • Led a five-semester project effort from chartering into sensor architecture, PCB breakout-board development, dashboard planning, and handoff.
  • Organized two coordinated teams: Remote Water Sensor Group and Data Visualization.
  • Guided a six-sensor ESP32 direction covering ORP, pH, turbidity, TDS/conductivity, temperature, and flow rate.
  • Prepared technical handoff material for future CEDC continuation.

Project Involvement and Contributors (Fall 2024 - Spring 2026)

Project Founder / Lead

Remote Water Sensor / Physical System Contributors

Data Visualization Contributors


Two-Team Project Structure

As WQSP grew, the project was separated into two coordinated development tracks: the Remote Water Sensor Group and the Data Visualization Team. This split allowed the physical hardware work and the software/data interpretation work to progress in parallel while still supporting the same end goal: collecting water-quality measurements remotely and presenting them in a form that communities, facilitators, or project partners could understand and act on.

The physical system team focused on how readings would be captured in the field, while the visualization team focused on how those readings would be stored, processed, interpreted, and displayed. This structure made the project more realistic because the final system would need both reliable embedded hardware and a clear user-facing interface. It also allowed team members with different backgrounds in electrical engineering, computer engineering, and software development to contribute to the same system without forcing all work into one narrow task list.

Remote Water Sensor Group

This team focused on the physical sensor-node side of the project. Its work centered on the ESP32-based embedded system, the selected water-quality sensors, early PCB and breakout-board planning, power distribution, wiring simplification, enclosure direction, and future field-deployment constraints. The group's purpose was to define how the system would physically collect measurements such as ORP, pH, turbidity, TDS/conductivity, temperature, and flow rate.

  • ESP32 sensor-node architecture
  • Sensor selection and integration planning
  • PCB breakout-board development
  • Power and grounding considerations
  • Enclosure and physical deployment planning
  • Future calibration and field-testing preparation

Data Visualization Team

This team focused on the software and communication side of the project. Since live sensor data was not yet available, the team used simulated water-quality data to begin developing the dashboard structure, visualization flow, warning logic, and data interpretation approach. The goal was to make sure that once physical readings were available, the system would already have a path for storing, displaying, and interpreting those readings.

  • Simulated sensor-data workflow
  • Front-end dashboard development using HTML, CSS, and JavaScript
  • Backend API planning
  • Cloud/database planning using Supabase or AWS concepts
  • PostgreSQL database structure
  • Authentication and row-level security concepts
  • Threshold processing and warning logic
  • User-facing trend visualization

The two tracks were designed to meet at the data pipeline. The Remote Water Sensor Group defined what data the system should collect and how the embedded node would collect it. The Data Visualization Team defined how that data could be uploaded, stored, interpreted, and displayed. Even though the final hardware-to-dashboard connection was not completed before my graduation, this two-team structure established a clear continuation path for future CEDC members: connecting validated sensor readings to the dashboard, refining threshold logic, and preparing the system for controlled testing.


CEDC Project Structure / Timeline

The project was developed inside the CEDC lifecycle, which uses phased planning, documentation, and handoff to move projects from concept through eventual testing and deployment. WQSP advanced through chartering, literature review, project organization, architectural definition, dashboard prototyping, and PCB breakout work during my time at Clemson.

CEDC project lifecycle diagram

CEDC project lifecycle.


Phase 0 - Project Charter and Planning

Phase 0 established the mission, scope, stakeholders, constraints, risks, and development path for WQSP. This was the point where the need for a low-cost monitoring system was translated into a structured CEDC project with defined handoff expectations and phased technical growth.

The charter framed the system around early-warning monitoring rather than regulatory certification and set the foundation for later work in sensor selection, embedded architecture, and dashboard planning.

Primary contributors: Camren Khoury, Noah Friedman, Ata Ozer

Phase 0 charter cover page

Charter cover page.

Phase 0 charter excerpt

Charter excerpt.


Phase 1 - Literature Review and Context Analysis

Phase 1 focused on water-quality testing practices, low-cost sensing options, deployment constraints, and what a practical early-warning system should measure. This phase narrowed the project around trend detection, contamination indicators, and monitoring points where problems could emerge after treatment.

The literature review helped anchor later decisions around target parameters, project scope, and what level of hardware and software complexity would be realistic for a CEDC student team to continue.

Primary contributors: Camren Khoury, Salvador Ruiz, Noah Friedman

Phase 1 literature review cover page

Literature review cover page.

Phase 1 literature review excerpt

Literature review excerpt.


Project Presentation Materials

A mid-semester combined poster was prepared for the Greenville presentation to summarize the project direction at that stage.

Mid-semester Greenville combined WQSP poster

Mid-semester Greenville combined poster.

Open Poster PDF

WQSP Sensor Development

The Remote Water Sensor side of WQSP focused on defining the physical sensing system. The intended design centered on an ESP32-based sensor node connected to six water-quality measurements: ORP, pH, turbidity, TDS/conductivity, temperature, and flow rate. This part of the project focused on how data would be collected in the field, how the sensors would be organized electrically, and how the hardware could eventually move from bench testing into a more compact deployable form.

The physical-system work included sensor selection, ESP32 integration planning, PCB breakout-board development, power and grounding considerations, and future enclosure planning. The goal was not to certify water as potable from a single reading, but to support early-warning trend detection across multiple parameters over time.

Included design areas: sensor selection, ESP32 integration planning, power and grounding strategy, breakout-board development, optional Raspberry Pi uplink support, and early enclosure planning.

Open WQSP Poster PDF

Remote Water Sensor poster
Remote Water Sensor poster.
WQSP high-level implementation diagram
High-level WQSP implementation diagram.

Sensor Suite

Temperature

Waterproof 1-Wire DS18B20 digital temperature sensor

Waterproof DS18B20 digital temperature sensor

Provides environmental context for readings.

TDS / Conductivity

Gravity lab grade analog electrical conductivity sensor kit

Gravity analog electrical conductivity sensor kit

Tracks dissolved solids and ionic-content trends.

Flow Rate

Gravity water flow sensor

Gravity water flow sensor

Confirms movement through the test path.

ORP

Gravity analog industrial ORP sensor meter pro

Gravity analog industrial ORP sensor meter pro

Tracks oxidation-reduction behavior.

pH

Gravity lab grade analog pH sensor kit for Arduino

Gravity analog pH sensor kit

Tracks acidity and basicity shifts.

Turbidity

DFRobot analog turbidity sensor

DFRobot analog turbidity sensor

Tracks suspended particles and clarity changes.

Water quality sensor selection decision matrix
Water-quality sensor selection decision matrix.

PCB Development

Due to the physical size and pin density of the ESP32 development setup, traditional breadboard development was not practical for organized sensor testing. To address this, a custom ESP32 breakout board was designed to route GPIO pins to accessible female headers, provide common ground distribution, and include dedicated power input connections.

The breakout board was an intermediate testing platform, not the final deployable PCB. The longer-term hardware plan was to integrate the ESP32 module directly onto a custom board with the support circuitry needed for a realistic sensor node. That future revision would include external antenna support for the selected module variant where needed, a UART/programming header, regulated power input, buck conversion, optional linear regulation, sensor connectors, debug/test points, and cleaner power and ground routing.

Limited procurement and resource availability made it difficult to move directly from breakout-board planning into full sensor integration and a consolidated custom PCB. Because of this, the hardware work was structured so future CEDC teams could continue once sensors, PCB components, enclosure materials, and testing resources were available.

ESP32 breakout board flat view
ESP32 breakout board flat layout.
ESP32 breakout board 3D render
ESP32 breakout board 3D render.

Data Visualization

Alongside the physical sensor-node development, the Data Visualization team focused on building the software, communication, and user-facing components of the system. Because live sensor data was not yet available during development, the dashboard was designed and tested using simulated water-quality data. This allowed the team to validate front-end layout decisions, real-time trend visualization, alert logic, and overall user interaction flow before hardware deployment.

The dashboard was built using a JavaScript, HTML, and CSS stack, with Chart.js used for real-time data visualization and dynamic graphing. A Supabase backend was integrated to simulate a cloud-based data source, enabling structured storage and retrieval of sensor readings. The frontend continuously polls this backend, processes incoming data, and updates both numerical displays and time-series charts to mimic real-world streaming conditions.

Beyond simple visualization, the system implements baseline tracking and threshold-based classification to detect meaningful changes in water conditions. Sensor values such as pH, turbidity, temperature, TDS, and conductivity are compared against rolling averages, allowing the system to classify increases, decreases, or stable conditions. These classifications feed into a rule-based alert system that identifies patterns such as contamination risk, temperature-driven decay, or source changes, and presents them clearly to the user through a tiered alert interface.

To support real-world deployment variability, the project explored a tiered networking model that accounts for differences in internet reliability, power availability, and local computing resources. Rather than assuming a single infrastructure, the system was designed to scale across multiple environments:

Tier 1: High-Reliability Deployment
ESP32 sensor node with a Raspberry Pi acting as a local gateway and uplink. This configuration supports continuous cloud communication, full dashboard functionality, and centralized data aggregation.

Tier 2: Moderate-Reliability Deployment
ESP32 sensor node with reduced networking requirements and intermittent cloud communication. The system prioritizes efficient data transmission and maintains core monitoring capabilities without relying on constant connectivity.

Tier 3: Minimal-Reliability Deployment
ESP32 sensor node with local display and minimal internet dependence. This configuration focuses on essential readings and basic alerts, allowing operation in environments with limited infrastructure.

This tiered approach ensures the system can adapt to the needs of different communities rather than relying on a single fixed deployment model. It also reflects a broader design goal of balancing data fidelity, system complexity, and reliability based on available resources.

Project Manager: Matthew Mugrage

WQSP dashboard prototype
Dashboard prototype using simulated data.
WQSP multi-tier networking concept
Multi-tier networking concept.
WQSP data visualization poster
Data Visualization poster.
Data Visualization team members
Data Visualization team.

Final Status and Handoff

By the end of my time at Clemson, WQSP had not reached a fully validated field-ready prototype due to timeline, funding, procurement, and resource constraints. Physical progress depended on acquiring sensors, power components, PCB materials, enclosure hardware, and testing equipment, which limited how quickly the team could move from architecture and planning into full hardware integration. However, the project established the foundation for a scalable, low-cost remote water-quality monitoring system through project chartering, literature review, early-warning threshold research, sensor selection, ESP32 architecture planning, PCB breakout-board development, dashboard prototyping, cloud/database planning, and continuation documentation.

Future CEDC teams can build from this foundation by integrating and calibrating the selected sensors, consolidating the breakout-board work into a deployable PCB, developing the enclosure, connecting live data to the dashboard, and testing the system in controlled water environments.


Key Outcomes

  • Founded a new embedded/community engineering project within CEDC Technical Solutions.
  • Coordinated a multidisciplinary student team across embedded hardware and data visualization.
  • Defined a six-sensor ESP32-based early-warning architecture.
  • Developed a multi-tier networking model for different deployment conditions.
  • Supported PCB breakout-board development for structured ESP32 testing.
  • Helped establish a simulated-data dashboard for water-quality trend visualization.
  • Created a documented handoff path for future CEDC continuation.