Skip to content

Using gestures to control a device such as a Robot, game or Lego Mind storms. There are numerous devices that are gesture based that can be used for this project.

License

Notifications You must be signed in to change notification settings

sarabDevOps/Gesture-UI-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture UI

As part of the Gesture based module we are required to complete a gesture based project. Using gestures to control a device such as a Robot, game or Lego Mindstorms. There are numerous devices that are gesture based that can be used for this project. The Myo Armband is a device that sits over your forearm and reads the electrical activity produced by skeletal muscles using EMG (electromyographic) sensors. The Kinect is a device with an RGB camera with depth sensor and infrared projector with a monochrome CMOS sensor which sees the environment not as a flat image, but as dots arranged in a 3D environment. Cortana is an intelligent personal assistant that responds to voice commands. The Leap Motion consists of two cameras and three infrared LEDs. This tracks infrared light to capture the position of the hand.
For our gesture based project we are going to use the Myo Armband to control a Robot Tank RP5. This is an Arduino based project that uses the MyoDuino library to communicate between the Myo Armband and the Arduino UNO, the Arduino UNO communicates with the Adafruit Motorshield to control the motors of the robot tank.

alt tag

Getting Started

Download and extract the zip folder here GestureUI

Prerequisites

Tank RP5 Chassis (SKU:ROB0007) - Website here
Arduino UNO - Website here
Adafruit Motor Shield V2.3 - Website here
Myo Armband - Website here
MyoDuino Project - Website here
Arduino IDE - Website here

Installing

Step 1. For software/hardware see Prerequisites. For versions of Prerequisites used in this project see Built With section.
Step 2. Import the myoDuino Project library into your Arduino IDE - Follow steps as laid out in MyoDuino Project pdf.
Step 3. Attach Adafruit Motor Shield board to Arduino UNO board - Follow steps as laid out in video tutorial
Step 4. The Tank RP5 Chassis comes ready to go with two DC motors built into frame. Video link shows how to connect the motors to the Adafruit Motor Shild DC motor connections M1, M2, M3, M4. Connect each motor to one of these connections.
Step 5. Connect the power cable to the Adafruit Motor Shield board. The connections says power on the board with a plus and minus either side.
Step 6. Run the Arduino IDE and save the file in your project folder along with the myo32.dll and the MyoDuino.exe. You will find the myo32.dll and the MyoDuino.exe in the bin folder of the MyoDuino Project.
Step 7. Copy and paste code from code.ino file in code folder.

Deployment

Step 1. Set up Myo Armaband - See Myo Suport for setting up the Myo on your device.
Step 2. Connect the Tank RP5 Chassis with an A male to B male cable. Connect the A male side of the cable to your laptop device and the B male side of the cable to the Arduino UNO Barrel Jack on the Tank RP5 Chassis.
Step 3. Run the MyoDuino.exe and select the correct port and press connect - See the MyoDuino pdf.

Built With

Tank RP5 Chassis (SKU:ROB0007) - Hardware
Arduino UNO - Hardware
Adafruit Motor Shield V2.3 - Hardware
Myo Armband, Gesture Control Armband - Hardware
MyoDuino Project - Software
Arduino IDE V1.8 - Software

Author

Sarabjeet

License

This project is licensed under the MIT License

About

Using gestures to control a device such as a Robot, game or Lego Mind storms. There are numerous devices that are gesture based that can be used for this project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages