72
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
Qty
Name
Qty
UNO R3 or MEGA 2560
1
Stepper Motor
1
Rotary Encoder Module
1
ULN2003 Stepper Motor
Driver Module
1
Power Supply Module
1
9V1A Adapter
1
DuPont Wire
17
Breadboard
1
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.
Содержание Ultimate Starter Kit for Arduino
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 17: ...17 Wiring Diagram Result LED is lit up and went out gradually like breathing...
Страница 24: ...24 Wiring Diagram Result The buzzer will ring for 2s and then mute for 2s...
Страница 26: ...26 Result The passive buzzer will play music and the LED blink simultaneously Wiring Diagram...
Страница 32: ...32 Wiring Diagram Result The stronger light the photoresistor received the more LEDs will light up...
Страница 74: ......
Страница 79: ...79 Wiring Diagram...