Everything ran fine when I first got it. But after just a few days, the servo started going haywire. It swings back and forth despite receiving no commands from the processor.
Make sure you have a good ground between the servo and the arduino. Loss of the ground can cause erratic behavior.