Overview

This lesson describes how to control both the speed and direction of a DC motor using Python and a L293D chip.  

In Lesson 8, we used the Pi to generate pulses to control the position of a servo motor. In this lesson we use pulses to control the speed of a regular DC motor and the L293D motor control chip to reverse the direction of the current through the motor and hence the direction in which it turns.

This guide was first published on Jan 14, 2013. It was last updated on Oct 16, 2018. This page (Overview) was last updated on May 04, 2015.