CIRC04: A Single Servo

Spinning a motor is good fun but when it comes to projects where motion control is required they tend to leave us wanting more.

The answer? Hobby servos. They are mass produced, widely available and cost anything from a couple of dollars to hundreds.

Inside is a small gearbox (to make the movement more powerful) and some electronics (to make it easier to control). A standard servo is positionable from 0 to 180 degrees.

(Servo Positioning picture from Simon Monk's Arduino Lesson 14. Servo Motors)

Positioning is controlled through a timed pulse, between 1.25 milliseconds (0 degrees) and 1.75 milliseconds (180 degrees) (1.5 milliseconds for 90 degrees). Timing varies between manufacturer. If the pulse is sent every 25-50 milliseconds the servo will run smoothly. One of the great features of the Adafruit Metro is it has a software library which can control servos using a single line of code

This guide was first published on Aug 18, 2017. It was last updated on Aug 18, 2017.
This page (CIRC04: A Single Servo) was last updated on Jul 04, 2020.