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

Комментарии • 288

  • @makinbacon21
    @makinbacon21 2 года назад

    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.

  • @frankleonardo1291
    @frankleonardo1291 5 лет назад +1

    Almost 7 years later and people are still finding this tutorial excellent, Thanks Kevin!

  • @robosergTV
    @robosergTV 10 лет назад

    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

  • @ewncilo
    @ewncilo 5 лет назад

    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

  • @samfosteriam
    @samfosteriam 8 лет назад

    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!

  • @GoChrisGo_xyz
    @GoChrisGo_xyz 6 лет назад

    I have been looking for a well-explained tutorial on this for a while thank you so much!!! This was exactly what I needed.

  • @michaelhawthorne8696
    @michaelhawthorne8696 10 лет назад

    That was a very clear explanation of this device, thank you Kevin.

  • @avluis86
    @avluis86 9 лет назад

    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.

  • @dannymcc777
    @dannymcc777 11 лет назад

    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!

  • @pauljarvey
    @pauljarvey 11 лет назад

    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!

  • @Kevindarrah
    @Kevindarrah  10 лет назад

    thanks for watching!

  • @LearningToFly77
    @LearningToFly77 9 лет назад +2

    One of the best RUclipsr in this Universe :-) Thank You!

  • @Kevindarrah
    @Kevindarrah  11 лет назад

    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

  • @sicklebrick
    @sicklebrick 9 лет назад

    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 :)

  • @danskifpv
    @danskifpv 9 лет назад

    Thanks for the video Kevin, very well explained and easy to understand the concepts from the way you put them.

  • @paulbreen911
    @paulbreen911 10 лет назад +4

    Oh the irony, a quick video, that's 26 minutes long, aha I love it!!

  • @61barrackroad
    @61barrackroad 9 лет назад +1

    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 😉

  • @Kevindarrah
    @Kevindarrah  11 лет назад

    thanks! I soldered little headers to the encoder. Made it bread-board friendly

  • @Kevindarrah
    @Kevindarrah  11 лет назад

    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

  • @vladstrulev
    @vladstrulev 9 лет назад

    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!