This Raspberry Pi Balance Bot Won't Fall Down

(Image credit: Harry, Raspibotics)

This Raspberry Pi project wobbles, but it definitely won't fall down. Created by Harry from Raspibotics, this balancing robot (opens in new tab)was inspired by the Handle robot from Boston Dynamics. It uses a Raspberry Pi as the main board to detect its current orientation and maintain balance.

Harry's balance bot stands out with the addition of two legs complete with custom wheels. This allows for height adjustment to help with stability when tipped towards a given side.

The wheels use two 38mm Nema 17 stepper motors, while each leg uses an MG996R Servo. These components allow for the control necessary to maintain balance.

An Arduino Uno handles all of the PID calculations in real-time. In addition to the Raspberry Pi, Harry used a Picon Zero HAT (opens in new tab). This add-on PCB has the form factor of a Pi Zero, helping to keep the overall project build smaller.

If you want to recreate this project yourself, check out the project breakdown (opens in new tab) on the Raspibotics website. Harry shares everything you need to get started. Be sure to follow Raspibotics (opens in new tab) for future Pi projects.

Ash Hill
Freelance News and Features Writer

Ash Hill is a Freelance News and Features Writer at Tom's Hardware US. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting.