Start here
Start here
Use Demo Sensor for a quick test, or connect your own Arduino in Chrome.
Set up Arduino
Connect the sensor
Wire the sensor to Arduino. Use A0 for signal and D2 for detect.
Copy the Arduino code
Paste it into Arduino IDE. Keep baud rate at 115200.
Upload it in Arduino IDE
Select your board and port, then upload the code.
Close Serial Monitor
MyoPatch needs the serial port. Close other serial tools first.
Use MyoPatch
Open MyoPatch in Chrome
Chrome or Edge is needed for real sensor access.
Choose a device
Use Demo Sensor for a test, or choose your Arduino device.
Connect and keep still
Stay relaxed while MyoPatch sets your baseline.
Start training
Run training when the baseline is ready.
Arduino code
Baud 115200. Output: raw, filtered, envelope, detect.
/*
MyoPatch Arduino sensor output
Baud rate: 115200
Sample rate: 500 Hz
Output format:
raw,filtered,envelope,detect
*/
#include "CheezsEMG.h"
#define SAMPLE_RATE 500
#define BAUD_RATE 115200
#define INPUT_PIN A0
#define DETECT_PIN 2
CheezsEMG sEMG(INPUT_PIN, DETECT_PIN, SAMPLE_RATE);
void setup() {
Serial.begin(BAUD_RATE);
sEMG.begin();
}
void loop() {
if (sEMG.checkSampleInterval()) {
sEMG.processSignal();
Serial.println(
String(sEMG.getRawSignal()) + "," +
String(sEMG.getFilteredSignal()) + "," +
String(sEMG.getEnvelopeSignal()) + "," +
String(sEMG.getDetectSignal())
);
}
}
Real-time signal
Last 60 seconds by default. Red marks high left-right risk.
Left filteredLeft envelopeRight filteredRight envelope
Waiting for data
Connect a device or Demo Sensor to see the signal.
Training State
Baseline
Baseline
Collecting
Keep still while MyoPatch sets your baseline.
Left-right balance
N/A
Compares left and right signal levels.
Dual offFatigue
--
Tracks signal drop over time.
NormalDevice
Not selected
Choose a device, then connect.
Latest Frame
Waiting
Test records
Stored only in this page session. Export saves a local JSON file.
Reset after a test to create the first record.