![]() I have tried to avoid the temptation to use forwards and reverse because these words are too prescriptive and the direction of the motorĬlearly depends on how you have connected it up and how you define true forwards and reverse for your application. 10 means supply current to the motor in the opposite direction.01 means supply current to the motor in one direction.00 and 11 both mean stop - no output voltage.With the two output signals from the Arduino there are four possible values: ![]() ![]() These in turn connect to the inputs of the L293D, which controls the motor. The Arduino sketch controls the motor by setting the voltage on two of its output pins. In this project we use one half of the IC to drive a single DC motor. This project will show you how to control the rotational direction of a small motor without using any mechanical relays.ĭual H-bridge IC has two separate control circuits and can control two conventional DC motors or one stepper motor. You will need: Arduino UNO (or similar), a suitable DC motor, Texas Instruments L293D H-bridge IC, breadboard and male-male Objective: drive a small motor in forward and reverse directions without relays PROJECT - CONTROLLING A MOTOR - FORWARD AND REVERSE SWITCHING
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |