KY-040 :rotary encoder sensor arduino uno | Rotary Encoder Arduino Tutorial | Rotary Encoder Wiring

preview_player
Показать описание
Arduino Rotary Encode:

Subscribe to my New YouTube Channel, if you want to watch my videos in Hindi/Urdu

TOP 10 Arduino projects 2019:

Top 10 Arduino IOT based projects 2019:

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 signal.
There are two main types:
1. absolute
The output of absolute encoders indicates the current position of the shaft, making them angle transducers.
2. incremental (relative).
The output of incremental encoders provides information about the motion of the shaft, which is typically further processed elsewhere into information such as speed, distance and position.

in this tutorial the rotary encoder will be used with arduino uno and we will be writing a basic arduino program to demonstrate its use.

The same program can run on Mega as well. but make sure you use the same pins on mega as well. if you use different wires then simply change the pins in mega program and that's it.

Purchase links for Components with the best prices.

Arduino Nano USB-C Type ( recommended):

ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:

Rotary Encoder for Arduino:

12v Adaptor:

Magnetic Hall Effect Sensor:

Other Must-Have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":

Top Arduino Sensors:

Super Starter kit for Beginners

Top Oscilloscopes

Variable Supply:

Digital Multimeter:

Top Soldering iron kits: "best"

Top Portable drill machines:

Jumper Wires:

3D printers:

CNC Machines:

Electronics Accessories:

Hardware Tools:

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

very instructive, educative. thank you

naboulsikhalid
Автор

Thank you, very very helpful and I am a Mechanical Engineer LOL

pmcm
Автор

How in this case add the press button of the encoder to shows them in serial port as: "Button pressed", or reset counter ? Thanks.

xvolodea
Автор

hello can i connect this encoder of my arduino uno and programming for unojoy
because i want play some racing games

ghamguibilel
join shbcf.ru