O'Reilly logo

Raspberry Pi Robotic Blueprints by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling the paddle using stepper motors

The first step in controlling your air hockey playing robot is to control the position of the three stepper motors in your paddle system. To understand how to do this, let's start by exploring how stepper motors work. The following is an image of a stepper motor:

Controlling the paddle using stepper motors

Stepper motors are a bit different from the servos that you used in Chapter 5, A Robot That Can Draw. Stepper motors operate in a similar way to DC motors as even they can rotate continuously. However, the stepper motor has the ability to drive the motor in small steps. For a tutorial on the specifics on stepper motors, refer to https://en.wikipedia.org/wiki/Stepper_motor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required