Go Down

Topic: MyoBridge - Direct Myo <-> Ardiuno Communication  (Read 234 times) previous topic - next topic

vroland

Hello,

This library uses the Myo Gesture Control Armband (https://www.myo.com/) and is a way to use it with Arduino. This post will not explain what the Myo Armband is, because it targets people who already own or going to buy the hardware and want to use it for Arduino.

As many others, I wondered if I can use a Myo for an Arduino project. Unfortunately, all BLE shields out there where either incompatible or did not provide the necessary firmware functions. Because we want to use the Myo in a research project for devolping helpful devices for disabled people, I started to write a custom firmware for this, together with a high-level, easy to use library for Arduino, called MyoBridge.
The concept is simple: Flash a Bluetooth module with custom firmware, connect it to the arduino with a simple two-wire serial connection and pack all complicated protocoll stuff in one library for arduino. The Bluetooth module used is the HM-11 Bluetooth Low Energy module. It uses the CC2541 BLE SoC by Texas Instruments, so this project is probably adaptable for other BLE devices with similar hardware.

Currently the library provides support for:
  • Reading Firmware Info
  • Reading IMU Data
  • Reading EMG Data
  • Receiving Classifier Updates
  • Receiving IMU Motion Event Updates
  • Enable/Disable all Messages
  • Enable/Disable Sleeping
  • Lock/Unlock
  • And some more, which are not yet that simple to use.


As this library is still under heavy development, I would really appreciate feedback of any kind. If you have any Questions, feel free to ask. The Project with documentation and source code is available on GitHub:


https://github.com/vroland/MyoBridge

To test this, you will at least need a HM-11 or HM-10 module with a CC2541 (probably easily compilable for CC2540, too) and a CC Debugger to flash the firmware. Maybe you can use an Arduino instead of the CC Debugger, I have heard about something like that, but I have not tested yet.

Hope this is helpful and we can help each other.

regards,

valentinrol

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy