This lesson describes how to control a single servo motor using Python.  

Servo motors are controlled by pulses of varying lengths. This requires fairly accurate timing. The Raspberry Pi has one pin that generates pulses in hardware, without having to rely on the operating system.

This guide was first published on Jan 09, 2013. It was last updated on Sep 21, 2018. This page (Overview) was last updated on Oct 28, 2016.