Discussion in "Project Help" started by    zyrex    Dec 22, 2007.
Sat Dec 22 2007, 05:52 am
#1
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
#2
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/
Sat Dec 22 2007, 07:41 pm
#3
i wud suggest u using a DAC if u want to use keypad as u stated.........
Sat Dec 22 2007, 10:44 pm
#4
DAC will only increase the hardware better use PWM + L293D + some keys
Sun Dec 23 2007, 05:34 am
#5
thanks a lot for helping but 89s52 doesnt have pwm output. i must create pwm with programming i think... how can i do it??
Sun Dec 23 2007, 11:44 am
#6
search in forum.. you will get sample code for PWM
Mon Dec 24 2007, 03:49 am
#7
i couldnt find it can you please give the link?
Mon Dec 24 2007, 03:51 am
#8
guys, can i use relay as a motor driver ?? here's my schematic :



[ Edited Mon Dec 24 2007, 03:54 am ]
Mon Dec 24 2007, 05:55 am
#9
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....
Mon Dec 24 2007, 11:19 am
#10
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

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am