Hello all,
I am experimenting with a continuous rotation servo and noticed that when running it at slow speed, 150 +- 10, I notice a jerk about every 2 seconds.
My 'scope shows what looks like a longer pulse every 2 seconds but I am not able to actually capture the odd pulse.
My code is:
SERVO 0, 150 (SET TO STOP AT 150)
DO
SERVOPOS 0, 155
LOOP
I assume that it has something to do with the internal timer since it repeats every 2 seconds but was wondering if it is possible to eliminate the issue.
Another observation:
When setting the servo to stop at the 1.5 millisecond pulse (servopos 0, 150), I can get it to stop but every 2 seconds the servo moves very slightly forward then back. However, if I add a PAUSE statement after the SERVOPOS statement, the frequency of the jerk decreases. Using PAUSE 10, the jerk happens about every 6 seconds, PAUSE 20 - jerks every 30 seconds. Using PAUSE 50, I do not see the jerking motion at all.
I am pretty sure the two are related and assume that it has something to do with the internal timer.
Anyone else ever see this issue? Any ideas or explination?
Thanks for any input.
Dave E
I am experimenting with a continuous rotation servo and noticed that when running it at slow speed, 150 +- 10, I notice a jerk about every 2 seconds.
My 'scope shows what looks like a longer pulse every 2 seconds but I am not able to actually capture the odd pulse.
My code is:
SERVO 0, 150 (SET TO STOP AT 150)
DO
SERVOPOS 0, 155
LOOP
I assume that it has something to do with the internal timer since it repeats every 2 seconds but was wondering if it is possible to eliminate the issue.
Another observation:
When setting the servo to stop at the 1.5 millisecond pulse (servopos 0, 150), I can get it to stop but every 2 seconds the servo moves very slightly forward then back. However, if I add a PAUSE statement after the SERVOPOS statement, the frequency of the jerk decreases. Using PAUSE 10, the jerk happens about every 6 seconds, PAUSE 20 - jerks every 30 seconds. Using PAUSE 50, I do not see the jerking motion at all.
I am pretty sure the two are related and assume that it has something to do with the internal timer.
Anyone else ever see this issue? Any ideas or explination?
Thanks for any input.
Dave E