~/vimal-jain
IoT MedTechJun 2023

Therapy Game – IoT Rehabilitation Platform

Unity-based rehabilitation application integrating BLE-enabled EMG sensors to gamify physiotherapy and track muscle recovery.

Problem Statement

Traditional physical therapy rehabilitation exercises are often repetitive and unengaging for patients recovering from neuromuscular injuries, leading to low adherence and unmonitored recovery progress. Therapy Game was created to gamify physical therapy by translating live neuromuscular contractions into real-time interactive gameplay.

System Architecture & IoT Integration

Built in Unity with C#, the application connects to medical-grade Electromyography (EMG) muscle sensors over Bluetooth Low Energy (BLE). Micro-voltage muscle contractions are captured, calibrated, and mapped to game mechanics (such as flight elevation, obstacle avoidance, and target acquisition) in real time.

Patient Muscle Contraction (EMG Sensors)
  │
  ▼
Bluetooth Low Energy (BLE) Wireless Stream
  │
  ▼
Unity C# Hardware Communication Layer
  ├── Signal Calibration & Noise Filtering
  └── Contraction Intensity Normalization
  │
  ├── Real-Time Game Mechanics Engine (Physics & Player Input)
  └── Recovery Analytics Module (Repetitions, Fatigue, Amplitude)
  │
  ▼
Patient Feedback Display & Clinician Telemetry Logs

Key Engineering Contributions

•BLE Sensor Communication: Implemented asynchronous Bluetooth Low Energy protocols to stream raw micro-volt sensor telemetry into the Unity runtime with minimal latency.
•Signal Filtering & Normalization: Developed mathematical smoothing and threshold calibration algorithms to distinguish voluntary muscle contractions from baseline electrical noise.
•Interactive Biofeedback: Designed engaging game levels that encourage specific muscle activation patterns while preventing over-exertion through automated fatigue detection.
•Telemetry & Progress Tracking: Recorded repetition counts, peak contraction amplitude, and endurance metrics for physical therapists to evaluate patient recovery trajectories.

Stack

UnityC#BLE SensorsEMG HardwareIoTHealthcareData Analytics