Using the Stepper Motor

Electrical motors work on the principle of electromagnetism to drive the central shafts. As the magnetic field changes around the coils that wrap around the shaft, the change in current propels the shaft forward or backward. Stepper motors refine this principle by allowing granular control of the motor to “step” in well-defined increments. This makes these motors excellent choices for any mechanical task requiring precise control.

Stepper motors are used in ink jet printers, plotters, and disk drives; they are also found in a number of types of industrial manufacturing equipment.

The motor we will use for this project is a popular 12-volt, 350-milliamp, 200-steps per revolution bipolar stepper motor. This motor should ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.