© Hubert Henry Ward 2020
H. H. WardIntermediate C Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-6068-5_5

5. DC Motors

Hubert Henry Ward1 
(1)
Leigh, UK
 
In this chapter, you will look at controlling two useful types of DC motors. They are
  • The stepper motor

  • The servo motor

You will learn how they work and how you can use the PIC micro to control them.

With reference to the servo motor, you will also look at using an analog input, such as a variable voltage, to control the position of the motor.

The Stepper Motor

The stepper motor is a DC motor that has a number of coils encased in the stator part of the motor. To make the rotor rotate, each of the coils in the stator are turned on sequentially so the rotor rotates in steps because ...

Get Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming 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.