Project

# Title Team Members TA Documents Sponsor
15 Real-Time Golf Swing Tracker
Ben Kim
Ryan Leuba
Tamir Battsogt
Sanjana Pingali design_document1.pdf
design_document2.pdf
final_paper1.pdf
other1.pdf
proposal2.pdf
proposal3.pdf
proposal1.pdf
video1.mp4
# Real-Time Golf Swing Tracker

Team Members:
- tamirb2
- leuba2
- kijungk3

# Problem

Mastering the golf swing is a complex challenge with nuances that can be difficult to grasp without precise feedback. Current training methods often rely on professional coaching and visual observation, which might not be readily accessible or affordable for all golfers. Additionally, the subtle mechanics of a golf swing, including swing path, speed, and force, are not easily quantifiable through mere observation. There's a growing need for a more accessible and scientific approach to golf training that leverages modern technology to provide real-time, detailed feedback directly to the golfer.

# Solution

We propose to develop the Real-Time Golf Swing Tracker equipped with an integrated sensor system and a companion mobile application to analyze and improve golf swings. The core of our solution involves embedding accelerometers, gyroscopes, and force sensors within the grip of a standard golf club. These sensors will capture critical data points such as swing speed, angle, and grip pressure during each stroke. This data is then processed by a microcontroller that filters and interprets the raw sensor outputs. The processed information is wirelessly transmitted to a mobile application that provides the golfer with immediate visual feedback and historical data analysis.

# Solution Components

## Sensor Subsystem

This subsystem includes accelerometers, gyroscopes, and force sensors integrated into the golf club's grip. These sensors capture real-time data on swing speed, angle, and grip pressure. We plan to use MPU9250, which includes the gyroscope and the accelerometer together. This sensor will be attached right above the golf head, allowing for accurate sensing when the club swings up and down. Also, the FSR06BE sensors will be utilized to sense the grip force from our hands to the golf grip. We would insert sensors under the grip such that the pressure resulting from our hands will be transmitted to the microcontroller, which will be on the golf shaft.

- Accelerometer : Measures the acceleration and deceleration of the golf club to track swing speed.
- Gyroscope : Tracks the orientation and angular velocity to track the angle of the club throughout the swing.
-Magnetometer : Tracks absolute orientation in relation to Earth’s magnetic field to work in tandem with the gyroscope and gather a more accurate reading.
- Force Sensor : Monitors the grip pressure applied by the golfer throughout the swing. If the scope of the project is too small, we also plan to add force sensors on the golf club face to measure the point of contact made between the club and the ball.


## Microcontroller Subsystem

The microcontroller subsystem processes data from the sensors, executes filtering algorithms, and manages wireless data transmission to the mobile application.

- Microcontroller (ESP32-S3-WROOM-1 MCU): Manages real-time data processing from all sensors and supports Bluetooth communication to transmit swing data to the mobile application. Sensors will be connected to the microcontroller through the GPIO and ADC allowing for digital and analog transmission. The microcontroller/PCB will most likely be placed & screwed on the shaft of the club to allow for even distribution of wires between grip sensors and club sensors.

## Power Subsystem

This subsystem ensures that all electronic components within the golf club are adequately powered during use.
- Rechargeable Cable/Battery (5V) : A lightweight, durable battery capable of providing consistent power to necessary subsystems for extended periods, ensuring usability through multiple rounds of golf. A USB port will be utilized to allow for the battery to be recharged.

## Mobile Application and Data Analysis Subsystem

A comprehensive app that receives data from the golf club’s microcontroller. The user interface displays real-time analytics and historical trend analysis to help golfers understand and improve their swing techniques. High-level/process-intensive code will be run from the mobile application to perform any algorithms or potential ML to analyze golf swings. The application will most likely be exclusively hosted as an Android application for easier development.

# Criterion For Success

- **Precision**: The sensor data must be accurate to within a few degrees or percentage points, ensuring that feedback is reliable.
- **User Interface**: The mobile application must be intuitive and easy to use, providing clear and actionable insights without overwhelming the user. A section will be dedicated to user data & numerics so that users can quickly digest raw data.
- **Durability**: The Real-Time Golf Swing Tracker must withstand regular use in various weather conditions without sensor or system failure.

# Alternatives

Current training aids mostly involve static tools like swing trainers or mats that do not provide dynamic, real-time feedback. While some digital solutions exist, such as swing analyzers that attach to a club, they often require additional devices or do not integrate seamlessly. Our solution improves upon these by integrating all necessary technologies directly into the club and accompanying app, providing a more holistic and user-friendly experience.


Cypress Robot Kit

Todd Nguyen, Byung Joo Park, Alvin Wu

Cypress Robot Kit

Featured Project

Cypress is looking to develop a robotic kit with the purpose of interesting the maker community in the PSOC and its potential. We will be developing a shield that will attach to a PSoC board that will interface to our motors and sensors. To make the shield, we will design our own PCB that will mount on the PSoC directly. The end product will be a remote controlled rover-like robot (through bluetooth) with sensors to achieve line following and obstacle avoidance.

The modules that we will implement:

- Motor Control: H-bridge and PWM control

- Bluetooth Control: Serial communication with PSoC BLE Module, and phone application

- Line Following System: IR sensors

- Obstacle Avoidance System: Ultrasonic sensor

Cypress wishes to use as many off-the-shelf products as possible in order to achieve a “kit-able” design for hobbyists. Building the robot will be a plug-and-play experience so that users can focus on exploring the capabilities of the PSoC.

Our robot will offer three modes which can be toggled through the app: a line following mode, an obstacle-avoiding mode, and a manual-control mode. In the manual-control mode, one will be able to control the motors with the app. In autonomous modes, the robot will be controlled based off of the input from the sensors.