A previous post on the subject of GBOT with PID control was intended to make and learn the hardware and software aspects of microcontrollers with control systems. I used that experience to extend the GBOT into a 5 foot unstable balancing robot. I added an aluminum frame, disabled the forward looking IR range sensors and added a new GP2D120 IR sensor for pitch control. The result is the GBOT90 shown in the link below.
Noise and resolution was an issue but manageable. The Vref was set to 3.0V to improve resolution. No gyros and no acceleromenters were used, just the single GP2D120 IR range sensor for pitch rate & angle measurements. I used the same PID control system from the GBOT but updated the gains. Proportional and integral gains were much higher. Integral gain was surprisingly highest.
youtube.com/watch?v=bxx14Xe2iNg
Here’s the original floor GBOT. Notice the difference between P control and PID control: