i m interfacing the stepper motor with 8051 i hav all circuitry ready but i want to know how to generate the required RPM for stepper motor EG: i want to run my motor at 60 RPM then what all calculations are required i hav taken a timer for the clock pulses but confused in the calculations do u hav any sample program for it i m using ic which has clocks pulse pin, i will be giving the clocks to that pin
If you have an IC that only requires a direction and a clock signal, then everything is easy: Just experiment!
The datasheet for the IC will tell you how many clock pulses it needs for one step of the stepper motor.
The datasheet for the motor will tell how many steps in one revolution.
Now, you should have a quite good idea about how many pulses you must generate each second...
A different issue is to figure out how fast the motor can accelerate, and if it is important that it never looses a step during the acceleration phase.
i m using L297 but nothing is mentioned about clock then should i go for stepper motor clocks or anything else?????
"i m using L297 but nothing is mentioned about clock"
Really?!
Have you actually looked at the Datasheet for the L297? www.st.com/.../l297.htm
The 'Description' paragraph right at the top of he 1st page says, "A feature of this device is that it requires only clock, direction, and mode input signals"
The diagram at the foot of page 1 clearly shows a 'Clock' connection to pin 18
The 'Clock' pin description at the foor of page 3 tells you what the 'Clock' pin does.
etc, etc,...
Look at ST's Applicaiton Note AN470, "The L297 Stepper Motor Controller" www.st.com/.../1734.pdf The very first diagram (Figure 1) on the very first page has a signal clearly marked 'Step Clock'
There is also a section titled "Stepper Motor Basics" - I think you should start with that...
You should also visit www.cs.uiowa.edu/.../
I need to build a steppper motor forom first prinipacels.
Where to start in full detail please.
Exactly what do you need to build?
The links above are more than enough - they are excellent!
View all questions in Keil forum