Friday, March 8, 2019

Dc Motor Speed Control Using PWM Signal

Dc Motor Speed Control

PWM Speed Controller Using Arduino Uno

In this post, I will tell you how to make Motor speed Controller using PWM Signal.


Step - 1
Make The Circuit According To the fig -
Dc Motor speed control

Step - 2
Collect the Following Components -
  • Arduino Uno 
  • L293D IC
  • 47 Kohm Potentiometer
  • Slide Switch - 2
  • 9 Volt Battery
  • Dc Motor
  • Some Wires
Step - 3 

Make All Connections According to the fig -

Battery +             ------->  VIN
Battery -              ------->  GND
Regulator Left pin ------->  GND
Regulator Middle pin ---->  A0
Regulator Right pin ------> 5 Volt
IC Pin 1                 ------> 7
IC Pin 2                 ------> 6
IC Pin 3                 ------> Motor Pin one
IC Pin 4 & 5           ------> GND
IC Pin 6                 ------> Motor Pin Two
IC Pin 7                 ------> 5
IC Pin 8 & 16         ------> VIN


Step - 4
Upload this Code In Arduino Uno 

 
Step - 5

NOTE - You can change the value of time-variable in the Code to change the PWM Wavelength. 

According to your Motor.
Minimum Value of Time is 1.

You can also able to change the pin number of components in the code.
but you can change regulator Pin A0 with A0 to A6.

If You Have any question or suggestion please comment below.


Thank You