How Stepper Motors Work
1st Position: The top electromagnet (#1) is energized, attracting the nearest tooth of a gear-shaped iron rotor. With the teeth aligned to electromagnet (#1), they will be slightly offset from electromagnet #2. 2nd Position: The top electromagnet (#1) is turned off, and the right electromagnet (#2) is energized, pulling the nearest teeth slightly to the right. This results in a rotation of 3.6° in this example. Notice the yellow arc which indicates rotation. 3rd Position: The bottom electromagnet (#3) is energized; another 3.6° rotation occurs. 4th Position: The left electromagnet (4) is enabled, rotating again by 3.6°. When the top electromagnet (#1) is again enabled, the teeth in the sprocket will have rotated by one tooth position; since there are 25 teeth, it will take 100 steps to make a full rotation in this example.