June 2012
Beginner
280 pages
6h 32m
English
CHAPTER 5
![]()
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 ...