Skip to main content

MyoWare OpenBCI Integration (Ganglion Board)

note

THIS HARDWARE VERSION HAS BEEN DEPRECATED AND IS NO LONGER IN PRODUCTION.

MyoWare v1.0 is obsolete and has been pulled from production. The updated version is Myoware v2.0. This doc covers the integration of MyoWare v1.0 with the Cyton board.

Overview

This tutorial will show you how to read EMG data (electrical signals from muscles) using a MyoWare board, an OpenBCI Ganglion board, and the OpenBCI GUI. If you have a Cyton board instead, check out our Cyton board MyoWare integration tutorial!

MyoWare + Ganglion supplies

Materials Needed

  1. MyoWare board
  2. OpenBCI Ganglion board, with power source
  3. Skintact sticky electrodes (for using the MyoWare board)
  4. Soldering iron and materials
  5. Two male-male jumper wires (like these), and three male-female jumper wires (like these)

Note: jumper wires aren't sold on the OpenBCI website, but we used the ones from Adafruit (linked above) for this tutorial

1. Soldering the MyoWare Headers

Solder 5 wires to the MyoWare board as shown below. Solder the male-male wires to the "+" and "-" connects, and the male-female wires to the R, E, and M connects.

MyoWare Board post-soldering

The wires attached to the "+" and "-" connects will be used to supply power to the board. They'll be attached to high voltage and ground outputs on the OpenBCI Ganglion board.

The wires attached to the R, E, and M connects will transmit electrical signals from MyoWare's three electrodes to the OpenBCI Ganglion board. R is the reference electrode, the one attached to the black wire. M is the middle electrode, and E is the end electrode. The E and M electrodes will measure activity across a muscle.

2. Preparing OpenBCI Ganglion Board

Remove the transparent yellow stickers from the four switches on the front of the Ganglion Board.

3. Wiring the MyoWare Board to the OpenBCI Ganglion Board

Connect the 5 wires from the MyoWare board in step 1 to the Ganglion board, as shown below:

Board with Headers

The "+" and "-" from the MyoWare board should go to the DVDD and GNDA connects on the left side of the Ganglion board. R, E, and M will connect to the pins at the top.

The wires should be connected like this:

MyoWare BoardOpenBCI Ganglion Board
+DVDD
-GNDA
RD_G (top pin)
E1- (bottom pin)
M1+ (top pin)

R, "+", and "-" must always go to the pins shown above. E and M can also be connected to 2+ and 2- (the top and bottom "2" pins), or 3+ and 3-, or 4+ and 4-.

When you have everything wired up, set the power switch on the MyoWare board to "on". Turn on the OpenBCI Ganglion board, turn on your computer's Bluetooth feature, and start the OpenBCI GUI software. If you're new to using a Ganglion board with your computer, take a look at the Ganglion Getting Started Guide.

4. Streaming EMG Data with the OpenBCI GUI

Attach three Skintact electrodes to the three electrodes on the MyoWare board, and then stick the board on a muscle you'd like to monitor. The Adafruit MyoWare tutorial has good guidelines for MyoWare board placement: (https:).

You'll be able to see signals from the MyoWare electrodes in the OpenBCI GUI. If you connected E and M to the 1- and 1+ pins on the OpenBCI Ganglion board, then the MyoWare data will appear in channel 1.

Here's what the GUI, and channel 1, will look like with the muscle at rest:

Resting

And here's what channel 1 will look like after flexing the muscle:

Firing

5. Using OpenBCI's EMG GUI Widget

The OpenBCI GUI also has a widget for visualizing EMG data. To view it, click on the drop down menu under "FFT Plot", and select "EMG" instead:

Ganglion EMG Before Flex

Each circle and box represents a channel. The circle and box fill up as the intensity of the signal on that channel increases.

Here's what happens to the GUI when a muscle is flexed:

Ganglion EMG After Flex

You can use this change in signal intensity to trigger analog or digital events from within the GUI as you like. Check out the W_EMG.pde file for more information on the EMG widget.

Still have questions? Post on our Forum or let us know at contact@openbci.com!