| Author |
Message |
alarmathi
Joined: 15 Dec 2008 Posts: 5
|
06 Jan 2009 5:20 stepper motor with 8051 |
|
|
|
|
can anyone help me for rotating the stepper motor to an angle of 45`...........
using 8051 microcontroller............!
it will be more useful, if u giv the procedure for the calculation, so that we can calculate the delay for other degrees like 90` , 180` ,... so on............
|
|
| Back to top |
|
 |
bobliin
Joined: 29 Dec 2008 Posts: 9
|
06 Jan 2009 12:12 stepper motor calculations |
|
|
|
|
Hi there,
To rotate the stepper by an angle of 45`, u need to know the step angle of the stepper
say if the step angle is 1.8`, u need to give 25 (45 / 1. pulses to make the stepper rotate by 45`.
The delay can be varied depending upon ur stepping speed requirements. but if the delay is decreased beyond a level, the stepper simply vibrates instead of rotating. This depends on the stepper motor u use.
coming to 8051 if the oscillator u use is 11.0592 MHz, the machine cycle will be 1.085 microseconds(11.0592 / 12). so a NOP instruction can produce a delay of 1.085 micro seconds.
This is all i know. hope it ll help u.
all the best.
Bhargav
|
|
| Back to top |
|
 |
Google AdSense

|
06 Jan 2009 12:12 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
alarmathi
Joined: 15 Dec 2008 Posts: 5
|
08 Jan 2009 5:14 8051 step motor |
|
|
|
|
| ya thanks for your reply.. the information was really useful.
|
|
| Back to top |
|
 |