Balancing robot for dummies

For best results, the IMU needs to be placed near the center of the gravity of your build, wherever that is. Typically, the higher the center of gravity is, the easier it is to balance as the timing becomes less critical.