My Account

Wish List (0)

RockyBorg Software Install Guide

Written by in RockyBorg - Build on .

The RockyBorg software is designed to work with Raspbian. We recommend setting up your SD card with a copy of Raspbian and setting up the software prior to assembling your RockyBorg to make things easier. Before following these instructions you will need to:

  • Setup your SD card with Raspbian as explained here
  • Fit the SD card into the Raspberry Pi you will be using
  • Power up the Raspberry Pi
  • Connect the Raspberry Pi to the internet

How to enable I2C and the camera on the Raspberry Pi

Firstly we need to enable I2C on the Raspberry Pi so we can communicate with the RockyBorg motor controller and the camera. We can either do this via the Desktop, or via a terminal.

Enabling I2C and the camera via the Desktop

Start off by opening the Raspberry Pi Configuration menu by clicking on the Raspberry in the top left, and then in the menu clicking "Preferences" then "Raspberry Pi Configuration".



Then click on the "Interfaces" tab, then click "Enabled" next to both Camera and I2C.


Click OK, then open a terminal and skip to the "How to install the RockyBorg libraries" section further down.

Enabling I2C and the camera via Raspi-Config

Open a terminal in your Desktop or use the command line when your Pi boots and type: sudo raspi-config When the menu pops up, use the down arrow to highlight "5 Interfacing Options" then press the enter key.


Use the down arrow key to go down to "P5 I2C" and press the enter key.


Press the left key to highlight "Yes" and press the enter key.


You should then see a dialog that confirms that the I2C interface is enabled. Press enter to return to the main menu.


Use the down arrow to highlight "5 Interfacing Options" again then press the enter key.


Use the down arrow key to go down to "P1 Camera" and press the enter key.


Press the left key to highlight "Yes" and press the enter key.


You should then see a dialog that confirms that the camera interface is enabled. Press enter to return to the main menu.


Use the tab key to move to "Finish". Hit enter and exit the dialog.


If you get a dialog asking you to reboot use the tab key to move to "Yes". Hit enter and the Raspberry Pi should restart.


How to install the RockyBorg libraries

To install the RockyBorg software we need to obtain the code from our GitHub page or we can download using the clone command from a terminal. In a terminal window type:

git clone https://github.com/piborg/rockyborg
cd rockyborg
chmod +x install.sh
./install.sh

This will add the RockyBorg Tuning GUI and Testing GUI shortcuts to the desktop. These GUIs are used to calibrate the steering servo and test the motors once your RockyBorg is assembled.



See the RockyBorg Servo Calibration page for detailed instructions.


Last update: Aug 05, 2019

Related Article

Related Products

Comments

Leave a Comment

Leave a Reply

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.