Incremental encoder EC11 with pushbutton. Review, connecting to Arduino, sketch

  Рет қаралды 4,099

Neoalternator

Neoalternator

Күн бұрын

This video provides an overview of the EC11 encoder with push button. The differences between absolute and incremental encoders are shown. Detailed explanation of how an incremental encoder works. In the video, we'll talk about the pinout of the encoder, and which of its legs are connected to where. To demonstrate how the EC11 encoder works, we will build a circuit on a breadboard, connect the encoder to the Arduino, and write a small sketch to work with it. In the sketch, we will reflect the possibility of changing the value of a variable, depending on which direction the ecoder knob is rotated in. And also we will handle the event of pressing the encoder button.
The EC11 encoder is very convenient for switching between operating modes of various devices and navigating through menu items.
Link to the sketch from the video - drive.google.com/file/d/13ZWd...
Links to electronic components from the video:
- Encoder with button - alii.pub/62nc00
0:00 Incremental encoder with EC11 button
0:32 EC11 encoder device
1:10 How encoders work
2:22 Connecting the encoder to the Arduino
2:50 Sketch for working with the encoder
5:47 Operation with encoder button

Пікірлер: 8
@LeoPlus
@LeoPlus 2 ай бұрын
Блин самый толковый скетч!!! Спасибо! Ещё бы реализовать двойное нажатие, длиное нажатие и нажатие с поворотом
@enott
@enott Жыл бұрын
Спасибо автор!
@chelovekbojii
@chelovekbojii 2 ай бұрын
А какой ход штока в мм при нажатии?
@user-qd7rw5cj9n
@user-qd7rw5cj9n 4 жыл бұрын
А не лучше ли через прерывание подключить? Ардуина с ума не сойдёт постоянно опрашивать энкодер?
@neoalternator
@neoalternator 4 жыл бұрын
Да, всё верно. Но не хотелось усложнять ролик еще и объяснением такого понятия как прерывание. В следующем видео, где "энкодер в деле", я рассказываю про прерывания. Ни способ подключения, ни блоки кода работы с энкодером при это не меняются. Добавляются только функции работы с прерываниями
@neoalternator
@neoalternator 3 жыл бұрын
Пожалуйста! Рад, что было полезно. Вот здесь -kzfaq.info/get/bejne/ba-cmK98rq-3Z4k.html, и здесь - kzfaq.info/get/bejne/jq5zgsieyMi0hXk.html продолжение про управление rgb матрицей с помощью энкодера.
@hansmustermann603
@hansmustermann603 3 жыл бұрын
@@neoalternator а где этот ролик, энкодер в деле ?
@neoalternator
@neoalternator 3 жыл бұрын
@@hansmustermann603 здесь -kzfaq.info/get/bejne/ba-cmK98rq-3Z4k.html, и здесь - kzfaq.info/get/bejne/jq5zgsieyMi0hXk.html управление светодиодной матрицей с помощью энкодера.
Энкодеры. Подробный обзор с экспериментами!
15:31
Андрей Кулагин
Рет қаралды 92 М.
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 11 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 23 МЛН
LCD1602 - это очень просто!
22:19
Гневисть
Рет қаралды 139 М.
Attiny13 microcontroller programming tutorial
9:41
Пары Канифоли
Рет қаралды 68 М.
Подключаем энкодер к ардуино
14:39
Паяльник TV
Рет қаралды 37 М.
Энкодер.
14:00
Andrey Frolov
Рет қаралды 18 М.
Уроки Arduino. Работа с энкодером
10:55
Заметки Ардуинщика
Рет қаралды 179 М.
11.Энкодер | Arduino | Midi | Hiduino
16:30
kentforth
Рет қаралды 6 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 7 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,6 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 51 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,1 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 3,9 МЛН
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,9 МЛН