Giter Site home page Giter Site logo

freemyo.py's Introduction

FreeMyo.py

BLE Bleak-based Async Python interface to the Myo Armband that doesn't require a dongle or the MyoConnect software. This has been primarily designed for macOS and its UUID-based BLE connections.

Based on specs from Thalmic Labs: https://github.com/thalmiclabs/myo-bluetooth and work done by PerlinWarp on pyomyo here: https://github.com/PerlinWarp/pyomyo and also Open-Myo: https://github.com/Alvipe/Open-Myo

This is a work in progress.


Screenshots

myo_gui.py


Requirements

  • Python 3.10 (due to the use of the match expression)
  • Bleak
  • DearPyGui

Instructions

  1. Open myo_config.yaml and change the device_uuid value to the value of your Myo's UUID
  2. Run the following: python3 myo_gui.py

Troubleshooting

  • If you're not sure about the Device UUID, download an app like BlueSee or Lightblue and do a scan. It'll come up under the name Myo and you can just copy the Device ID from there.
  • If you're sure you have the correct UUID and the Myo still isn't connecting, try draining the battery. I don't know if it keeps any information about previous pairings, but it will drop that info when the battery is drained enough. Personally I noticed when the battery got down to 2 or 3%, I was able to connect and didn't have any issues after that.

Future Upgrades

  • Write EMG data to a local database
  • Select between multiple Myo's
  • IMU data

freemyo.py's People

Contributors

jshahbazi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dviros

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.