Previous Post

Building a ball balancing robot with SPIKE Prime

Next Post
Building a ball balancing robot with SPIKE Prime
DESCRIPTION

I’ve always been fascinated by robots that can balance themselves on a ball.It’s one of those builds that looks like magic, but it’s ultimately just a fast feedback loop. The robot constantly measures the tilt of the robot using the gyro sensor and adjusts the motors to keep the robot upright.I've published a tutorial for the MINDSTORMS Robot Inventor set previously, but it was high time for a SPIKE Prime Edition! You can find the step-by-step instructions here.Pybricks contains several unique features to make this possible. Not only does it run about 20x faster than the original MINDSTORMS software, it also contains dedicated commands and blocks to measure the right (unfiltered) gyro angles, which is critical to make a robot like this work.Leave a note if you give this a try!

Pybricks PATREON 2 favs
VIEWS1
FILES1 file
POSTEDMay 28, 2024
ARCHIVEDJun 10, 2026