In order to use Blue Dot you will need:
- A Raspberry Pi
- with built-in Bluetooth (such as the Raspberry Pi 3, 4 or Zero W)
- or a USB Bluetooth dongle
- An Android phone or 2nd Raspberry Pi for the remote
- An Internet connection (for the install)
These instructions assume your Raspberry Pi is running the latest version of Raspbian.
If you’re using an Android phone, the Blue Dot app can be installed from the Google Play Store.
Open a terminal (click), then enter:
sudo pip3 install bluedot
To upgrade to the latest version:
sudo pip3 install bluedot --upgrade
Start up Python 3 (e.g.)
Create a new program
Enter the following code:
from bluedot import BlueDot bd = BlueDot() bd.wait_for_press() print("You pressed the blue dot!")
Save your program as
Run the program:
Server started ##:##:##:##:##:## Waiting for connection
Do not save your program as
bluedot.py as Python will try and
import your program rather than the bluedot module and you will get the
ImportError: cannot import name BlueDot.
- Select your Raspberry Pi from the list
Your python program will need to be running and
Waiting for connection
before the BlueDot app will be able to connect to your Raspberry Pi.
- Press the Blue Dot