Workaround for Servo Jitter on Arduino

A customer of ours, Bart Borghuis, is using an Arduino to control a servo that controls a shutter on a microscope.

While using the servo.h he discovered that he was getting jitter on his servo. The jitter was noticeable to the point that he was not able to proceed with his project. He tried a number of workarounds to resolve the jitter issues but discovered that the best solution would be to create his own code to control the servo.

He has kindly shared this, very well documented, code with us for the benefit of anyone else that may run into the same issue.

A description of the code and operation can be found in the code sample below.

{ 0 comments… add one }

Leave a Comment