Kit Servo issue?

The Experimenters Kit includes an "Eleven" Arduino-compatible board, plus a range of parts and a guide to make it easy to get started with Arduino projects. [Product Page]
Post Reply
DaveMark
Posts: 57
Joined: Sat Sep 20, 2014 11:10 am

Kit Servo issue?

Post by DaveMark » Sun Oct 18, 2015 8:56 am

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.

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: Kit Servo issue?

Post by angusgr » Mon Oct 19, 2015 4:02 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests