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.
hi,, i have to make a poject for embedded systems... i m controlling phase n speed of stepper motor. i want a code for stepper motor.
There isn't "A" code. There are thousads of different implementations for stepper motors.
The implementations depends on: - what microcontroller. - what pins that are used on the microcontroller. - what stepper motor. - what glue logic to power the windongs. - what requirements in acceleration, max speed etc. - the knowledge of the programmer that implemented it. - the available time to implement the function - ...
A huge number of variables. Your post does not cover anything other than that you are using some form of C51-based processor.
try this link for 8051 uc
www.silabs.com/.../an155.pdf
www.keil.com/.../search.asp