Project

# Title Team Members TA Documents Sponsor
67 Automatic Water Quality Monitoring using Test Strips
Abdullah Alsufyani
Fahad Alsaab
Jiankun Yang design_document1.pdf
final_paper1.pdf
other1.pdf
presentation1.pdf
proposal1.pdf
# Automatic Water Quality Monitoring using Test Strips

Team Members:
- Fahad AlSaab (fahadma)
- Abdullah AlSufyani (aaa25)

# Problem

Using water quality testing strips to identify key characteristics can be time-consuming. Each color strip can have different color scales and varying wait times before the chemical agent provides valid results. While it is true that some tests, such as pH, have digital alternatives, these alternatives tend to be more expensive, often require additional calibration, and sometimes do not exist for certain chemical tests. Consequently, automating water quality testing across a wider range of chemicals and substances continues to rely on test strips.


# Solution

Our solution is an automated system that applies water to a test strip and records its values. The enclosed system consists of a mechanism to dispense water onto a test strip. It then waits for the chemical reactions to complete and reads the color results using sensors. A mechanism will replace the used test strips with a fresh one from a storage stack, ensuring multiple days to weeks worth of testing before needing user replacement.

Water will be dispensed using a solenoid, with water sourced either from a reservoir or a home water inlet. The colors will be measured using either color sensors or a digital camera, with LED illumination for consistency. This system enables automated daily monitoring with fresh water samples compared to other water quality testing designs. It expands the range of testable chemicals by leveraging traditional test strips while maintaining affordability by avoiding expensive digital water sensors. The system will be evaluated based on its ability to reliably execute the testing cycle and the accuracy of its color reading compared to human observations.


# Solution Components

## Test Strip Storage Cartridge

This subsystem stores and dispenses test strips. The strips are stacked vertically and dispensed using a roller mechanism similar to a printer. The cartridge ensures that a fresh test strip is available for each test cycle.

### Components
Motorized roller mechanism
Vertical test strip storage compartment
Sensor to detect the presence of test strips.


## Feeder System

The feeder system transports test strips from the storage cartridge to the testing chamber, It ensures proper alignment and positioning of the strip for water application and water detection.


### Components

Stepper motor with precision control
Guide rails for strip movement
Optical sensor for strip alignment verification
Adafruit Motor Shield (https://www.adafruit.com/product/169)

## Water Reservoir and Droplet Dispenser

### Components:
Solenoid valve for controlled water dispensing
Water reservoir with level sensor
Tubing and nozzle for precise droplet application


## Test Strip Color Sensor

This module measures the color of each square of the test strip and has illumination via onboard LEDs to make reading the color more accurate. We will use a color-sensing chip to test its accuracy first and switch to a conventional camera if we do not get the accuracy we want.

The TCS3472 color light to digital converter chip provides us with color measurements.

### Components:
RGB color sensor (e.g., The TCS3472 color light to digital converter chip provides us with color measurements.)
LED illumination for consistent lighting

## Displaying Results

Print over serial USB connection the measured concentrations of chemicals and minerals found in the water.

## Power System

Powered from a standard wall outlet using an AC to DC converter.

# Criterion For Success

1. The cartridge system is reliably able to dispense test strips to the feeder system. Able to do at least 5 water quality testing cycles automatically without jamming.
2. The feeder system can move and position the test strip underneath the water droplet dispenser and color sensor within half a centimeter.
3. The water droplet dispense system can dispense exactly one drop of water at a time accurately onto the square chemical papers such that the test square is fully saturated.
4. The color sensing system can accurately determine the concentration for each test within 10% accuracy compared to a human’s reading of the same test strip.
5. The system can reliably store used test strips in a removable container for the user to dispose.

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.