Shop OBEX P1 Docs P2 Docs Learn Events
Small servo twitch — Parallax Forums

Small servo twitch

jmknappjmknapp Posts: 7
edited 2013-06-25 07:28 in General Discussion
Hi,

I'm driving a couple of Parallax standard servos with an Adafruit motor shield and Arduino Mega. This is for a heliostat that uses a mirror to direct solar rays to a given fixed direction--ideally. Problem is that irregularly every 5-20 seconds or so, one or both of the azimuth/elevation servos will twitch about half a degree in a random direction, so the light beam in practice dances around in about a +/- half-degree pattern. This is using the Arduino servo library that uses the high-precision timers, and on a scope the pulse width appears constant.

Is this an inherent problem with the servos, that there's some unavoidable noise in the potentiometer readings or something, or is there a way to prevent it?

Comments

Sign In or Register to comment.