A replacement middleware to MyoConnect for Myo Armband
Project description
dl-myo (Dongle-less Myo)
dl-myo is a replacement to MyoConnect for Myo Armband without an official Myo dongle.
If you are fed up with the dongle and still need to use Myo anyway this is the right stuff to grab.
This project is a reimplementation of Dongleless-myo (originally created by @mamo91 and enhanced by @MyrikLD) using Bleak instead of bluepy, and therefore supports asyncio on multiple platforms.
The GATT service naming convention reflects the official BLE specification for Myo (i.e., myohw.h); however, some services and characteristics differ for a uniform naming.
See myo/handle.py
for more detail.
Platform Support
Linux | Raspberry Pi | macOS | Windows |
---|---|---|---|
✅ | ✅ | ✅ | ✅ |
Install
pip install dl-myo
Example
The script scans a Myo device, connect, set LED colors, vibrates, collect EMG/IMU data for a moment, and then read the avaialable services/characteristics from the device.
Any Myo Armband should have the service UUID d5060001-a904-deb9-4748-2c7f4a124842
.
python examples/sample.py
Otherwise, you can also bind to a specific MAC address. For example,
python examples/sample.py --mac D2:3B:85:94:32:8E
Try the example with Docker
docker compose pull
docker compose run --rm dl-myo
Author
@iomz (Iori Mizutani)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dl_myo-0.1.5.tar.gz
.
File metadata
- Download URL: dl_myo-0.1.5.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b5f3003db8169c3adb12c598f9069ccdf3c8ac20b8cf97d4bb1b72d86515ae |
|
MD5 | ca485bd163acfc6bc80bb031b9d0c0ad |
|
BLAKE2b-256 | ff1c5de6aca14f1e87ac3c520691fa042fcf9f89929bab0b77c38c34ee968866 |
File details
Details for the file dl_myo-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: dl_myo-0.1.5-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e6f39f750bcb9f36a846ff873057ca183acfda6cd4d4fd48997af5500c52f6 |
|
MD5 | 0f3817781c728ec9c9a9a301c4ade148 |
|
BLAKE2b-256 | 26b76833d557755bb42325098dcab3f9f16a209d5782aab33f89abd32feab1ed |