Ball Balancer
By Andrew Gregory. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
This robot is able to balance a ball on its flat surface. The designer, Johan Link, is an 18-year-old Swiss maker, self-taught on electronics and programming. "When I started learning how to use OpenCV, I wanted to put my knowledge into practice, that’s how I started this project," says Johan.
Make beautiful beats with the complete Raspberry Pi music production toolkit.
"Three servo motors are used to tilt the plate to compensate the motions of the ball. A USB camera is perched above the platform, and a Python program analyses the images to detect the ball position, then the computer controls the servos via a custom PCB inside the robot."
"I quickly realised that I was not the only one who had the idea of this kind of robot, that’s why I wanted to stand out by making a robot as elegant as possible."
The build instructions are available at: www.instructables.com/id/Ball-Balancing-PID-System/
Features Editor Andrew trawls the internet for Cool Stuff while keeping the magazine running smoothly.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Use a robot to build a robot
This glorious, (mostly) 3D printed robot has six degrees of freedom.
Read more →
Make Music With Raspberry Pi in Official Raspberry Pi Magazine issue 166
Music production is an esoteric world of chin stroking and arguing over what kind of valve makes the best sound in a guitar amplifier – at least, it can be. Load up on software, bring your friends, and record your latest masterpiece on Raspberry Pi. We bring news from the world of 3D printing, where […]
Read more →
Win one of ten Sixfab AI HAT+
The new add-on could be yours
Read more →