Bluetooth Android App

Skip to first unread message


Feb 27, 2020, 9:06:55 PM2/27/20
to BeagleBoard


I want to be able to connect my android phone to the BeagleBone Black Wireless and use an app on my phone that will function as a joystick and send values over bluetooth to the beaglebone. I am looking for something similar to Blue Dot for the Raspberry Pi:

Does anyone know of a similar app I can use for the BeagleBone Black? If I were to create the app myself, would it be difficult to interface the BBB bluetooth with the android app? Has anyone had success with a similar project? If you have can you please share any resources used for establishing the bluetooth connection and sending data back and forth.


Dennis Lee Bieber

Feb 28, 2020, 12:43:57 PM2/28/20
to Beagleboard
On Thu, 27 Feb 2020 18:06:55 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Zeph
BlueDot, itself, is a Python module, and

debian@beaglebone:~$ sudo pip3 install bluedot
[sudo] password for debian:
Collecting bluedot
Installing collected packages: bluedot
Successfully installed bluedot-1.3.2

What may NOT function is the interface to the bluetooth radio (I can't
test as I have BB Black, NO WIFI).

debian@beaglebone:~$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bluedot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/bluedot/", line
1, in <module>
from .dot import BlueDot, BlueDotPosition, BlueDotInteraction,
BlueDotSwipe, BlueDotRotation
File "/usr/local/lib/python3.5/dist-packages/bluedot/", line 13, in
from .btcomm import BluetoothServer
File "/usr/local/lib/python3.5/dist-packages/bluedot/", line 7,
in <module>
from .utils import (
File "/usr/local/lib/python3.5/dist-packages/bluedot/", line 3,
in <module>
import dbus
ImportError: No module named 'dbus'
[1]+ Stopped python3

debian@beaglebone:~$ sudo apt install python3-dbus
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
Suggested packages:
python-dbus-doc python3-dbus-dbg
The following NEW packages will be installed:
python3-dbus python3-gi
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 638 kB of archives.
After this operation, 1,254 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 stretch/main armhf python3-dbus armhf
1.2.4-1+b1 [178 kB]
Get:2 stretch/main armhf python3-gi armhf
3.22.0-2 [460 kB]
Fetched 638 kB in 0s (936 kB/s)
Selecting previously unselected package python3-dbus.
(Reading database ... 73000 files and directories currently installed.)
Preparing to unpack .../python3-dbus_1.2.4-1+b1_armhf.deb ...
Unpacking python3-dbus (1.2.4-1+b1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../python3-gi_3.22.0-2_armhf.deb ...
Unpacking python3-gi (3.22.0-2) ...
Setting up python3-dbus (1.2.4-1+b1) ...
Setting up python3-gi (3.22.0-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...

debian@beaglebone:~$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bluedot

Dennis L Bieber


Feb 29, 2020, 9:55:36 AM2/29/20
to BeagleBoard
Why bluetooth?

Isn't WiFi more easy/powerfull? Ie. a JavaScript app in a browser sending to a fcgi client on the BBB.
Reply all
Reply to author
0 new messages