Lesson 97: Controlling Servo Motor using Rotary Encoder and Display Angle On LCD - RJT451 @robojax
Lesson 97: Controlling Servo Motor using Rotary Encoder and Display Angle On LCD - RJT451  @robojax
Uploaded January 2022 | Updated November 2026, 3 hours ago
In this lesson we learn how to use rotary encoder to control position of a servo motor and display the angle on LCD1602 or LCD2004 with I2C module. Full wiring diagram explained, code explained and demonstrated.

This lecture is part of Arduino Step by Step course that starts here youtu.be/-6qSrDUA5a8

πŸ“šβ¬‡οΈ Download and resource page for this video robojax.com/RJT451
πŸ“šβ¬‡οΈ Download and resource page robojax.com/RJT452
πŸ“šβ¬‡οΈ Download and resource page robojax.com/RJT453

Related Videos:
Introduction to LCD1602 or LCD2004 with I2C : youtu.be/pxUjEsJQW2M

*******Purchase this LCD1602 I2C from:******
eBay: ebay.us/66zQYE
Amazon USA: amzn.to/3rBaFTw
Amazon UK: amzn.to/3Ha7tWG
Amazon Germany: amzn.to/3ACkGF6
Amazon Europe (all countries): amzn.to/38ryLsk
Amazon Canada: amzn.to/2N3B8tM
Banggood: banggood.com/custlink/GKDRjnqeNL
AliExpress: https://s.click.aliexpress.com/e/_A2wvbK
AliExpress 10pcs: https://s.click.aliexpress.com/e/_AqB4NK

*** Buy Servo Motor from affiliated stores ***
Amazon USA: amzn.to/3m6Cmkr
Amazon Canada: amzn.to/2JdM5GK
All Europe Amazon: amzn.to/36YDSzn
Amazon UK: amzn.to/3IH8zJO
Amazon Germany: amzn.to/3rU5AXP
AliExpress (single servo): https://s.click.aliexpress.com/e/_ApIWoQ
AliExpress (4/5/20pcs metal gear): https://s.click.aliexpress.com/e/_AFMrG,

*** Purchase Rotary Encoder from affiliated stores ***
AliExpress: Rotary Encoder PCB (5pcs) : https://s.click.aliexpress.com/e/_AAbJgB, or https://s.click.aliexpress.com/e/_97uV6L
Amazon USA: amzn.to/3r5yoxk
Amazon Canada: amzn.to/3GcSF8m
Amazon Germany: amzn.to/3II9rOm
Amazon UK: amzn.to/3ILhNF2


*** Purchase Arduino Start Kit ***
Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
AliExpress: https://s.click.aliexpress.com/e/_9uc7Xe
Banggood: banggood.com/custlink/3GDdsC1slt or UNO board banggood.com/custlink/vKmdbc7blp
eBay: ebay.us/B1JWLi

****** Purchase Authentic Arduino Uno from ****
Amazon USA: amzn.to/2KApAwK
Amazon Canada: amzn.to/37LZ8sW
All Europe Amazon: amzn.to/36YDSzn



Use Chapters from timeline or click on the time
00:00 Introduction
01:29 Project is explained
03:04 Wiring Diagram and Wiring Explained
5:33 wiring diagram
10:36 Library Basic encoder Code Explained
14:13 Demo: Basic Encoder
15:21 Code: Encoder with switch explained
16:44 Demo: Encoder with switch
17:44 Code: Encoder with Servo and LCD
27:25 Demo: Encoder with Servo and LCD
#robojax #robojaxArduinoCourse #robojax_Rotary_Encoder


Tutorial by Ahmad Shamshiri form Canada
****************************

If you found this tutorial helpful, please support me so I can continue creating contents like this. (PayPal): πŸ”₯paypal.me/robojaxTV
Follow me on Facebook fb.me/robojaxTV
Follow me on TikTok tiktok.com/@robojaxtv
Follow me on Twitter: twitter.com/robojaxTV
Follow me on Instagram: instagram.com/robojax

Get other projects code ⬇️
πŸ”₯robojax.com

**** AFFILIATE PROGRAM ****
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
Lesson 97: Controlling Servo Motor using Rotary Encoder and Display Angle On LCD - RJT451PiCar-X Lesson 9 of 16 : Detecting Cliff  | Raspberry Pi Smart Robot car by SunFounderDeleted videoDeleted videoESP32 Tutorial 7 - Using Array with ESP32 Arduino Programming-SunFounders ESP32 IoT Learning kitDeleted videoTutorial 39 - Using ESP32 as Bluetooth Music Player | SunFounders ESP32 IoT Learning kitMakeblock Ultimate Robot Kit Part 1 : Step by Step Assembly Robot of Aram TankPiCar-X Lesson 8 of 16: Greyscale Line Tracking | Raspberry Pi Smart Robot car by SunFounderUsing Digispark Attiny85 Mini Arduino boards: Lesson 108ESP32 Tutorial 33 - Digtial Dice using using SunFounders ESP32 IoT Learning kitLesson 2: Getting Arduino Software and using Documentation for SunFounder Arduino Kit - RJT585
Robojax |

Lesson 97: Controlling Servo Motor using Rotary Encoder and Display Angle On LCD - RJT451

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER