Muscle cramps can be unpredictable and cause discomfort or pain, especially for athletes, workers, and patients with neuromuscular conditions.
This project focuses on developing an analog-based EMG filtering system that captures and processes EMG signals using hardware filters and an ESP32 to analyze muscle activity in real-time.
The system filters and transmits the EMG signal to ThingSpeak IoT Platform for advanced time-domain & frequency-domain analysis. Since ThingSpeak has private channel restrictions, we also built a custom website for real-time signal visualization, making this a mini web-based oscilloscope.
- Dry Electrodes - Used to capture muscle signals non-invasively.
- Instrumentation Amplifier - High CMRR, low-noise signal amplification.
- 4th-Order Low-Pass Filter - Removes high-frequency noise.
- 2nd-Order High-Pass Filter - Eliminates DC offset and low-frequency artifacts.
- Notch Filter (50/60Hz) - Suppresses power line interference.
- TL702 Op-Amp - Selected for high slew rate, high CMRR, and power rejection ratio.
- Potentiometers - Allow adjustable gain and cutoff frequency tuning.
- ESP32 - Transmits processed signals to ThingSpeak.
- ThingSpeak IoT Platform - Converts time-domain signals to frequency-domain for analysis.
- Custom Website - Due to ThingSpeak's private channel restrictions, we designed a web-based oscilloscope to visualize both time-domain & frequency-domain EMG data.
graph TD;
A[EMG Dry Electrodes] -->|Analog Filtering| B[ESP32 Microcontroller]
B -->|Wi-Fi Transmission| C[ThingSpeak IoT Platform]
C -->|FFT & Feature Extraction| D[Custom Website]
D -->|Real-Time Signal Display| E[User Visualization]
✅ Real-time EMG signal acquisition
✅ Analog-based filtering system for clean signal extraction
✅ ThingSpeak IoT integration for advanced signal processing
✅ Custom web-based oscilloscope for visualization
✅ Adjustable filtering parameters with potentiometers
✅ Potential for further feature extraction & classification
🔹 Enhanced Signal Processing: Implementing more feature extraction techniques.
🔹 Improved Web Interface: Adding interactive visualization tools.