Lesson 31 Controlling Stepper Motor with Rotary Encoder
Overview
In this lesson, you will learn how to control stepper motors using a rotary encoder.
Components
Name
UNO R3 or MEGA 2560
Rotary Encoder Module
Power Supply Module
DuPont Wire
Component Introduction
A rotary encoder, also called a shaft encoder, is an electro-mechanical device
that converts the angular position or motion of a shaft or axle to an analog
or digital code. There are two main types: absolute and incremental (relative). The output of
absolute encoders indicates the current position of the shaft, working as angle transducers.
The output of incremental encoders provides information about the movement of the shaft.
Wiring Diagram
Result
Rotating the rotary encoder, the stepper motor will rotary in the same direction accordingly.
Qty
1
Stepper Motor
ULN2003 Stepper Motor
1
1
17
Name
Driver Module
9V1A Adapter
Breadboard
Qty
1
1
1
1
72
Need help?
Do you have a question about the Ultimate Starter Kit for Arduino and is the answer not in the manual?
Questions and answers