The Servo Library is a great library for controlling servo motors. In this article, you will find "Arduino Servo Motor Control" by Potentiome