Project

# Title Team Members TA Documents Sponsor
38 Athletic Tracking Sensor
Ethan Pizarro
J.D. Armedilla
Ryan Horstman
Jiankun Yang design_document1.pdf
final_paper1.pdf
other1.pdf
photo1.jpeg
photo2.jpeg
presentation1.pdf
proposal1.pdf
video
# Title

Team Members:
- Ryan Horstman (ryanjh4)
- Ethan Pizarro (epizar4)
- J.D. Armedilla (johndel2)

# Problem
Currently the main metric of progress in weightlifting is varying weight and reps, but there is also value in (and workouts designed around) moving weight either quicker or slower, known as Velocity Based Training. However, this type of training is inaccessible as current sensors are very expensive and infeasible for the everyday weightlifter. Additionally, incorrect form in workouts can lead to gradual and immediate injury to users, especially to those new to working out.

Current sensors offer some solutions, but lack in some key features. Some assist with form tracking but not velocity. Most current sensors offer "real-time" feedback that consists of the lifter doing their exercise and then checking their results on their phones. This results in the user finishing a set, then getting feedback, then going back to another set. For exercises that are not just "move the weight as fast as you can" this is unideal. Additionally, with respect to form, this type of feedback does not inform until bad form is already used and the damage is done.

# Solution
We propose a compact wearable device that takes and transmits workout data to a phone via Bluetooth. It will utilize a 9-axis sensor (acceleration, gyroscope, and magnetometer). However, in addition to sending data to a phone, it will internally process data taken during the workout and provide immediate feedback to the user through haptic signaling and/or LED feedback. Before starting the workout, the user can indicate on his phone which workout he is doing and any desired constraints. Based on that workout the device will track the user's form and acceleration, alerting him/her if a desired constraint is not being met so that it can be immediately corrected mid-set. It would be small enough that you could strap to your wrist or neck, around a weight set, or attach to a desired object. If time allows, we could add a plug-in module that would connect a force sensor (likely piezoelectric) for quantification of exercises that are force based (another feature not currently available with other current acceleration sensors).


# Solution Components

## Microcontroller
Our microcontroller would an ESP32, and it would take data from the sensor and process it based on constraints transmitted to it from the app. For example, determine if velocity exceeds or is under a certain level or if form is incorrect to the point of risk. The ESP32 includes Bluetooth capability that will be used to communicate with the app.

## Sensors
Our 9-axis sensor would be a ICM-20948, which includes acceleration sensor, magnetometer, and gyroscope. This would be utilized to collect acceleration data, as well as motion tracking data for form analysis. The data would be sent to our microcontroller. Additionally, our add-on force sensor would be one such as a 7BB-20-6 Piezo Disc.

## Feedback
The immediate feedback to the user would be through vibration with a FIT0774. It would be actuated by the microcontroller. Additionally, we could integrate LED feedback via single-color LEDs.

## App
The app would communicate to the device via Bluetooth and send constraints to the microcontroller based on what workout is being done (for example, maximum acceleration in a given direction or gyroscope orientation that indicates correct form). There would be a library of workouts, or the user could implement his own workout. Throughout the workout, the microcontroller will send data to the app. Once finished with the workout, the app will display the data that been collected as well as key statistics, such as the maximum and minimum acceleration/force.

## ...

# Criterion For Success
For our device to be effective, we will have to be able to enter constraints into the app, do a workout, and be alerted whenever in that workout we are not meeting our goals, or if our form is posing risk. We will first aim to utilize with squats (which necessitates good straight-back form) and bench press. Our app will have to also accurately display workout data.

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.