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.

Habit-Forming Toothbrush Stand

John Kim, Quinn Palanca, Rahul Vasanth

Habit-Forming Toothbrush Stand

Featured Project

I spoke with a TA that approved this idea during office hours today, and they said I should submit it as a project proposal.

# Habit-Forming Toothbrush Stand

Team Members:

- Rahul Vasanth (rvasant2)

- Quinn Andrew Palanca (qpalanc2)

- John Jung-Yoon Kim (johnjk5)

# Problem

There are few habits as impactful as good dental hygiene. Brushing teeth in the morning and night can significantly improve health outcomes. Many struggle with forming and maintaining this habit. Parents might have a difficult time getting children to brush in the morning and before sleep while homeless shelter staff, rehab facility staff, and really, anyone looking to develop and track this habit may want a non-intrusive, privacy-preserving method to develop and maintain the practice of brushing their teeth in the morning. Keeping track of this information and but not storing it permanently through a mobile application is something that does not exist on the market. A small nudge is needed to keep kids, teenagers, and adults of all ages aware and mindful about their brushing habits. Additionally, many tend to zone out while brushing their teeth because they are half asleep and have no idea how long they are brushing.

# Solution

Our solution is catered toward electric toothbrushes. Unlike specific toothbrush brands that come with mobile applications, our solution applies to all electric toothbrushes, preserves privacy, and reduces screen time. We will implement a habit-forming toothbrush stand with a microcontroller, sensors, and a simple LED display that houses the electric toothbrush. A band of sensors will be wrapped around the base of the toothbrush. Lifting the toothbrush from the stand, turning it on, and starting to brush displays a timer that counts seconds up to ten minutes. This solves the problem of brushing too quickly or losing track of time and brushing for too long. Additionally, the display will provide a scorecard for brushing, with 14 values coming from (morning, night) x (6daysago, 5daysago, . . . , today) for a "record" of one week and 14 possible instances of brushing. This will augment the user's awareness of any new trends, and potentially help parents, their children, and other use cases outlined above. We specifically store just one week of data as the goal is habit formation and not permanent storage of potentially sensitive health information in the cloud.

# Solution Components

## Subsystem 1 - Sensor Band

The sensor band will contain a Bluetooth/Wireless Accelerometer and Gyroscope, or Accelerometer, IR sensor (to determine height lifted above sink), Bluetooth/Wireless connection to the microcontroller. This will allow us to determine if the electric toothbrush has been turned on. We will experiment with the overall angle, but knowing whether the toothbrush is parallel to the ground, or is lifted at a certain height above the sink will provide additional validation. These outputs need to be communicated wirelessly to the habit-forming toothbrush stand.

Possibilities: https://www.amazon.com/Accelerometer-Acceleration-Gyroscope-Electronic-Magnetometer/dp/B07GBRTB5K/ref=sr_1_12?keywords=wireless+accelerometer&qid=1643675559&sr=8-12 and individual sensors which we are exploring on Digikey and PCB Piezotronics as well.

## Subsystem 2 - Toothbrush Base/Stand and Display

The toothbrush stand will have a pressure sensor to determine when the toothbrush is lifted from the stand (alternatively, we may also add on an IR sensor), a microcontroller with Bluetooth capability, and a control unit to process sensor outputs as well as an LED display which will be set based on the current state. Additionally, the stand will need an internal clock to distinguish between morning and evening and mark states accordingly. The majority of sensors are powered by 3.3V - 5V. If we use a battery, we may include an additional button to power on the display (or just have it turn on when the pressure sensor / IR sensor output confirms the toothbrush has been lifted, or have the device plug into an outlet.

# Criterion For Success

1. When the user lifts the toothbrush from the stan and it begins to vibrate (signaling the toothbrush is on), the brushing timer begins and is displayed.

2. After at least two minutes have passed and the toothbrush is set back on the stand, the display correctly marks the current day and period (morning or evening).

3. Track record over current and previous days and the overall weekly record is accurately maintained. At the start of a new day, the record is shifted appropriately.

Project Videos