??? 04/26/04 21:47 Read: times |
#69241 - RE: concept Responding to: ???'s previous message |
there is some MCU has PCA which generate PWN easily. like AT89C51RD ot P87C51FA. but i couldn`t find this chips, i got AT89C52.
but you do not need PWM. But how to accelerate and decellerate the steps?? i need your help in this case. DO NOT do this as I say, it is an example, not what your motor need (which I have no idea of). Set a timer for 2000 counts, step, on timer interrupt, set timer for 1980 count, step, on timer interrupt, set timer for 1960 count, step and so on. For deceleration, after you know how many counts total you are to step, subtract the number of steps to decelerate and at that time do the above in reverse. Of course if the number of step is less than accellerate and decellerate, you have to figure that too. Erik |
Topic | Author | Date |
T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
RE: T2MOD......AT89C52 | 01/01/70 00:00 | |
identify the coils?? | 01/01/70 00:00 | |
identify the coils?? | 01/01/70 00:00 | |
RE: Stepper Motors![]() | 01/01/70 00:00 | |
PWM codes.......AT89C52 | 01/01/70 00:00 | |
RE: PWM codes.......AT89C52 | 01/01/70 00:00 | |
more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
RE: more explination plz | 01/01/70 00:00 | |
concept | 01/01/70 00:00 | |
RE: concept | 01/01/70 00:00 |