BrickPi3 BalanceBot – a Segway With the Raspberry Pi

2,387

42

Introduction

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts Needed

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

Step 2: 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.

All the parts to build your Raspberry Pi LEGO BalanceBot!

Step 3: Running 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.

Run the file with the command:

sudo python BalanceBot.py

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

Step 4: Questions?

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions