4.4. PICDEM Stepper Motor Control

• Stepper motor operation

• Stepper motor test program

• Speed and direction control

The main advantage of the stepper motor is that it provides position control without the feedback required by a DC motor. It has stator windings distributed around a cylindrical rotor, which has permanent or induced magnetic poles. The windings operate in groups to move the rotor by a fraction of a revolution at a time (Figure 4.8).


The small stepper motor on the mechatronics board is an inexpensive permanent magnet (PM) type, giving 7.5 degrees per step, 48 steps per revolution. It can also be moved in half steps by suitable operation of the windings or even smaller steps (microstepping) by suitable modulation of the ...

Get Programming 8-bit PIC Microcontrollers in C now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.