Lesson 97-2: Controlling a Servo Motor Using a Rotary Encoder
In this lesson, we learn how to use a rotary encoder knob. Then we learn how to use it to control the position of a servo motor (97-2). In this lesson (97-3), we also display the position of the servo motor on an LCD screen using Arduino. This code will work with all Arduino boards. This code (97-2) demonstrates using a rotary encoder to control the position of a servo motor. When pressing the rotary encoder push button, it returns the servo to the home position. See the video for a demonstration.
Things you might need
-
AliExpressPurchase an LCD1602 from AliExpresss.click.aliexpress.com
Resources & references
-
ExternalPurchase an LCD1602 from AliExpresss.click.aliexpress.com
-
External
-
External
-
ExternalPurchase ZK-5DA from Amazon UKamzn.to
Files📁
No files available.