
Once 'Standard Muscle Control Mode' (M1) is enabled, the hand processes the ADC value of each EMG channel. #define NUM_EMG_CHANNELS 2 // select the number of EMG channels to use (1 or 2) Standard Muscle Control Mode (M1) If you are using a single MyoWare sensor board, you will need to change the number of EMG channels by navigating to ' EMGControl.h' and changing the following on line 22.
#MUSCLEMATICS VS IMUSCLE 2 SERIAL#
These modes can be enabled by entering the serial command 'M1' or 'M2' respectively, and will stay enabled until they are disabled by entering the serial command 'M0'. There are two main control methods for controlling the hand using the EMG sensors, 'Standard Muscle Control' mode and ' Positional Muscle Control' mode.

The above EMG sensors detect the activation levels of each muscle, and then feed the activation level (analogue signal) into the ADC of the Chestnut board, via the headphone jack. The B eetroot Firmware allows the Brunel hand to be controlled via muscle signals. (If you are only using a single MyoWare board, you will only see 'Ch0: 16' ) You should now see a the ADC values relating to the EMG signal from each MyoWare board being printed over the serial monitor, for example: Ch0: 16 Ch1: 23 Open the Serial Monitor (Tools -> Serial Monitor) and set the baud rate to 38400 bps Connect the MyoWare board by plugging the 4-pole headphone connector into the Chestnut boardħ.

Compile and upload the sketch to the Chestnut board ( make sure you have installed the Chestnut board, see step 4 of the README)Ħ. Power the Chestnut board and connect it to the computerĥ. If you are using a single MyoWare sensor board, you will need to change the number of EMG channels on line 17 to '1' #define NUM_EMG_CHANNELS 2 // 1 or 2Ĥ.
#MUSCLEMATICS VS IMUSCLE 2 SKIN#
To verify the MyoWare sensors are wired and connected to the skin correctly, you will need to download and run the following Arduino sketch.ģ. WARNING, THE MYOWARE SENSORS ARE NOT ISOLATED. BEFORE ATTACHING THE ELECTRODES, BE SURE TO READ THROUGH THE MYOWARE DATASHEET Uploading the test firmware WARNING, THE MYOWARE SENSORS ARE NOT ISOLATED. BEFORE ATTACHING THE ELECTRODES, BE SURE TO READ THROUGH THE MYOWARE DATASHEET 1 x MyoWare Muscle Sensors (this tutorial covers both single and dual muscle control).

If you are using 2 MyoWare sensors for dual muscle control, you will also need: 1 x 4 Pole 3.5mm headphone jack ( IMPORTANT, must be 4 Pole).1 or 2 x MyoWare Muscle Sensors (this tutorial covers both single and dual muscle control).Small flat-head screwdriver (for adjusting the sensor gain).Computer running Arduino IDE, with the Chestnut PCB installed ( Step 4 of the README).This tutorial will guide you through the process of using Electromyography (EMG) muscle sensors to control the Brunel hand.
