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 ...
Get Learn Electronics with Arduino 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.