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.
Page last edited January 14, 2013
Text editor powered by tinymce.