Blue Dot allows you to control your Raspberry Pi projects wirelessly - it’s a Bluetooth remote and zero boiler plate (super simple to use :) Python library.
Created by Martin O’Hanlon (@martinohanlon, stuffaboutco.de).
Install and usage is really simple:
Install the Python library:
sudo pip3 install bluedot
Get the Android Blue Dot app or use the Python Blue Dot app
Pair your Raspberry Pi
Write some code:
from bluedot import BlueDot bd = BlueDot() bd.wait_for_press() print("You pressed the blue dot!")
Press the Blue Dot
See the getting started guide to ‘get started’!
Blue Dot is more than just one button_. You can create as many buttons as you want and change their appearance to create your own controller.
Every button is also a joystick. You can tell if a button was pressed in the middle, on the top, bottom, left or right. You can easily create a BlueDot controlled Robot.
Why be restricted by such vague positions like top and bottom though: you can get the exact (x, y) position or even the angle and distance from centre where the button was pressed.
Its not all about when the button was pressed either - pressed, released or moved they all work.
A button can be any colour, square, given give or hidden!
You can press it, slide it, swipe it, rotate it - one blue circle can do a lot!
The online documentation describes how to use Blue Dot and the Python library including Recipes and ideas.
Table of Contents¶
- Getting Started
- Pair a Raspberry Pi and Android phone
- Pair 2 Raspberry Pis
- Blue Dot Android App
- Blue Dot Python App
- Blue Dot API
- Bluetooth Comm API
- Mock API
- Change log