Save 24% on “active” status Pololu-brand products using code MEMORIALDAY24

TwoPotatoe balancing robot

Posted by Grant on 22 July 2014

TwoPotatoe is a customer-built balancing robot that in its latest form uses an Arduino Mega to receive commands from a custom-made controller via XBees and a Wixel to wirelessly send telemetry to a PC. The robot uses feedback from a MinIMU-9 v3 IMU module’s accelerometer and gyro to maintain its balance, and it uses the MinIMU’s compass to navigate. The drive system consists of two 37D mm metal gearmotors with encoders controlled by a VNH3SP30 motor driver carrier.

You can see videos and read more about how TwoPotatoe works in the how it works section of its site.

10 December 2014 update: The old video of Twopotatoe has been replaced with a newer one. TwoPotatoe has also undergone a few changes: Arduino Due instead of the Arduino Mega, new motor controllers, new personality, etc. For more information about the changes and to see some new pictures, check out TwoPotatoe’s website.


Hi Grant,

Have looked on the 'How it works' section of your site, and am interested in your Speed and Position algorithm. Have you published the code yet, or if not, do you intend doing this?


Hello, Nigel.

TwoPotatoe is a robot built by one of our customers, so I do not have the control algorithm. You might try using the "Leave a Message" feature on the website to contact its creator.

- Grant

Post a comment

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

Related Products

Arduino Mega 2560 R3
Dual VNH3SP30 Motor Driver Carrier MD03A
30:1 Metal Gearmotor 37Dx52L mm 12V with 64 CPR Encoder (No End Cap)
Wixel Programmable USB Wireless Module (Fully Assembled)
Arduino Due
MinIMU-9 v3 Gyro, Accelerometer, and Compass (L3GD20H and LSM303D Carrier)
Pololu High-Power Motor Driver 36v20 CS
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors