PAGE 21 | ROBOTICS 101: ONE DAY © 2 0 2 2 M I C H A E L E T T E R S H A N K
https://www.robotscience.co.za
1 DAY OF ROBOTICS: APPENDIX 1: CONTINUOUS ROTATION SERVO CALIBRATION
Robot motors can be many shapes, sizes and types. We use continuous rotation hobby type servo motors
because they offer precise control at an affordable price, and they are easy to program using an industry-wide
standard set of protocols. Continuous rotation [CR] servos are slightly different to most hobby servos in that
they move beyond the 180 degree physical limit of normal ‘position’ type hobby servos.
Continuous rotation servos can drive wheels forward [and in reverse] precisely according to signals from the
controller. You can set the speed and direction of rotation, you can stop a continuous rotation servo after a
precise duration, you can also apply ‘braking force’ by stopping a CR servo. CR servos can be used to drive a
small robot through a competition maze, and perform many tasks far more precisely than simple DC motors.
Some CR servos do not need to be calibrated, and therefore don’t have an adjustment access hole. If you have
the type with a small hole, inside of which there’s a tiny variable resistor, then you will need to send the servo
1500 microsecond pulses while adjusting the servo with a wooden toothpick until it stops completely. Be very
careful not to use force, and use only a toothpick, or you could damage the servo.
ADJUST TRIMER POTENTIOMETER IN CONTINUOUS ROTATION SERVO WITH TOOTHPICK:
Continuous rotation servos are controlled by electronic pulses. The stop value [midpoint between forwards and
backwards rotation] is achieved by sending 1500 microseconds high pulses with 20 milliseconds low pauses
between each pulse. The Arduino software takes care of generating pulses in the background, all you need to
do is send the correct pulses with a few lines of code as shown on the next page.
If a PRIMO robot behaves unpredictably first check the (1) batteries then (2) check the continuous rotation
servos are properly calibrated. To calibrate a CR servo connect it to power and a controller and then insert a
fine toothpick into the adjustment variable resistor [accessed through the hole in the casing] taking great care
not to use excess force to prevent damage to the internal parts of the servo, which will render it useless. Insert
the toothpick gently into the variable resistor without force, so when you remove the toothpick it comes out
easily. If the toothpick gets stuck hard into the servo when you remove it the setting will be lost.