dc motor control with 89s52
Sat Dec 22 2007, 05:52 am
hii... i want to program 89s52 for controlling dc motor with assembler. And i can use keybord programming for up speed, down speed, reverse etc can you help me how can i do it?
Sat Dec 22 2007, 02:40 pm
use simple switches.. no need to use keypad will only make your design complex. for dc motor tutorial please check the tutorial page..
http://www.8051projects.net/microcontroller-tutorials/
http://www.8051projects.net/microcontroller-tutorials/
Sat Dec 22 2007, 07:41 pm
i wud suggest u using a DAC if u want to use keypad as u stated.........
Sun Dec 23 2007, 05:34 am
thanks a lot for helping but 89s52 doesnt have pwm output. i must create pwm with programming i think... how can i do it??
Mon Dec 24 2007, 03:51 am
[ Edited Mon Dec 24 2007, 03:54 am ]
Mon Dec 24 2007, 05:55 am
hi i am writing which i want to do?
control dc motor with 89s52 with software PWM as you say... and for example
a up speed
b down speed
c stop
d run
e clockwise
f anti-clockwise
g show position
note:a,b,c,d,e,f,g on pc keybord...
and i need help for writing program.
S.O.S HELLPPP MEEEEEE....
control dc motor with 89s52 with software PWM as you say... and for example
a up speed
b down speed
c stop
d run
e clockwise
f anti-clockwise
g show position
note:a,b,c,d,e,f,g on pc keybord...
and i need help for writing program.
S.O.S HELLPPP MEEEEEE....
Mon Dec 24 2007, 11:19 am
here is sample code for PWM review it..
also take a look at somewhere in the last posts of the thread.. you will see how it is used to control DC motor..
http://www.8051projects.net/forum-t1707-10.html#post_1846
also take a look at somewhere in the last posts of the thread.. you will see how it is used to control DC motor..
http://www.8051projects.net/forum-t1707-10.html#post_1846
Powered by e107 Forum System