In this post only for basics of Stepper Motor when you connect with micro-controller. Now quick start the basics of stepper motor with simple diagram, formula and logical operations for micro-controller.
Stepper motor having two types one is uni-polar and second one is bi-polar stepper motor. Here I explain about bi-polar stepper motor. Diagram of bi-polar stepper motor is shown below.
Bi-polar stepper motor means, it works doesn't depends upon input polarities. If you give right polarities motor rotate clock-wise direction otherwise it rotates anti-clock wise direction.
Now how to find out the step angle of given motor is very important aspect while driving a stepper motor. So to find the step angle is very easy by using simple formula show below.
This is main formula to find out the step angle by using number of teeth on rotor and stator. And multiply the step angle revolution with RPM and 60 you get Steps/second. Then coming to the logical operations, this operations are very useful when stepper motor is interfacing with micro-controller.
Bi-polar stepper motor having four terminals namely A, B, C, and D. When your connected to micro-controller these four terminals are controlled logically then only you can control the stepper motor with different Step Angles. If logic-0 or logic-1 is applied to all four terminals then angle made by the stepper motor is 0 (Zero) deg. Similarly some logic's are their as shown in below table.
This different logic's will help to get different step angles, when stepper motor is interfacing with micro-controller this logic's are very helpful for different step angles. If you want 180 deg angle with stepper motor use 0010 logic for two times get 180 deg step angle. Like these logic's are helpful.
If you want to know ' How to interface stepper motor with micro-controller ' see my next post.
Thank you..