Muscle BioAmp Shield#
v0.3
Overview#
Muscle BioAmp Shield is an all-in-one Arduino Uno ElectroMyography (EMG) shield for learning neuroscience with ease which is inspired from BackYard Brains (BYB) Muscle Spiker shield and provides similar features like hobby servo output, user buttons, LED Bar, Audio output, and battery input. It is perfect for beginners as they can easily stack it on top of Arduino Uno to record, visualize and listen to their muscle signals to make amazing projects in the domain of Human-Computer Interface (HCI).
Features & Specifications#
Muscle BioAmp Shield comes with various plug-and-play options so you can connect hundreds of extension boards like OLED screens, character displays, accelerometers, and servo controllers to name just a few using the STEMMA I2C interface. You also get STEMMA digital and STEMMA analog ports. On STEMMA analog port you can connect additional BioAmp EXG Pill or any other sensor with analog output. On STEMMA digital port you can connect any digital sensor or actuator of your choice.
Input Voltage |
5V |
Input Impedance |
10^11 ohm |
Fixed Gain |
x2420 |
Bandpass filter |
72 – 720 Hz |
Compatible Hardware |
Arduino UNO |
BioPotentials |
EMG (Electromyography) |
No. of channels |
1 |
Electrodes |
3 (Positive, Negative, and Reference) |
Dimensions |
6.0 x 5.3 cm |
Open Source |
Hardware + Software |
Hardware#
Images below shows a quick overview of the hardware design.
PCB Front
PCB Back
Contents of the kit#
There are 2 variants available for Muscle BioAmp Shield v0.3 kit - one comes with the shield assembled and the other one contains bare PCB of the sensor and the components separately which you can assemble pretty easily.
Click on the link below to see the unboxing of the kit:
Software requirements#
Before you start using the kit, please download Arduino IDE v1.8.19 (legacy IDE). Using this you’ll be able to upload the arduino sketches on your development board and visualise the data on your laptop.
Assembling the Kit#
You can get your own Muscle BioAmp Shield bag of parts from our online stores (shipping worldwide) and for assembling your shield you can take a look at this interactive BOM or the step by step guide below.
Note
Follow the highlighted yellow shapes to assemble your shield!
Still can’t figure out the assembly? You can follow the video provided below to assemble your Shield.
Using the Sensor#
Step 1: Stack on Arduino Uno#
Stack the Muscle BioAmp Shield on top of Arduino Uno properly.
Step 2: Connecting Electrode Cable#
Connect the BioAmp Cable to Muscle BioAmp Shield as shown.
Step 3: Skin Preparation#
Apply Nuprep Skin Preparation Gel on the skin surface where electrodes would be placed to remove dead skin cells and clean the skin from dirt. After rubbing the skin surface thoroughly, clean it with an alcohol wipe or a wet wipe.
For more information, please check out detailed step by step Skin Preparation Guide.
Step 4: Electrode Placements#
We have 2 options to measure the EMG signals, either using the gel electrodes or using dry electrode based Muscle BioAmp Band. You can try both of them one by one.
Using gel electrodes#
Connect the BioAmp cable to gel electrodes,
Peel the plastic backing from electrodes
Place the IN+ and IN- cables on the arm near the ulnar nerve & REF (reference) at the back of your hand as shown in the connection diagram.
Using Muscle BioAmp Band#
Connect the BioAmp cable to Muscle BioAmp Band in a way such that IN+ and IN- are placed on the arm near the ulnar nerve & REF (reference) on the far side of the band.
Now put a small drop of electrode gel between the skin and metallic part of BioAmp cable to get the best results.
Tip
Visit the complete documentation on how to assemble and use the BioAmp Bands or follow the youtube video given below.
Tutorial on how to use the band:
Note
In this demonstration we are recording EMG signals from the ulnar nerve, but you can record EMG from other areas as well (biceps, triceps, legs, jaw etc) as per your project requirements. Just make sure to place the IN+, IN- electrodes on the targeted muscle and REF on a bony part.
Step 5: Connect Arduino UNO to your laptop#
Connect your Arduino UNO R3 to your laptop using the USB cable (Type A to Type B).
Warning
Make sure your laptop is not connected to a charger and sit 5m away from any AC appliances for best signal acquisition.
Step 6: Visualise EMG signals on laptop#
Copy paste any one of the arduino sketches given below in Arduino IDE v1.8.19 that you downloaded earlier:
Go to tools
from the menu bar, select board
option then select Arduino UNO. In the same menu,
select the COM port on which your Arduino Uno is connected. To find out the right COM port,
disconnect your board and reopen the menu. The entry that disappears should be the
right COM port. Now upload the code, & open the serial plotter from the tools
menu to visualize
the EMG signals.
After opening the serial plotter make sure to select the baud rate to 115200.
Now flex your arm to visualize the muscle signals in real time on your laptop.
Step 7: Visualise EMG signals on LEDs#
Copy paste the Arduino Sketch given below in Arduino IDE:
Make sure you have selected the right board and COM port. Now upload the code, and flex your arm. You’ll see the LED bar going up. More strength you apply, more the LED bar goes up.
Step 8: Listen to your EMG signals#
You can either listen to the muscle signals (EMG) on a speaker or wired earphones/headphones. Let’s try both of them.
Listening EMG on speakers#
Connect the BioAmp AUX cable on a bluetooth speaker that have 3.5mm jack support.
Switch on the speaker and turn the volume to maximum.
Flex and listen to your muscles.
Listening EMG on a wired earphones/headphones#
Plug your wired earphones or headphones on the 3.5mm jack of BioAmp v1.5.
Plug it in your ears.
Flex and listen to your muscles.
Step 9: Controlling a servo motor#
Connect the servo claw to Muscle BioAmp Shield.
Copy paste the Arduino Sketch given below in Arduino IDE:
Make sure you have selected the right board and COM port. Now upload the code, and flex your arm to control the servo claw in real time.
Step 10: Controlling a servo claw#
Connect the servo claw to Muscle BioAmp Shield.
Copy paste the Arduino Sketch given below in Arduino IDE:
Make sure you have selected the right board and COM port. Now upload the code, and flex your arm to control the servo claw in real time.
Step 11: Connecting 9V battery#
Till now, the power for the EMG system was coming from the laptop via USB cable of Arduino Uno but there can be 2 ways in which you can make the system portable:
Using 9V battery: Directly connect a 9V battery to Muscle BioAmp Shield using a 9V snap cable.
Using Power Bank: Instead of connecting the USB cable of Arduino Uno to laptop, you can directly connect it to power bank.
Note
Do not use 9V battery while controlling a servo claw using Muscle BioAmp Shield. Instead connect the Arduino UNO to a power bank or directly to your laptop.
Step 12: Other functionalities you can explore#
Using I2C ports#
There are 2 I2C ports available on Muscle BioAmp Shield and you can connect hundreds of devices having I2C compatibility using the 4-pin JST PH 2.0 mm STEMMA cables provided.
Some of the examples are: OLED screens
, character displays
, temperature sensors
, accelerometers
, gyroscopes
, light sensors
, BioAmp Hardware
, etc.
Using STEMMA Digital port#
Connect Arduino Uno’s D6 digital I/O pins using STEMMA digital connectors.
Using STEMMA Analog port#
Connect Arduino Uno’s A2 analog input pins using STEMMA analog connectors.