Project

# Title Team Members TA Documents Sponsor
63 Water Quality Monitoring System
Haokai Liu
Harry Griggs
Jackie Fang
Rui Gong design_document1.pdf
final_paper1.pdf
proposal1.pdf
proposal2.pdf
Water Quality Monitoring System

Team members:

Haokai Liu haokail2

Jackie Fang jackief3@illinois.edu

Harrison Griggs hgriggs2

Problem:

Access to clean water is critical for human health, agriculture, and ecosystems. However, water pollution due to industrial waste, agricultural runoff, and inadequate infrastructure poses a global threat. Current methods for monitoring water quality often involve manual sampling and lab testing which is time-consuming, expensive, and lacks real-time data. Our project addresses these issues by designing a low-cost, scalable IoT system to monitor water quality parameters in real time.

Solution

We propose an IoT-based water quality monitoring system designed to provide real-time, actionable insights into water safety. Our solution features a custom PCB that integrates the ESP32 microcontroller , sensors for pH, turbidity, temperature, and conductivity, and power/communication circuits, ensuring a compact and reliable design. The system measures critical water parameters in real time and transmits data wirelessly to a cloud dashboard for remote monitoring. Powered by solar energy, it is ideal for remote deployment and operates sustainably in off-grid environments. Additionally, the system will be low-cost, portable, and scalable, making it suitable for diverse applications such as households, farms, and public water sources. By combining affordability, real-time data, and ease of use, our solution empowers communities to monitor water quality proactively and prevent contamination risks

Solution Components(subsystems)

Core Requirements:
Microcontroller: ESP32 (QFN package, pre-soldered by lab or ordered from E-Shop).
The Microcontroller Subsystem is the core processing unit of the water quality monitoring system, responsible for acquiring, processing, and transmitting sensor data.
It collects analog and digital signals from the pH, turbidity, temperature (Digikey 480-2016-ND), and TDS sensors, converting them into digital values using its ADC. It also optimizes power usage for the battery, ensuring efficient operation with the power subsystem.
Sensor Array
The Sensor Array Subsystem is responsible for collecting real-time water quality data by measuring key parameters such as pH, turbidity, temperature, and total dissolved solids (TDS).
pH Sensor: 5016-SRV-PH-ND
Turbidity Sensor: 1738-1185-ND
Liquid Temp Sensor: Digikey 480-2016-ND (ECE 445 Parts Inventory)
TDS Sensor: DigiKey 1738-1368-ND

Communication:

The Communication Subsystem enables data transmission, remote access, and cloud integration for the water quality monitoring system. This ensures real-time monitoring and data storage for further analysis.
ESP32 Built-in Wi-Fi (QFN package).
UART Header for Programming (Through-hole pins).
IoT Connectivity: ESP32/ESP8266 for Wi-Fi or LoRa module for long-range communication.
Cloud Integration: Data sent to AWS IoT/ThingSpeak for storage and analysis.
Power System
The Power Subsystem ensures a stable and reliable energy supply for the water quality monitoring system, supporting both solar and battery-powered operation for increased efficiency and sustainability.
Solar Panel: external to PCB, connected via through-hole terminal block, Wide traces for high-current paths.
Battery Management: TP4056 Charging Module (through-hole).
Voltage Regulator (Through-hole for easy soldering).

Criterion for Success:

Our project will be considered successful if its sensors are accurate within 5% error of the calibrated lab equipment, real-time data transmission updates to the cloud every 30 minutes with less than 5% packet loss, the cost is under $150, and if it can last 24 hours on battery/solar panel,

Phone Audio FM Transmitter

Madigan Carroll, Dan Piper, James Wozniak

Phone Audio FM Transmitter

Featured Project

# Phone Audio FM Transmitter

Team Members:

James Wozniak (jamesaw)

Madigan Carroll (mac18)

Dan Piper (depiper2)

# Problem

In cars with older stereo systems, there are no easy ways to play music from your phone as the car lacks Bluetooth or other audio connections. There exist small FM transmitters that circumvent this problem by broadcasting the phone audio on some given FM wavelength. The main issue with these is that they must be manually tuned to find an open wavelength, a process not easily or safely done while driving.

# Solution

Our solution is to build upon these preexisting devices, but add the functionality of automatically switching the transmitter’s frequency, creating a safer and more enjoyable experience. For this to work, several components are needed: a Bluetooth connection to send audio signals from the phone to the device, an FM receiver and processing unit to find the best wavelength to transmit on, and an FM transmitter to send the audio signals to be received by the car stereo.

# Solution Components

## Subsystem 1 - Bluetooth Interface

This system connects the user’s phone, or other bluetooth device to our project. It should be a standalone module that handles all the bluetooth functions, and outputs an audio signal that will be modulated and transmitted by the FM Transmitter. Note: this subsystem may be included in the microcontroller.

## Subsystem 2 - FM Transmitter

This module will transmit the audio signal output by our bluetooth module. It will modulate the signal to FM frequency chosen by the control system. Therefore, the transmitting frequency must be able to be tuned electronically.

## Subsystem 3 - FM Receiver

This module will receive an FM signal. It must be able to be adjusted electronically (not with a mechanical potentiometer) with a signal from the control system. It does not need to fully demodulate the signal, as we only need to measure the power in the signal. Note: if may choose to have a single transceiver, in which case the receiver subsystem and the transmitter subsystem will be combined into a single subsystem.

## Subsystem 4 - Control System

The control system will consist of a microcontroller and surrounding circuitry, capable of reading the power output of the FM receiver, and outputting a signal to adjust the receiving frequency, in order to scan the FM band. We will write and upload a program to determine the most suitable frequency. It will then output a signal to the FM transmitter to adjust the transmitting frequency to the band determined above. We are planning on using the ESP32-S3-WROOM-1 microcontroller given its built-in Bluetooth module and low power usage.

## Subsystem 5 - Power

Our device is designed to be used in a car, so It must be able to be powered by a standard automobile auxiliary power outlet which provides 12-13V DC and usually at least 100W. This should be more than sufficient. We plan to purchase a connector that can be plugged into this port, with leads that we can wire to our circuit.

# Criterion for Success

The device can pair with a phone via bluetooth and receive an audio signal from a phone.

The Device transmits an FM signal capable of being detected by a standard fm radio

The Device can receive FM signals and scan the FM bands.

The digital algorithm is able to compare the strength of different channels and determine the optimal channel.

The device is able to automatically switch the transmitting channel to the predetermined best channel when the user pushes a button.