https://github.com/trflorian/sphero_mini_win
Sphero mini python project with support for windows 10
https://github.com/trflorian/sphero_mini_win
bleak bluetooth-low-energy python robots sphero sphero-ble sphero-mini windows windows-10
Last synced: about 1 year ago
JSON representation
Sphero mini python project with support for windows 10
- Host: GitHub
- URL: https://github.com/trflorian/sphero_mini_win
- Owner: trflorian
- Created: 2020-12-28T10:23:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T20:42:37.000Z (over 5 years ago)
- Last Synced: 2025-03-24T17:55:24.789Z (over 1 year ago)
- Topics: bleak, bluetooth-low-energy, python, robots, sphero, sphero-ble, sphero-mini, windows, windows-10
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sphero Mini
This project allows you to control the sphero mini using python with Bluetooth Low Energy on Windows 10 and theoretically also on macOS and Linux.
## Product page
https://sphero.com/products/sphero-mini
## Similair repositories for Sphero Mini
https://github.com/MProx/Sphero_mini
# Dependencies
This project uses ```bleak``` as bluetooth python library instead of the more common ```bluepy``` as it only works on Linux, not on Windows/macOS.
Also ```asyncio``` for asyncronous programming, so the syntax looks a lot like tha java script in the Sphero Eduo App.
The project is developed on Windows 10 using Python 3.8.7. The newer Python 3.9 versions don't work as bleak is not compatible with it as of now.
# Installation
1) Clone this repository
2) ```python -m pip install -r requirements.txt```
# Usage
See ```sphere_test.py``` for a basic usage example
# Platforms
- Python 3.9 (not supported)
- Python 3.8.7 (tested)
- Python 3.7 (tested)
- Windows 10 (tested)
- Windows 7 (not supported)
- macOS (not tested)
- Linux (not tested)