Rotary Encoder Tutorial with Arduino Code
HTML-код
- Опубликовано: 25 апр 2012
- All code up on site and encoder used:
www.kevindarrah.com/?page_id=1348
Check out my Tindie store (trigBoard is available) www.tindie.com/stores/kdcircu...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
www.kdcircuits.com
99% of the information on the web about rotary encoders is completely worthless to me--you provided an excellent tutorial and schematic that made it way easier and saved my project. Might be an almost-10-year-old video but still excellent.
Almost 7 years later and people are still finding this tutorial excellent, Thanks Kevin!
is it worth to buy hall effect encoders? Because the one you are showed is mechanical and will wear and break over time, if I am correct
oh my gosh, you are a beast, never in my life have i seen somebody improvising schematics with this easiness as if they were coding
Really well explained - thank you for putting this up. You go over and over, pointing out the whats and whys, what works, what doesnt, how it works, where the gotchas are. Gold star!
I have been looking for a well-explained tutorial on this for a while thank you so much!!! This was exactly what I needed.
That was a very clear explanation of this device, thank you Kevin.
This is awesome! I need to tap into an Auto A/C Control panel in my car which uses rotary encoders with an Arduino but I didn't even know where to start.
You are awesome. This is going to help me in my senior project quite a bit. No one is stumping me on an encoder question during my presentation!
Kevin! This is the best explanation of interrupt-based encoder use on an Arduino that I've ever seen. Brilliant work. I used this code to set up a user input system using only a single encoder - and it works fantastically - responsive, quick, and easily customizable. I have the occasional glitch of a freeze-up when I spin the encoder too fast - but I'm sure I'll figure that out shortly! Just wanted to say thanks for the help that this video has been to me. Cheers!
thanks for watching!
One of the best RUclipsr in this Universe :-) Thank You!
yep, good point. I could have talked about altering the time constant there a little. When I made this video, I don't think I had a clue about that
Thanks for taking the time to explain this so clearly and in such depth. I wasn't looking to use any rotary encoders, but I enjoyed the explanation :)
Thanks for the video Kevin, very well explained and easy to understand the concepts from the way you put them.
Oh the irony, a quick video, that's 26 minutes long, aha I love it!!
Thats really helpful thanks was a bit worried about figuring out how encoders work but your explaination simplies what could easily be quite a complex subject thanks 😉
thanks! I soldered little headers to the encoder. Made it bread-board friendly
awesome question!! I would make some kind of selection circuit that listens for one of the encoders to rotate, then start a timer to 'wait' for that encoder to finish, then resume listening to them all. it would be a fairly complex scheme, guess thats a limitation of the arduino... only 2 interrupts
Thank you very much Kevin for such simple, but informative explantaion. I was afraid of touching encoders, thinkig they are very difficult to operate, but with your excellent explanation, I'm not afraid any more and I'm testing them as we speak. Thank you again!