CircuitPython BLE Libraries on Any Computer
CircuitPython BLE Libraries on Any Computer
Created by Dan Halbert
Last updated on 2024-06-03 03:12:48 PM EDT
?Adafruit Industries
Page 1 of 19
Table of Contents
Overview
3
? Bluetooth Capable Devices from Adafruit ? Some Adafruit Microcontrollers with Bluetooth
Install Python on Your Host Computer
5
? You Need Python 3 and pip3 ? Windows 10 ? Starting Python 3 on Windows ? macOS ? Linux ? Raspberry Pi OS ? Do Not Use sudo When Running pip3
Install BLE Libraries
8
? Linux and Raspberry Pi: Add User to bluetooth Group ? Raspberry Pi 3B+ and 4B Firmware Fix
Pulse Oximeter, Heart Rate Monitor, and BBQ Thermometer
9
? Pulse Oximeter ? Heart Rate Monitor ? iBBQ Thermometer
BLE UART
14
? BLE UART Python eval() Example
Troubleshooting
17
? Reset Bluetooth ? Windows ? macOS ? Linux and Raspberry Pi
?Adafruit Industries
Page 2 of 19
Overview
Adafruit CircuitPython supports using Bluetooth Low Energy (BLE) to communicate wirelessly with BLE devices, phones, tablets, and with other CircuitPython boards. Adafruit provides many libraries to make this easy and to support specific devices.
Now you can use those same libraries (or write your own) on any host computer-Windows, Mac, or Linux--that has BLE hardware. Most modern computers, especially laptops, already have Bluetooth hardware built in. If not, you can plug in a USB adapter such as Adafruit's Bluetooth 4.0 USB Module ().
The Adafruit Blinka bleio library () makes this possible. It is a regular Python library that runs on desktop Python, not on CircuitPython boards. It reimplements the _bleio module that is part of CircuitPython: all our BLE libraries are ultimately based on _bleio .
The Blinka bleio library only supports acting in a BLE central role. You can connect to peripheral devices, such as heart rate monitors, pulse oximeters, bicycle sensors, etc., but you cannot act as a peripheral yourself with this code.
The Blinka bleio library is part of the family of "Blinka" libraries that run under regular Python and implement CircuitPython functionality, including Blinka and Blinka displayio.
This guide will explain how to get Python set up on your host computer, how to install the Blinka bleio library, and then give some examples of how to use it.
?Adafruit Industries
Page 3 of 19
Bluetooth Capable Devices from Adafruit
Finger Pulse Oximeter with Bluetooth LE Discontinued - you can grab the Finger Pulse Oximeter - BM1000 instead! This Finger Pulse...
Bluetooth 4.0 USB Module (v2.1 BackCompatible) Add Bluetooth capability to your computer super fast with a USB BT 4.0 adapter. This adapter is backwards compatible with v2.1 and earlier, but also supports the latest v4.0/Bluetooth...
Some Adafruit Microcontrollers with Bluetooth
Adafruit CLUE - nRF52840 Express with Bluetooth LE Do you feel like you just don't have a CLUE? Well, we can help with that - get a CLUE here at Adafruit by picking up this sensor-packed development board. We wanted to build some...
?Adafruit Industries
Page 4 of 19
Circuit Playground Bluefruit - Bluetooth Low Energy Circuit Playground Bluefruit is our third board in the Circuit Playground series, another step towards a perfect introduction to electronics and programming. We've...
Adafruit Feather nRF52840 Express The Adafruit Feather nRF52840 Express is the new Feather family member with Bluetooth Low Energy and native USB support featuring the nRF52840! It's...
Adafruit Feather nRF52840 Sense The Adafruit Feather Bluefruit Sense takes our popular Feather nRF52840 Express and adds a smorgasbord of sensors...
Install Python on Your Host Computer
You Need Python 3 and pip3
To run CircuitPython BLE libraries on a host computer, you'll need at least Python 3.9, and you'll need the pip3 program to install the libraries. You may have pip already, but often the pip (not pip3) command installs software for Python 2, so make sure you are using pip3 .
?Adafruit Industries
Page 5 of 19
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- install mod wsgi on ubuntu with python 3 6 apache 2 4
- ubuntu server for ibm z and linuxone canonical
- packet sniffing and spoofing lab seed project
- circuitpython ble libraries on any computer
- how to code in python 3 digitalocean
- ns 3 installation on ubuntu 20 04 and wsl 2
- intel distribution for python 2021 release 4
- ubuntu server guide
Related searches
- calculator on my computer disappeared
- games to download on your computer free
- games on the computer free
- clean my storage on my computer free
- all programs on this computer windows 7
- programs on this computer c drive
- spy on any cell phone free
- passwords saved on my computer windows 10
- sing karaoke on your computer for free
- watch tv on my computer for free
- find clipboard on this computer windows 10
- coloring on the computer for free