This library is deprecated in favor of the Adafruit_Blinka_bleio library. See this guide for more information:

So you've got a Bluefruit LE device that's ready to be the next awesome wireless IoT gadget, but how do you actually talk to it from your computer?  The Bluefruit LE Python library is just what you need to write code that reads and writes data with a Bluefruit LE device!  This Python library allows you to write simple code to talk to a Bluefruit LE UART from a Mac OSX computer or Linux machine, like a Raspberry Pi.  This library is great for logging sensor data, controlling your device, and much more through the wireless magic of Bluetooth low energy!

To use this library you'll need to be running a Mac OSX or Linux machine with a Bluetooth 4.0 low energy adapter.  Sorry Windows is not yet supported because Bluetooth low energy support is still a little bit too new to the platform (only the very latest Windows 10 release exposes enough BLE APIs to completely control a device).  In the future Windows support might be added, but for now stick with a Linux machine, like a Raspberry Pi, or a Mac OSX desktop/laptop.

You'll also want to be somewhat familiar with the Python programming language and Bluetooth low energy.  The Hitchhiker's Guide to Python has a great learning python section with links to books and free resources for learning the language.  For Bluetooth low energy be sure to read this excellent intro guide and even consider picking up a book on the topic.

When you're ready continue on to learn about what hardware you'll need to use the Bluefruit LE Python library.

This guide was first published on Aug 18, 2015. It was last updated on Mar 08, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.