Page 1 of 1

Kit Servo issue?

Posted: Sun Oct 18, 2015 8:56 am
by DaveMark
Hi,

Been meaning to ask this for a while, been busy, and found a work around.

The servo in my kit doesn't like pos 0, it causes a stutter, so I use pos 1 instead.

Is this normal?

Thanks kindly.

Re: Kit Servo issue?

Posted: Mon Oct 19, 2015 4:02 am
by angusgr
Hi Dave,

That's fairly normal, there's some variation in these kind of hobby servos. In RC control circles they call this "trimming" the servos.

The solution you have will work, or if you still want to use position 0 then you can vary the default 'min' and 'max' servo pulses when you call attach:

https://www.arduino.cc/en/Reference/ServoAttach

The default 'min' is 544 so you could try something like:

Code: Select all

servo.attach(servopin, 580, 2400);
and see if position 0 works correctly then. You may have to play around with the value to find the ideal min/max for a full range of movement, without jittering.


Angus