Lesson 97-3: Controlling a Servo Motor Using a Rotary Encoder and Display Angle on LCD
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 demonstrates a rotary encoder and displays the angle on an LCD1602 or LCD2004 screen. When pressing the rotary encoder push button, it returns the servo to the home position. See the video for a demonstration.
Вещи, которые могут вам понадобиться
-
АлиЭкспрессКупите LCD1602 на AliExpresss.click.aliexpress.com
Ресурсы и ссылки
-
Внешний
-
Внешний
-
ВнешнийPurchase ZK-5DA from Amazon UKamzn.to
-
ВнешнийКупите LCD1602 на AliExpresss.click.aliexpress.com
Файлы📁
Нет доступных файлов.