- This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › c program
I need to write an embedded c program to rotate a stepper motor in 15 degree step angle ie., completes one 360 degree rotation in 24 steps using 8051 in keil software.
first tell me what is step angle of your motor?
is it 1.8 deg, 7.2 deg, 15 deg, 18 deg or any other?
for example if motor is 15 deg then it will rotate 15 deg for each applied pulse. also you have to apply atleast 4 pulse to all four coils. so motor will rotate 60 degree.
as per your requirement you want to rotate motor 15 deg. so you need a motor with 15/4 = 3.75 deg.
another option is choose motor with 7.5 degree. it will rotate minimum 30 degree when 4 pulses are applied.
but if you run it in half step mode then it will rotate for 15 deg.
I need to run the motor in 12.75 degrees actually…plz reply as soon as possible…