This steps is only for fresh install RASSPBERRY PI (64bit).
Before start expand your filesystem:
sudo raspi-config
sudo apt update && sudo apt -y upgrade
sudo apt-get install python3-pip libjpeg-dev libopenblas-dev libopenmpi-dev libomp-dev
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
sudo apt-get install python3-venv, virtualenv screen
sudo apt-get install mosquitto
sudo mosquitto_passwd -c -b /etc/mosquitto/passwd pt2 gorkd34!
echo "password_file /etc/mosquitto/passwd" | sudo tee --append /etc/mosquitto/mosquitto.conf
echo "allow_anonymous false" | sudo tee --append /etc/mosquitto/mosquitto.conf
sudo apt purge xserver* lightdm* raspberrypi-ui-mods
reboot
sudo apt-get install libbluetooth-dev
sudo pip3 install pybluez
cat /etc/group | grep bluetooth
bluetooth:x:113:pi
If it's not, add pi to bluetooth group:
sudo usermod -G bluetooth -a pi
cd install && ./install_service_bt.bash
reboot
bluetoothctl
Paste below one by one in console:
- discoverable on
- pairable on
- agent on
- default-agent
- scan on
Now try to connect from your Android device with bluetooth, you need accept connections in console After if you have active connections you can install "BlueDot" from google play. And from this app you can control robot move.