Table of Contents

Smart Tennis Racket

This project is an application for analyzing tennis shots using a smart racket. It collects motion data using sensors, processes it using a Python server, and displays the analysis on a web interface.

Hardware Overview

The MPU6500 is mounted to the tennis racket and connected to the ESP32, which streams sensor data wirelessly.

Data Flow

  1. MPU6500 collects accelerometer and gyroscope data.
  2. ESP32 transmits data to an InfluxDB time-series database.
  3. A CSV file is exported from InfluxDB
  4. The CSV file is consumed by a Python server that:
    • Parses the data
    • Detects individual shots
    • Analyzes each shot for:
      1. Spin
      2. Power
  5. A web interface queries the Python server and visualizes the analysis using Chart.js.

System Architecture

Python Server Capabilities

Web Interface

Future Improvements