![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| 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: | |
| |
| | (permalink) |
| 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. | |
| |
| | (permalink) |
| 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.. | |
| |
| | (permalink) |
| 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. | |
| |