Motion Control with an Arduino: Servo and Stepper Motor Controls

As explained in Chapter 4, there are several control schemes for operating a DC motor using an Arduino. This chapter extends the discussion of electric motor control to servo and stepper electromechanical devices. The Arduino’s ATmega328 microcontroller has dedicated port pins for providing digital signals to control the speed and direction of servo and stepper motors. In this chapter, I explain the conventional method of varying speed using a potentiometer or joystick, along with an introduction to the FlexiForce sensor. The potentiometer, joystick, and the FlexiForce ...

Get Learn Electronics with Arduino now with O’Reilly online learning.

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