Introduction: BrickPi Setup

The BrickPi is a slide-on board from Dexter Industries that turns your Raspberry Pi into a robot. The BrickPi helps you connect LEGO® Mindstorms sensors, motors, and parts to easily turn your credit card size computer into a powerful robot. To buy the Brick Pi or know more about it, click here.

This guide which will help you configure and get started with a BrickPi. This will help you set up all the software and other dependencies for the BrickPi and you should be able to use the BrickPi with C,Python or Scratch without any issuse.

Equipment you will need:
  • Raspberry Pi (with an SD Card and WiFi dongle or Ethernet)
  • BrickPi Board
  • Battery Pack

Step 1: Power on the Raspberry Pi With the Brick Pi

Slide the BrickPi on top of the Raspberry Pi and power it on using a battery Pack. For more help on this, refer to the Dexter Industries guide to powering on the BrickPi.

Step 2: Log on to the Raspberry Pi

Log on to the Raspberry Pi using SSH, VNC or a monitor and open the Terminal. Click here for more help on connecting to the Raspberry Pi

Step 3: Clone the BrickPi Repository

Clone the BrickPi Github repository at an appropriate location.
sudo git clone https://github.com/DexterInd/BrickPi.git

Step 4: Go to the Scripts Directory

There would be a new directory called "BrickPi" in your current location. Open that and go to the "script" folder. You'll see a shell script named "install.sh".
cd Brickpi/script

Step 5: Make the Script Executable

Make the install.sh script as executable
sudo chmod +x install.sh

Step 6: Run the Script

Ensure that the Raspberry Pi is connected to the internet and run the script.
sudo ./install.sh
Press Enter to start when prompted.
Raspberry Pi will automatically restart when the script is completed.

Step 7: Programming With the BrickPi

Now, you can use the Brick with C, Python and Scratch. Here are the guides to each of them
If you face any problems, you can always find help on the BrickPi Forums