This robot is a self-balancing teaching tool

Sean Hodgins recently debuted the PiddyBot, a mini balancing robot designed to teach the basics of PID controls.

Key project components include potentiometers, an Atmel-based Arduino Nano (ATmega328), custom PCB, two geared motors, dual motor driver board (Sparkfun), wheel set, 6 DOF IMU (Sparkfun), 3D printed body (Thingiverse), 2x battery connectors, 2x lithium batteries, M2 screws for motor mounting, female jumper cables and headers.

“First I figured out how small I could make the PCB and still have everything fit. I actually made the PCB a long time ago and it was one of the first I made, so I probably could have made it smaller; I’m happy with the size now,” Hodgins explained in a recent blog post.

“I designed it to have the Arduino just basically fit right into the center of it, that way all the connections are good and secure and it just makes it easier. The size of the board determined the size of the body – I made it so the PCB was basically the only thing requiring any assembly.”

On the software side, Hodgins says the code is in “no way finished,” although it does allow for basic PID tuning.

“It is pretty rough, if there are any questions at all, don’t hesitate to ask! There is a little extra feature in the code, it actually has a sort of positioning return system even without encoders,” he added.

“It basically takes the amount of time the motors are tuning in each direction and the speed and figures out how far away it is from its first position.”

Interested in learning more about the PiddyBot? You can check out the project’s official page here and download the PiddyBot Arduino code here.

2 thoughts on “This robot is a self-balancing teaching tool

  1. Pingback: Video: Modding WALL-E with an Arduino Uno | Bits & Pieces from the Embedded Design World

  2. Pingback: International Arduino Day is almost here!

 | Bits & Pieces from the Embedded Design World

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s