
Controlling GoBilda servo motor with arduino PWM and servo easing library - 10 degree difference
Hi. I am trying to control a gobilda servo motor (600-2400µsec, 189°, listed as 180 degrees however) using the Servo Easing library. It doesnt matter whether I move 90 degrees or 180 from one position to another, it will always miss the target by about 10 degrees. I was wondering if this could be related to the fact that the range of motion is 189 but the servo is marketed as 180?
As you can see in the code snippet, I mapped the motion range to degrees.
Link to the servo:
https://www.gobilda.com/proton-servo-steel-gears-180-rotation-torque-ratio/
protonServo.attach(
9,
0,
600,
2400,
0,
189
);
protonServo.setEasingType(EASE_CUBIC_IN_OUT);
moveServo(20);moveServo(110);//should move 90 degrees but only moves about 80
moveServo(0);moveServo(180); //should move 180 degrees but only moves about 170