How Rotary Encoder Works and How To Use It with Arduino

preview_player
Показать описание

In this tutorial we will learn how rotary encoder works and how to use it with Arduino. A rotary encoder is a type of position sensor which is used for determining the angular position of a rotating shaft.

Like my page on Facebook:

Add me on Google+:

Рекомендации по теме
Комментарии
Автор

This is better than searching for confusing datasheets on the website. THANK YOU A LOT

ricardocalletejada
Автор

WOW. Finally I understand the rotary encoder logic. Best explanation I have run into in 10 years. Your description turned on the big light bulb on in my brain and I understand it now. The code is so simple too.

jp
Автор

Thanks once again for a greatly instructional video. After watching not only do you understand the principle behind it, you also have a piece of working code at the ready. Thanks alot :)

fanBladeOne
Автор

Wow, such elegant code...My overly complex code didn't work well when I spun the encoder quickly, this works flawlessly. Thanks!

bcinsteadof
Автор

*Thanks! Recommend making a video on controlling position of a continuous servo using a continuous rotary encoder!*

OMNI_INFINITY
Автор

well done. thats the best explanation for rotary encoder i ve seen so far

sub-arts
Автор

Many thanks for the clear guide on how encoders work, I found the animated graphics particularly useful.

slimydroid
Автор

Fantastic! Looking at pictures of waves just didn't do it for me. This video completely cleared it up. Thank you! Subscribed.

badbush
Автор

Thanks Mechatronics for your time and work. From Sydney all the best. 👍

jaimeriquelme
Автор

Brilliantly explained from theory to application. Well done!

cdweng
Автор

Thank you. Your code worked. I thought that Kevin Darrah's code using interrupts was working for me but it was not. It was skipping all around but your code works perfectly for me with no skipping at all. How u do dat? Thanks man.

jeffbeck
Автор

Just plain and simple explanation. Great video, exactly what I was looking for. Thank you so much! 😊

sgtrumbi
Автор

suscribed, videos are very good, I'm studying mechanical engineering, have to choose If I want to specialise in Mechatronics, your videos help me a lot in my choice, very cool

endingalaporte
Автор

Can you do a video on measuring the angle of rotation of the stepper if connected the encoder to the shaft of the stepper and if the shaft is rotated manually?

LifeGeneralist
Автор

Great Job, articulate and directly to the point.  Thank You!

mrcalico
Автор

Dejan, Great video! thank you. Got it to work. If I turn the dial to quick the nema jump, not smooth and has a pause when reveres. I've tried trimming the drive board and the delay times. Any idea?, thanks again for all you great work.

voxellab
Автор

Hi Dejan, thanks for sharing this helpful tutorial, I would like to use a rotary encoder to replace the menu navigation buttons in my project, your video is very useful.

I notice that you did not appear to implement any software de-bouncing techniques to overcome the switch noise, yet your example did not appear to suffer from switch bounce. Did you use a hardware filter of some sort?

Thanks.

mgga
Автор

Your code working well but you must put it into interrupt event from rising and falling edge caused by A and B signals.

dawidwilk
Автор

Awesome explaination.. Regards from Indonesia

cakdham
Автор

your explanations are so clear, makes it easier to understand how this works. thank very much!

waterman