Project

# Title Team Members TA Documents Sponsor
28 Early Project Approval: GymHive Tracker
Aryan Shah
Kushal Chava
Aishee Mondal proposal1.pdf
# **Early Project Proposal: GymHive Tracker**
# **Team Members:**

Aryan Shah (aryans5)

Kushal Chava (kchav5)

# **Problem**
A common frustration among gym-goers is that equipment tends to be occupied quickly during peak gym times. Many fitness enthusiasts craft workouts designed around tracking their strength across each workout, requiring them to follow a structured routine of the same machines in a consistent order. During these peak times, machines can be occupied by individuals and even have lines forming to use them, making it important for a gym-goer to know if their next machine is occupied and an estimated wait time (based on how many other people are waiting to use it, as well as their estimated rep and set counts) until they can use it. A solution to this issue would significantly optimize an individual’s workout by reducing idle time and benefiting the gym itself by improving the quality of workouts for its customers.

# **Solution**
Our solution is the GymHive Tracker, a pressure sensor-based system that will monitor each gym equipment’s utilization and display real-time availability updates on an external screen, such as a monitor. The system relies on weight sensors attached to common points of usage for each gym equipment, depending on its type. Most gym equipment will have sensor points placed on pads of contact, where the body is stabilized onto the machine. As a rough guideline to cover most equipment, we will have the sensor on points of contact where the user typically sits/stands/leans. This covers most gym equipment, however, some equipment may inevitably be inapplicable for this preliminary design. A status update of occupied vs not occupied will then be displayed to provide real-time information to users. In addition, we plan to implement a “check-in” system, which allows other users waiting in line to join a “queue” to use the equipment, providing info such as their estimated sets and reps to be able to give other gym-goers an estimated “wait time” until they can use the machine. To create a modular design, each machine would have its PCB that is specifically designed for its intended usage. Each PCB would transmit data through RFID technology. The RFID chip/module will communicate with a microcontroller chip (ESP32) which will handle data transmission to an AWS server for our processing. This would make it such that a user would simply hover their smartphone over the machine and then be presented with an app we design. This app will allow the user to join the queue and occupy the machine when it is their turn. They will input their desired reps and sets, which would be useful information for a gym-goer wanting to use the machine when it is free. Based on the data we gather, we will provide an estimated wait time based on how many individuals, sets, and reps are yet to be completed. In addition, when the next user’s turn is coming up in the queue and the current user is on his last set, it will send a notification to that next user so that he can start heading over to the equipment. An IMU (Inertial Measurement Unit) sensor will be placed to track the repetitive motion patterns for what is counted as a “rep” for each machine. By collecting this data, we can then be able to track when a user has completed their reps/sets, and update this accordingly in the app without any action from the user.

# **Solution Components**
**Subsystem 0: Microcontroller Chip (part of custom PCB)**

Description: The Microcontroller Chip will be a part of the custom PCB we design, which will process the sensor data, handle communication via the RFID chip, and transmit data to an AWS server

Microcontroller: ESP32 chip capable of handling Wi-Fi communication necessary to handle data to the AWS server RFID data input

Wireless Communication: Wi-Fi communication from chip to AWS Server

Inputs and Outputs: GPIO pins for connecting pressure sensor and RFID module. Also, the chip has Serial/UART communication to help debug.

Custom PCB: Designed to integrate the ESP32 microcontroller chip, power management circuits, and RFID module.

**Subsystem 1: Pressure Sensing Module (part of custom PCB)**

Description: This module is the main component to detect whether the gym equipment is being occupied by an individual. It works by measuring a certain amount of pressure applied to a surface, most likely a bench seat, handle, or other type of platform used as the main point of contact for the machine.

Pressure Sensor: High-precision sensors (e.g.,https://www.digikey.com/en/products/detail/uneo-inc/GHF-10/15657152) attached to gym equipment to detect weight changes and determine occupancy. It can measure any weight from 0 to 110 lbs, which is sufficient to detect if an individual is occupying it.

Analog output to readable signal: The output of the GHF-10 comes as an analog output, so we need to translate it using a voltage divider resistor (maybe around 10kOhms resistance) and a capacitor to reduce noise. The output of this readable signal will be read by the ESP32’s ADC pins.

**Subsystem 2: RFID Communication (part of custom PCB)**

Description: This module allows for the ability of the user to use their smartphone to simply hover over the gym machine and be presented with the app to join and view the queue.

RFID Module: The RC522 (https://www.electronicwings.com/esp32/rfid-rc522-interfacing-with-esp32) seems to be one of the most popular RFID modules that are used along the ESP32

Communication with ESP32: The plan is to use I2C communication to begin with due to having more resources online and being sufficient for our needs (although SPI can also be used).

**Subsystem 3: Inertial Measurement Unit (part of custom PCB)**

Description: This module allows our PCB to detect reps based on motion data. This will allow for real-time updates to an equipment’s availability without any user action.

IMU Sensor: The ICM-20948 is a motion sensor IC that has the necessary tracking elements: an accelerometer, gyroscope, and 6 degrees of freedom, as well as being easily integrated with the ESP32 (https://www.digikey.com/en/products/detail/tdk-invensense/ICM-20948/7062698)

Communication with ESP32: The plan is to use I2C due to lower pin usage and not needing SPI communication. It will analyze the motion and feed this data to the ESP32 which will then send it over to the app to track the workout progress.

**Subsystem 4: Mobile App**

Description: The app is designed to provide users with real-time equipment status and input/output functionality for them to “check-in” to the machine.

Functionalities: The app will need to be able to: display real-time availability, and wait times, allow users to “check-in” or join the queue, allow for user input for users to specify desired sets and reps, notify users of their turn coming up

Backend: Data from the ESP32 is processed and stored in an AWS server. Our app will query that server to gather and process the data.

**Subsystem 5: Power Supply (powers the sensors and other modules, part of custom PCB)**

Description: This module powers the sensors and other hardware

Battery: Rechargeable 12V lithium-ion battery packs for portability and reliability. DC-DC Converter: Provides stable voltage outputs to the pressure sensor and the Bluetooth module.

Components: Will be responsible for power delivery to the sensors, RFID, and ESP32. We will test it out with a power supply first as suggested in the lecture, and then move on to the battery integration.

# **Criterion for Success**
1. Sensors must detect equipment occupancy with at least 95% accuracy.
2. The system should be able to differentiate between legitimate equipment usage and random weight placement/fluctuations in sensor data (testing pressure sensor functionality).
3. Reps must be detected with at least 90% accuracy data (test for motion data from the IMU)
4. Sensor data should be transmitted and displayed within 1 second of a change in occupancy status.
5. The system should provide wait time estimates with an error margin of around 20%.
6. All hardware must function correctly after 40 hours of operation in a simulated gym environment. 7 . The display system must enable gym-goers to track available equipment efficiently.
7. We will test it by having multiple users verify the system’s tracking capabilities as well as wait time estimates in a gym environment.

RFI Detector

Jamie Brunskill, Tyler Shaw, Kyle Stevens

RFI Detector

Featured Project

Problem Statement:

Radio frequency interference from cell phones disrupts measurements at the radio observatory in Arecibo, Puerto Rico. Many visitors do not comply when asked to turn their phones off or put them in airplane mode.

Description:

We are planning to design a handheld device that will be able to detect radio frequency interference from cell phones from approximately one meter away. This will allow someone to determine if a phone has been turned off or is in airplane mode.

The device will feature an RF front end consisting of antennas, filters, and matching networks. Multiple receiver chains may be used for different bands if necessary. They will feed into a detection circuit that will determine if the power within a given band is above a certain threshold. This information will be sent to a microcontroller that will provide visual/audible user feedback.

Project Videos