My first inverted pendulum, or self balancing robot. It uses only a sharp distance sensor to measure its tilt, and estimates from that a proper speed for the motors using a PID regulator. The picture isnīt very informative, instead see film at http://www.youtube.com/watch?v=_7LH5IY_bFI