EMG Workout

View History

Monitor muscle activation during exercises

No MyoWare Device Detected

Workout Preview

▶️

Click to play video

Large file - may take a moment to load

💡 Watch the demonstration, then follow along with your MyoWare sensor

Select Workout

Workout 1 of 14

Chair & Arm Swings

Builds rhythm and coordination with seated marching and arm movements

Duration: 4:00
MyoWare Recommended

Track arm swing intensity and rhythm consistency

Place on upper arm (bicep) to monitor arm movement patterns

All Workouts
1/14
💡

MyoWare 2.0 Sensor Guidance

Green workouts are perfect for MyoWare monitoring - they involve arm movements that the sensor can track effectively.

Orange workouts focus on other body parts (legs, neck, balance) where MyoWare won't provide useful data.

Sensor placement: For arm-focused workouts, place the MyoWare sensor on your upper arm (bicep) for best results.

Waiting for MyoWare Device...

MyoWare 2.0 Wireless Connection

Disconnected

Setup Instructions:

  1. 1. Upload the MyoWare client code to your Arduino
  2. 2. Connect MyoWare 2.0 sensor to analog pin A0
  3. 3. Attach MyoWare Wireless Shield
  4. 4. Power on the Arduino and wait for Bluetooth pairing
  5. 5. Click "Connect" above to establish WebSocket connection

Device Connection Help

• Power on the MyoWare device

• Ensure it is connected to the same WiFi network

• The device must POST to /api/emg/ws with type "heartbeat" and "emg_data"

Expected Device URL:

http://localhost:3000/api/emg/ws

💡 No Arduino Changes Needed!

Use the standalone EMG server that runs on port 3001 (where your Arduino already sends data):

npm run emg-server

The server will forward data to Next.js automatically. See MYOWARE_CONNECTION_SETUP.md for details.

Troubleshooting Steps:

  1. Start the EMG server: npm run emg-server
  2. Check device is powered on
  3. Verify WiFi SSID matches your network
  4. Check Serial Monitor for connection errors
  5. Ensure device sends "heartbeat" every 5 seconds

Required Data Format:

{
  "type": "emg_data",
  "timestamp": 1234567890,
  "muscleActivity": 512,
  "muscleActivityProcessed": 50.0
}

EMG Data Visualization

🔌

No MyoWare Device Connected

Connect your MyoWare 2.0 device to start monitoring muscle activity

⚠️ Troubleshooting Steps:

1. Start the EMG Server: Open a new terminal and run:

npm run emg-server

2. Or start both servers together:

npm run dev:all

3. Make sure your MyoWare device is:

  • Powered on
  • Connected to WiFi
  • Configured to send data to http://localhost:3001/api/emg/ws

4. Check the browser console (F12) for connection status messages

Workout Instructions

  • 1Sit tall with good posture
  • 2March in place while seated
  • 3Swing arms naturally with marching
  • 4Add gentle arm circles forward
  • 5Switch to backward arm circles
  • 6Keep rhythm steady and comfortable

💡 Use arrow keys to navigate between workouts, Enter to start, or click the buttons above.