A homemade self balanced robot built on a Raspberry Pi 3 B+ basis, with different regular sensors (IMU, ultrasonic), and a camera.
This repository gathers sources Python scripts to be executed on the Raspberry Pi.
You can see the result at work in this video:
https://www.youtube.com/watch?v=sTF8HTNk8Ts&t=11s
Note: bluetooth may not be installed by default. The following commands might help!
-
sudo apt-get install bluetooth bluez libbluetooth-dev
-
pip3 install pybluez
Note: gpiozero & pigpio supports were partially tested. For the latter, the following commands might help!
-
sudo pip3 install pigpio
-
sudo pigpiod
Note: at some point, batteries could not deliver enough power to deal with everything. The following commands helped:
-
echo '1-1' | sudo tee /sys/bus/usb/drivers/usb/unbind
-
sudo /opt/vc/bin/tvservice -o