Summary of gsm based dc motor speed control using pic microcontroller
Summary: This project demonstrates speed control of a DC motor using an 89S52 microcontroller, interfacing an LCD, a hex keypad, and a DC motor via the L293D driver. The project explains LCD, keypad, and motor interfacing separately and uses assembly language. Speed control is achieved by applying PWM to the L293D enable pin; a single motor is shown with direction control via A and B inputs and protection diodes and wide VCC2 range provided by L293D.
Parts used in the Speed control of DC motor:
- 89S52 microcontroller
- LCD
- Hex keypad
- DC motor
- L293D motor driver IC
- Power supply (suitable for VCC2 4.5V to 36V)
Hey friends this is my 3rd year BE project ” Speed control of DC motor“which i could like to share with you .In this you will learn how to interface LCD,hex keypad and motor .The code is written in assembly
to simplify I have first explained separately LCD interfacing hex keypad interfacing ,motor interfacing with L293D
so Lets get Started !!!
Step 1: Materials Required
*89S52
*LCD
*Hex keypad
*DC motor
I assume u have basic knowledge of 8051 programming in assembly
Step 2: Interfacing DC Motor -L293D
L293D is a dual H-Bridge motor driver, So with one IC we can interface two DC motors which can be controlled in both clockwise and counter clockwise direction we can control speed of each dc motor by giving PWM to enable pin .L293D has output current of 600mA and peak output current of 1.2A per channel. Moreover for protection of circuit from back EMF ouput diodes are included within the IC. The output supply (VCC2) has a wide range from 4.5V to 36V, which has made L293D a best choice for DC motor driver.
As you can see in the circuit, three pins are needed for interfacing a DC motor (A, B, Enable). If you want to control speed enable pin is connetcted to the PWM pin of microcontroller . I have connected only one motor and used the enable pin to contol the speed of dc motor.
Source: gsm based dc motor speed control using pic microcontroller
- What microcontroller is used in the project?
The 89S52 microcontroller is used. - How is motor speed controlled?
Motor speed is controlled by applying PWM to the L293D enable pin. - Which IC is used to drive the DC motor?
The L293D dual H-Bridge motor driver IC is used. - Can the L293D control motor direction?
Yes, motor direction is controlled via the A and B input pins of the L293D. - Does L293D include protection diodes?
Yes, output diodes for back EMF protection are included within the L293D IC. - What voltage range does L293D output supply VCC2 support?
VCC2 supports a range from 4.5V to 36V according to the article. - How many motors can one L293D control?
One L293D can interface and control two DC motors (dual H-Bridge). - What programming language is the project code written in?
The code is written in assembly language.


