Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 30th June 2005, 07:58 PM   (permalink)
Default at89s51 for control motor stepper

hey...
please help me, i have a problem with my system. I use at89s51 microcontroller for control the stepper motor. I use RS232 connection to the PC server. I want to control stepper motor for half-step rotation according from my command. I use hyperterminal for the input.My assembly program (downloaded to microcontroller) is recognized 2 character: L for turn left and R for turn right and it's just for 1 step. My problem is : I can't control the motor stepper for 1 step only (for half-step), I can do that just for full-step....please helr me about the assembly program :cry:
alfian andri trianto is offline  
Old 1st July 2005, 02:16 PM   (permalink)
Default

Since you built this system according to some tutorials and it eventually worked,you need to learn it all over again to figure out how you did it.You have to analyze the assembly for the control logic,and learn everything about your stepper.Then you can modify the assembly or write a fairly new one all by yourself.No one here can help you out with that assembly.
Alex_rcpilot is offline  
Old 1st July 2005, 11:21 PM   (permalink)
Default

http://www.interq.or.jp/japan/se-inoue/e_step.htm
this site might help..

http://www.interq.or.jp/japan/se-inoue/e_pic6.htm
this guy has a bunch of projects..
williB is offline  
Old 2nd July 2005, 03:52 AM   (permalink)
Default

Can you post the assembly code?

There should be a routine, or block of code, which reads in the character from the UART, and in turn jumps to another block of code which controls the stepper motor.
plot is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 12:34 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker