BrickPi3 BalanceBot – A Segway With the Raspberry Pi

BrickPi3 BalanceBot – A Segway With the Raspberry Pi

In this project, we build a balancing robot with the Raspberry Pi, some LEGO Mindstorms, and the BrickPi3.  We provide full build instructions and software to create your own Raspberry Pi Balancing Robot.  The software runs on Python, and reads the EV3 gyroscope to balance the robot. The movement is controlled with the lego Remote Control.

 

brickpi32Parts Needed

To build the Raspberry Pi balancing robot you’ll need the following:

Build Instructions

You can find full building instructions in LEGO Digital Designer format here.  The parts are all included in the LEGO Mindstorms EV3 Kit.

Raspberry Pi Balancebot

All the parts to build your Raspberry Pi LEGO BalanceBot!

BrickPi Balance Bot with the Raspberry PiRunning the Software

All of the software to run the BrickPi3 Balancebot is free, and available for download on Github here.

In the command line, enter the directory where you’ve downloaded the BalanceBot.py file, and run the file with the command:

sudo python BalanceBot.py

You will see on-screen instructions for setting up and running the BalanceBot!