![]() A common technique to do that is PWM (Pulse Width Modulation). When we are talking about a DC motor to change the speed of the DC motor we need to change the amplitude of the input voltage that is applied to the motor. In order to get complete control of the motor we need to take control of the speed and direction of the motor, and to do that we need to use Pulse Width Modulation or PWM Technique to control the speed and we are going to use the internal H-bridge to control the direction of the motor. Controlling a DC Motor with Microcontroller In our previous project we have built many projects with L293D motor drive IC like RF Controlled Robot, Automatic Door Opener using Arduino, and Interfacing Stepper Motor with AVR Microcontroller Atmega16 you can check those out if you are interested in those topic. Which is why in this tutorial we will be using the popular L293D motor driver IC to simple control the speed and direction of the motor. And one of the best ways to do it is by using a L293D motor driver IC, because it's cheap, easy to use and with a bit of PWM support it can control both speed and direction. ![]() If you are planning on building a robot with DC motors then you will eventually learn that you need to control both the speed and direction of the motor if you want it to move it in a certain direction.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |