Welcome to Upside Down Labs docs site!

Muscle BioAmp Candy#

Overview#

A candy-size single-channel ElectroMyography (EMG) sensor for recording of muscle signals at an affordable cost. It is an SMD version of Muscle BioAmp Biscute that can be used to make amazing Human-Computer Interface (HCI) projects.

../../../_images/Muscle-BioAmp-Candy-front.jpg

Features & Specifications#

Minimum Input Voltage

3.3-30 V

Input Impedance

10^11 ohm

Fixed Gain

x2420

Bandpass filter

72 – 720 Hz

Compatible Hardware

Any development board with an ADC (Arduino UNO & Nano, Adafruit QtPy, STM32 Blue Pill, BeagleBone Black, Raspberry Pi Pico, to name just a few)

BioPotentials

EMG (Electromyography)

No. of channels

1

Electrodes

3 (Positive, Negative, and Reference)

Dimensions

3.5 x 1.5 cm

Open Source

Hardware + Software

Hardware#

Images below shows a quick overview of the hardware design.

PCB Front

../../../_images/PCBfront.png

PCB Back

../../../_images/PCBback.png
../../../_images/muscle-bioamp-candy-front.png

Assembled PCB - Front#

../../../_images/muscle-bioamp-candy-back.png

Assembled PCB - Back#

../../../_images/dimensions1.png

PCB Layout#

../../../_images/schematic1.png

Schematic Diagram#

Contents of the kit#

Contents of the kit

Qty

Muscle BioAmp Candy

1

BioAmp Cable v3

1

Jumper cables (set of 3)

1

Muscle BioAmp Band

1

Boxy gel electrodes

3

../../../_images/kit-contents3.png

Kit contents#

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.

../../../_images/arduino-ide.png

Arduino IDE v1.8.19#

Using the kit#

Step 1: Connect Arduino UNO R3#

Connect VCC to either 5V or 3.3V, GND to GND, and OUT to Analog pin A0 of your Arduino UNO via jumper cables provided by us. If you are connecting OUT to any other analog pin, then you will have to change the INPUT PIN in the example arduino sketch accordingly.

../../../_images/arduino-candy-connection.png

Note

For demonstration purposes we are showing connections of the sensor with Arduino UNO R3 but you can use any other development board or a standalone ADC of your choice.

Warning

Take precautions while connecting to power, if power pins (GND & VCC) are to be swapped, your sensor will be fried and it’ll become unusable (DIE).

Step 2: Connecting electrode cable#

Connect the BioAmp cable to Muscle BioAmp Candy by inserting the cable end in the JST PH connector as shown.

../../../_images/candy-cable-connection.png

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: Measuring EMG (ElectroMyoGraphy)#

Electrodes placement#

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:

  1. Connect the BioAmp cable to gel electrodes,

  2. Peel the plastic backing from electrodes

  3. 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.

../../../_images/candy-emg.png
  • Using Muscle BioAmp Band:

  1. 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.

  2. 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.

Uploading the code#

Connect your Arduino UNO R3 to your laptop using the USB cable (Type A to Type B). Copy paste any one of the arduino sketches given below in Arduino IDE v1.8.19 that you downloaded earlier:

EMG Filter

EMG Envelope

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.

Warning

Make sure your laptop is not connected to a charger and sit 5m away from any AC appliances for best signal acquisition.

Visualizing the EMG signals#

Now flex your arm to visualize the muscle signals in real time on your laptop.

../../../_images/using-candy.png

Video tutorial: