I am very new to Arduino and a first time poster on this forum.
As I began playing with my Arduino (Uno R2) and trying out some example sketches, I saw some strange behavior with the Servo > Sweep example. It seemed that the sweep would start fine, but then near the end of the angle-increment cycle, the servo would jump ahead and sort of get stuck briefly before beginning the angle-decrement cycle.
I tried both ES08A servos which came with my Maker Shed starter kit, and the result was the same.
Here is the setup:
Arduino Uno R2 connected to Windows PC via USB
5VDC wall wart positive lead to servo positive, ground to Arduino ground
Servo ground to Arduino ground
Servo control line to digital pin 9 for PWM
With the example "Sweep" sketch I saw an issue near the end of the sweep toward 180; it was not possible to tell exactly at what angle.
Using Zoomcat's "servo-test-21" sketch (available in a number of places including http://arduino.cc/forum/index.php/topic,21912.msg163771.html#msg163771
), I was able to enter many different angles and the servo would seem to go there OK, though the higher the number (closer to 180), the less accurate it visually appeared based on where 0 was. What I found repeatedly, again with both servos of the same make and model, was that I could go to 156 degree smoothly and without issue, but entering 157 or 158 degrees, the servo would jump all the way to what looks like just beyond 180, and then vibrate like it was trying to move further or just confused.
Entering a number less than 156, the servo would immediately go there and be happy. This continues to happen with both motors at any degree specification above 156.
Has anyone else seen this behavior? Am I doing something wrong?
Thanks in advance.