LED Myo Gestures #VT22

by jlaiti in Circuits > LEDs

519 Views, 1 Favorites, 0 Comments

LED Myo Gestures #VT22

image12.jpg

Controlling a sign of your choice with simple changes in arm movements using the Myo arm-band. With an idea of circuit building and arduino software, we will teach you how to display LED lights and control their function using the Myo.

Required Materials

In order to complete this project, the following material are needed:

  1. A Myo Arm-Band
  2. An Arduino Uno
  3. The Arduino Sketch software
  4. Windows PC computer
  5. 4x LED lights for desired display
  6. A standard breadboard
  7. 4x resistors greater than 330 ohm
  8. 14 Jumper Wires
  9. MyoDuino project downloaded

Import Sample Library

image4.png

This step in the process requires the user to have extracted the MyoDuino project files which allow the bluetooth signal of the classified hand gesture to be read by the Arduino.

  1. Open up the Arduino software
  2. Save the “MyoControl” folder within MyoDuino as a .zip file
  3. Go to Sketch, Include Library…, Add .ZIP Library…
  4. Add the MyoDuino/Arduino/MyoController folder as a library

Opening a Project

image5.png

Use this library to import sample projects that you can edit by clicking:

  1. File, Examples, MyoController, Examples, SimpleOutputFromPoses

Circuit Design

image3.png
image10.png
image8.png
image1.png

The circuit construction is crucial to this project design. Pins 4-8 correspond to each hand pose as directed in the Arduino code (fist, wave in, wave out, fingers spread, and double tap).

  1. Use a jumper wire to connect the 5V power output on the arduino to the positive section of the breadboard
  2. Use another jumper wire to connect the ground output to into the negative section of the breadboard
  3. Place the first resistor from the negative section of the breadboard horizontally on the main section
  4. Attach the ground cable from the LED light to a horizontal pin on the breadboard next to the resistor. The ground cable determines the color your LED light will show. The insulation color corresponds to the light color.
  5. Attach the input voltage cable from the LED light to a pin vertical from the last step
  6. Attach the last jumper wire from a pin horizontally to the last step to a pin 4-8 on the arduino.
  7. Repeat step 3-6 for your desired amount of LED lights. Please refer to Figure 1 below for circuit setup.
  8. The LED strip lights are connected to the breadboard using alligator clips. Refer to Figure 2 for an example of the connection.
  9. Plug in the Arduino Uno to a PC

Connect & Upload Arduino

image6.png
  1. Plug the arduino into your computer and navigate to Tools.., Port in the Arduino software to select the port associated with the Arduino (Likely COM3)
  2. Verify and Upload your code

MyoDuino

image14.png
image13.png
image9.png

Setting up the Myo armband

  1. Connected your M PC via bluetooth using the provided USB Bluetooth Adapter

  2. Launch MyoDuino.exe

  3. Calibrate the Myo and turn on “Presentation Mode” to be able to see what gesture it is identifying

  4. While wearing the Myo go to MyoDuino/bin/

  5. Set COM port to the one your Arduino is on

  6. To find this go to Tools>Port in Arduino sketch software

  7. Turn off locking by unchecking the box

  8. If done correctly, the window will recognize what gesture you are completing and what hand the Myo is on

Project Display

Biofeedback Project

You have reached the fun part! Display your LEDs as desired and start making hand gestures. For this project, we are lighting up parts of a VT22 sign depending on the gesture made. Our final display is shown in the video above!