Skip to content

Myo Armband controlling Lego Mindstorm EV3 RAC3 TRUCK with hand gestures

License

Notifications You must be signed in to change notification settings

matoushavlena/myo-truck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myo-truck

Myo Armband controlling Lego Mindstorm EV3 RAC3 TRUCK with hand gestures.

Video

Myo Armband controlling Lego Mindstorm EV3 RAC3 TRUCK by hand gestures

How to build the robot

You can follow the official building instructions for EV3 RAC3 TRUCK on lego site. Then you need to install lejOS on your EV3. It's quite simple and you will find all necesarry information and files here. I recommend you to download EV3 Eclipse plugin, which makes it very convenient to control your EV3 from Eclipse environment. Also, if you have the possibility to get NETGEAR Wifi Dongle for your EV3, it will allow you to connect to your EV3 wirelessly. Otherwise you can use Bluetooth or USB connection.

Run the program

There are two classes in the project. You need to run the MyoTruck.

  • MyoTruck - Main class that handles connection to Myo, EV3 and does the main execution.
  • MyoDataCollector - This class collects orientation data and listens to gestures from your Myo.

I have also included myo-java library files within the source code, so you don't have to include it.

Control Gestures

  • Raise your hand -> speed increase
  • Lower your hand -> speed decrease/switch to reverse gear
  • Fist Fist pose -> put the truck into sleep (stop moving)
  • Spread Fingers spread pose -> wake the truck up from sleep
  • Unlock Thumb to pinky pose -> close the program

Used Hardware

  • Myo Armband (Developer Kit) - more info
  • Lego Mindstorms EV3

Software Dependencies

Architecture Diagram

Myo Armband controlling Lego Mindstorm EV3 RAC3 TRUCK by hand gestures

The picture above describes the architecture I picked for this project. Although there are other options how to connect Myo to EV3:

  • Through PC, Mac, Android or iOS devices
  • Install Myo drivers directly on EV3 brick with leoJS
  • NodeJS + websockets
  • more...

Supported Platforms

  • Mac, Windows, Linux (possibly Android and iOS, but some modifications would have to be made)

About

Myo Armband controlling Lego Mindstorm EV3 RAC3 TRUCK with hand gestures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published