So I followed this guide on youtube:http://www.youtube.com/watch?v=ZIQKf98cAMk

The problem I'm seeing is that instead of going from 10degrees to 170degrees at the specified time I get:The motor jerks every second even though I said every 10 seconds. It jerks forward the whole time until its reached its limits... then it does nothing else.

The motor is a "TowerPro MG995" According to this spec: http://robotbase.en.alibaba.com/product/461190134-211878901/Tower_Pro_MG995_Servo_Motor.html it should work fine with 5volts.

// zoomkat 10-22-11 serial servo test// type servo position 0 to 180 in serial monitor// or for writeMicroseconds, use a value like 1500// for IDE 0022 and later// Powering a servo from the arduino usually *DOES NOT WORK*.

void setup() { Serial.begin(9600); myservo.writeMicroseconds(1500); //set initial servo position if desired myservo.attach(7); //the pin for the servo control Serial.println("servo-test-22-dual-input"); // so I can keep track of what is loaded}