Abstract
As explained in Chapter 4, there are several control schemes for operating a DC motor using an Arduino. Th is chapter extends the discussion of electric motor control to servo and stepper electromechanical devices. Th e 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. Th e potentiometer, joystick, and the FlexiForce sensor are important tools in many Physical Computing projects and are used here to introduce the concept of motion control. You will use remix techniques in prototyping and writing software for the electronic projects in this chapter. The required parts you will need to build the experiments and projects are pictured in Figure 5-1.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Donald Wilcher
About this chapter
Cite this chapter
Wilcher, D. (2012). Motion Control with an Arduino: Servo and Stepper Motor Controls. In: Learn Electronics with Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4267-3_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4267-3_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4266-6
Online ISBN: 978-1-4302-4267-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books