Hi all ! I want to control 12v Dc motor speed using 8051. Many people say i should use Pwm to control motor speed . So please tell me how does it work and how to do it with 8051 . I am using c ! Thank
No worries ..
Don’t forget about a driver (BJT or MOSFET) between microcontroller and motor ..
In both cases working with the 8051-derivatives require a 10k (or less) pull-up resistor attached to the pin that drives the MOSFET ..
See attached picture ..
These transistors hase Hfe(~Beta) min 50>> if your motor need 2-3A, their Ibasis will be 2A/50=40mA, you need maybe an ULN or a second transistor (basis)driver and resistors in the basis circuits...
K.
Hi all ! I want to control 12v Dc motor speed using 8051. Many people say i should use Pwm to control motor speed . So please tell me how does it work and how to do it with 8051 . I am using c ! Thank
I like to add additional comment for your requirement. Think about the feedback part of the motor to maintain speed. if the accuracy of the motor speed really required.
In this case you can use motor with encoder to give feedback to the controller