Skip to main content

Motion Control with an Arduino: Servo and Stepper Motor Controls

  • Chapter
Learn Electronics with Arduino
  • 5537 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics