We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
There are examples in the C51 downloads section:
http://www.keil.com/download/list/c51.htm
The operation of the standard 8051 timers is described so-called "bible" for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
See the Data Sheet for your particular processor for any special features.
Here's some Tutorials: General 8051: www.8052.com/tuttimer.phtml 8052 extras: www.8052.com/tut8052.phtml
And, of course, the book lists: http://www.keil.com/books/8051books.asp www.8052.com/books.phtml