PWM DC Motor Speed Controller Circuit Using PIC16F877A Microcontroller
In our last PIC online tutorial we have covered PWM generation using PIC Microcontroller. As I told earlier PWM has wide application in electronics and robotics engineering.In this article I’m gonna show you one of the important applications of PWM in Robotics, it is called Pulse Width Modulation motor speed control.
The method of generation of PWM signal is the same as before and this signal is applied to the Enable terminal of L293 motor driver IC. L293 is an H bridge motor controller IC capable of driving 2 Motor loads at a time.
Why We Need PWM For Speed Controlling Of DC Motor?
You may wonder why we need PWM signal for controlling DC motor speed when a resistor in series with the motor can simply do this job.
It’s because this method is not recommended in practical and also you don’t get enough torque to drive the motor with the help of resistor.
Limitation of using resistor
- DC motor needs more power during the operation, also it draws more current from the supply.
- If we use resistors, the motor will not get enough power to rotate because some of the power is dropped across the resistor (Low current).
- Also the current will be very low.
- With the help of PWM it is possible to control the average power delivered to a load and by thus we can easily regulate the speed of the DC Motor.
- When the width of pulse is high, the motor will rotate with full speed.
- Obviously with low pulse width, speed of motor gets reduced.
- In both cases full current reaches the motor and only the average power changes, thus we get better torque in each case.
- Basically in this method we are chopping the DC voltage at regular interval.
For All Your PCB Need, One-stop PCB Solution Services Appear:
EasyEDA: free PCB design tool, 200,000+ engineers are using
PCBs: 10pcs 2-layer 10x10cm only $8.21, on-time global shipping
Components: save 50% on cost, save on freight if shipped with ordered PCBs
Current Project / Post can also be found using:
- digital speed control of dc series motor use pic16f877a
- dc series motor speed control with pwm pic16f877a microcontroller pdf
- two dc motor control using pic16f877a
- DC motor movement with PIC16F877A using PWM