Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Frequently Asked Questions (FAQ)
Clone this wiki locally
The book BeagleBone Robotic Projects, Second Edition specifically covers how to get started building robots with BeagleBone Blue.
For more general books on BeagleBone, Linux and other related topics, see https://beagleboard.org/books.
Download the latest 'iot' image from https://beagleboard.org/latest-images. As of this writing, that image is https://debian.beagleboard.org/images/bone-debian-8.7-iot-armhf-2017-03-19-4gb.img.xz.
Use http://etcher.io for writing that image to a 4GB or larger microSD card.
Power-up your BeagleBone Blue with the newly created microSD card to run this firmware image.
SSID: BeagleBone-XXXX where XXXX is based upon the board's assigned unique hardware address
Browse to http://192.168.8.1:3000 to open the Cloud9 IDE and get access to the Linux command prompt.
From the bash command prompt in Linux:
- sudo -s (become superuser/root)
connmanctl> tether wifi off (not really necessary on latest images)
connmanctl> enable wifi (not really necessary)
connmanctl> scan wifi
connmanctl> services(at this point you should see your network appear along with other stuff, in my case it was "AR Crystal wifi_f45eab2f1ee1_6372797774616c_managed_psk") connmanctl> agent on
connmanctl> connect wifi_f45eab2f1ee1_6372797774616c_managed_psk
Programming in C: http://www.strawsondesign.com/#!manual-install
Programming in Python: https://github.com/mcdeoliveira/rcpy
Meanwhile, as root, run the /opt/scripts/tools/eMMC/bbb-eMMC-flasher-eewiki-ext4.sh script which will create a copy of the system in your microSD to a new single ext4 partition on the on-board eMMC.
I've got my on-board eMMC flash configured in a nice way. How do I copy that to other BeagleBone Blue boards?
As root, run the /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh script with a blank 4GB or larger microSD card installed and wait for the script to complete execution.
Remove the microSD card.
Boot your other BeagleBone Blue boards off of this newly updated microSD card and wait for the flashing process to complete. You'll know it successfully started when you see the "larson scanner" running on the LEDs. You'll know it successfully completed when it shuts off the board.
Remove the microSD card.
Reboot your newly flashed board.
There is a "Hello, World" app at https://gist.github.com/jadonk/2ecf864e1b3f250bad82c0eae12b7b64 that will get you blinking the USRx LEDS.
The libroboticscape software provides examples that are pre-built and included in the BeagleBone Blue software images for running the servo/ESC outputs and fourth quadrature encoder input. You can use those firmware images as a basis for building your own: https://github.com/StrawsonDesign/Robotics_Cape_Installer/tree/master/pru_firmware
You can find some more at https://beagleboard.org/pru
`0..70` due to processor, else `-20..70`