kaspersmicrobit
bleak
kaspersmicrobit | bleak | |
---|---|---|
3 | 10 | |
10 | 1,540 | |
- | - | |
7.9 | 7.6 | |
about 1 month ago | 7 days ago | |
Python | Python | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kaspersmicrobit
-
Help!
If you are looking for a python library for connecting to the microbit Bluetooth services that works on windows too: I created kaspersmicrobit to make this a bit easier
-
Can you code microbit with python wirelessly?
See https://kaspersmicrobit.readthedocs.io/en/stable/ for detailed steps on how to enable bluetooth, how to pair, and example code (like this https://kaspersmicrobit.readthedocs.io/en/stable/led/ ) BTW I am the author of this python package.
-
Connect to the Bluetooth GATT services of your micro:bit from your computer using Python
Hi All👋, I created a Python package to make it easier to connect to the Bluetooth services of a micro:bit: https://github.com/janickr/kaspersmicrobit. For example you can use a BBC micro:bit as a wireless controller for your own Python games by listening for button presses or accelerometer values. Watch a demo video here: https://www.youtube.com/watch?v=t3JARVPQE9Q
bleak
-
bleak VS SimpleBLE - a user suggested alternative
2 projects | 3 Jul 2023
-
Sending data from Windows PC to microcontroller using BLE
I've used Bleak in Python https://github.com/hbldh/bleak to connect to BLE devices from my laptop using the built-in card. I can iterate over services/characteristics, transmit stuff, use indicates, etc.
-
Reading Data from an Arduino BLE using Raspberry Pi
On the Raspberry Pi I recommend the Python library Bleak. It has some examples, such as the sensortag.py example that shows how to read characteristics, and the enable_notifications.py example that shows how to subscribe to notifications to read data from a characteristic.
-
Automating Testing for BLE Devices
We’ve automated testing on our BLE device. Our rig is based on a Raspberry pi configured with a Gitlab-runner that runs a test suite written in Python. We use a library called Bleak: https://github.com/hbldh/bleak
-
Raspberry Pi, meet Arduino. Arduino, meet Raspberry Pi. Let’s talk Bluetooth (LE)
There are quite a few good BLE helper libraries out there that can make my job easier. But not all are created equal, some may be perfect for building peripheral BLE applications but may not be the best for central BLE applications. As I am going to make the Raspberry Pi the client, Bleak is a great one to use. Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers. It is designed to provide a asynchronous, cross-platform Python API to connect and communicate with other BLE devices e.g. sensors.
-
Bluetooth package that works with MacOS Monterey
There is a workaround in here although they claim this is fixed in most recent update: https://github.com/hbldh/bleak/issues/720
-
ESP32 Python BLE example
If your Python script on your computer should work as the GATT client and your code on the ESP32 as the GATT server, Bleak is an easy-to-use Python library. Have a look at the code examples.
- hbldh/bleak: BLE platform-Agnostic Klient (for Python)
- Bluetooth Low Energy Platform Agnostic Klient for Python
What are some alternatives?
batmon-ha - Add-on for Home Assistant to connect JK, JBD, Daly, ANT, SOK and Supervolt BMS via Bluetooth
gatt-python - Bluetooth GATT SDK for Python
MicroPython-micro-bit_Talking_TextaBot - This is a FUN talking TextaBot for the official BBC micro:bit V2 where you get to build your VERY OWN TALKING TEXTABOT FROM SCRATCH!
raspberry-pi-home-automation - Code examples, errata and additional tips and references to interesting projects for the book "Control Your Home with Raspberry Pi: Secure, Modular, Open-Source and Self-Sufficient"
victron - Victron bluetooth and serial communication at a python script. With MQTT and HomeAssistant support.
pc-ble-driver-py - Python bindings for the ble-driver library
blatann - Python BLE library for using Nordic nRF52 with Connectivity firmware
noble - A Node.js BLE (Bluetooth Low Energy) central module : Community maintained
micropython-lib - Core Python libraries ported to MicroPython
python-keyboard - A hand-wired USB & Bluetooth keyboard powered by Python and more
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
CoinTex - A cross-platform multi-level game created in Python using Kivy.