This is a simple 1-Axis Ball Balancer. A spherical Object (preferably a ping-pong ball) is placed on a beam attached to a servo on one end and an ultrasonic sensor on the other end. The objective is to always make sure the ball is at the center of the beam.