Raspberry Pi balancing robot

Posted by Ryan on 20 February 2017

One of our customers posted about his balancing robot on our forum. A Raspberry Pi Model B is the central controller for the robot. It communicates with a RoboClaw motor controller for motor control and measures the angle and angular velocity with a MinIMU v2. The RoboClaw also decodes quadrature encoder signals for measurements of position and velocity. The drivetrain is made entirely of Pololu parts: 37D metal gearmotors with encoders, brackets, mounting hubs, and wheels.

The robot’s control algorithm allows it to correct for both positional and angular disturbances, and it can be controlled wirelessly. To develop the control system, this robot builder measured the step response of the motors using the encoders.

For more details about how the control system was developed, see the forum post.

0 comments

Post a comment

Using your Pololu account allows you to customize your avatar and manage your comments; you can also post anonymously.

Related Products

Raspberry Pi Model B, Revision 2.0
RoboClaw 2x15A Motor Controller (V4)
MinIMU-9 v2 Gyro, Accelerometer, and Compass (L3GD20 and LSM303DLHC Carrier)
19:1 Metal Gearmotor 37Dx68L mm 12V with 64 CPR Encoder (Spur Pinion)
Pololu Universal Aluminum Mounting Hub for 6mm Shaft, M3 Holes (2-Pack)
Pololu Stamped Aluminum L-Bracket Pair for 37D mm Metal Gearmotors
Pololu Wheel 90×10mm Pair - Black
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors