How does an incremental mechanical rotary encoder work

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • How does an incremental mechanical rotary encoder work
    incremental Encoder, Arduino, Optical Encoder, Tutorial, Shaft Encoder, Quadrature Encoder, Magnetic Encoder, Electronics, Linear Encoder, Absolute Encoders
    Rotary encoder basics: • Arduino Basics Rotar...
    Rotary encoder howdy do: • Rotary Encoder Howdy Do
    Rotary encoder part 2: • Rotary Encoders II
    RotaryEncoder-1.3.0: downloads.ardui...
    Brain Low's Rotary: github.com/bri...
    Mathertel's RorayEncoder: github.com/mat...
    5 boards for about $22 in about 7 days www.pcbway.com
    CyberCityCircuits: - Electronic kits, subscription boxes, tools and components.
    My Amazon link: Anything you buy through this link helps support the channel, it doesn't cost you extra, and I make a few%. amzn.to/3706t6c
    Yes!! I now have merch: teespring.com/... Electronics themed T-ShirtsIf you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ www.amazon.com...
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
    ---------------------------------------------------------------------------------------------------------------------
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    ----------------------------------------------------------------------------------------------------------------------
    Here is all the gear I currently use:
    Oscilloscope 1: Rigol 1054Z amzn.to/2PRybtN
    Oscilloscope 2: Siglent SDS1202X-E amzn.to/31Kk1yH
    Power Supply 1: TekPower TP3005N amzn.to/2TeQnxI
    Power Supply 2: RUIDENG DP50V5A amzn.to/2sNicSe
    Signal Generator: JS2800 ban.ggood.vip/...
    DMM1: Owon18B amzn.to/2SbIGLs
    DMM2: Aneng 8008 amzn.to/2sNQncI
    DMM3: Aneng 8009 amzn.to/2S5qeEp
    DMM4: Uni-T UT801 amzn.to/2S89SuL
    Soldering Station1: Zeny (Yihua)862D+ amzn.to/2S49z4e
    Soldering Station2: KSGR T12 amzn.to/2Wk7Dn9
    Light Meter Smart Sensor AS803 amzn.to/2B2gyRg

ความคิดเห็น • 41

  • @quahntasy
    @quahntasy 4 ปีที่แล้ว +7

    *I have one of these. I always wondered how they worked. Thanks for this video*

  • @moebiusfan9545
    @moebiusfan9545 4 ปีที่แล้ว +5

    Nicely done. Appreciate you showing the detailed steps. It's great, too, IMHO that you show the wrong forks in the road that happen. Like trying to use the mm probes on the breadboard then switching to the wire. I believe those are important teaching moments for beginners.

  • @bmbm2901
    @bmbm2901 4 ปีที่แล้ว

    it is another video about cows and calves, without any background or explanation of how things work. look boys, the light is working, we learn so much from this!

    • @learnelectronics
      @learnelectronics  4 ปีที่แล้ว

      I explained exactly how it works. If you can't grasp the material, I don't know what to tell you.

  • @davidmoran4471
    @davidmoran4471 4 ปีที่แล้ว

    I watched you other rotary encoder video from about 3 years ago. I believe that you instruct at a good level, not too basic and generally not too advanced. Thanks Paul

  • @acestudioscouk-Ace-G0ACE
    @acestudioscouk-Ace-G0ACE 4 ปีที่แล้ว

    I've never come across a rotary encoder, so I learnt something today.

  • @global-sequence
    @global-sequence 3 ปีที่แล้ว

    Paul, I'm about 6 months new to electronics and a lot of videos for things on the internet are confusing or don't 'click' with me, or sometimes abstract the concept even more and make something simple seem much more complicated. Every time I'm trying to learn a certain concept and I come across a video by you, I'm immediately relieved because you are able to explain things directly, clearly, and precisely. Thanks for being a great teacher.

  • @MikeysLab
    @MikeysLab 4 ปีที่แล้ว

    Awesome timing, In the decades of hobby electronics, I have never used one of these before, and I just happen to be working on a project that needs them, Thank you! awesome video as always.

  • @leegoodair4678
    @leegoodair4678 4 ปีที่แล้ว

    Thanks for taking the time to explain how a rotary encoder works Paul, I have learned a lot from your channel 👍😎

  • @virgilharsell7463
    @virgilharsell7463 4 ปีที่แล้ว

    Hey Paul. Another good one. Keep the details coming. The information may not be relevant immediately but we are getting a great resource library to come back to in the future.

  • @seanchallenge
    @seanchallenge 4 ปีที่แล้ว +1

    Excellent this is the first video I have learnt about rotary encodes. Please make a video including the denouncing ZS5X

  • @Electronzap
    @Electronzap 4 ปีที่แล้ว +2

    I wish these modules came with datasheets.

  • @keithking1985
    @keithking1985 4 ปีที่แล้ว

    Really love the quality of your recent videos 100k roll on😊👍

  • @bomberoo243
    @bomberoo243 4 ปีที่แล้ว

    I'll check out the videos in the description. But as a newer-to-electronics person I found the step through helpful. Never noticed the blue and red rails on the bread board referenced to power and ground. Definitely gets glossed over/people who teach this stuff get desensitized over time, I'm certain of that. Thanks

  • @GORF_EMPIRE
    @GORF_EMPIRE 4 ปีที่แล้ว

    If you have an old Atari 2600 Driving controller you can use that for encoder experiments. It's not the paddles which have two per cable but the one that looks just like the paddle controllers except it only has one device per cable. Arcade machine games like Tempest and Missile command use optical encoders which are similar. The Missile command uses two of these for the x and the y direction for the track ball and the old style ball mouses also use optical encoders. Essentially the same thing going on...the direction is determined by which pulse arrives first.

  • @eebaker699
    @eebaker699 4 ปีที่แล้ว

    I like the details for beginners like me. Thank you.

  • @ChrisHalden007
    @ChrisHalden007 3 ปีที่แล้ว

    Very good video. Thx!

  • @richardrife1942
    @richardrife1942 ปีที่แล้ว +1

    Can you explain why the 5v is required for this device? Rotary encoders not mounted on the small circuitboard as the one you’re using also can have five terminals but none of them are labeled +5v, so that’s got me confused. Thanks.

  • @electronic7979
    @electronic7979 4 ปีที่แล้ว +1

    Helpful video 👍

  • @frankhellman6879
    @frankhellman6879 4 ปีที่แล้ว

    Newb here. Thanks for the clean explanation.

  • @TBL_stevennelson
    @TBL_stevennelson 4 ปีที่แล้ว

    I always wondered what the best size wire for probes.
    What does everyone use.
    Great Video as always.

  • @miriamramstudio3982
    @miriamramstudio3982 4 ปีที่แล้ว

    Very useful. Thank you !!

  • @DIYwithBatteries
    @DIYwithBatteries 4 ปีที่แล้ว

    Trimpots too.. we can get exact! X3

  • @lingcod91
    @lingcod91 4 ปีที่แล้ว

    Oh yeah . . . when the volume control goes tits-up on your Home A/V 28 channel super-duper unit . . . good luck DIY repairing. Down With Digital . . . Long Live Analog. Digital isn't all bad but there are drawbacks. Just an old school fuddy-duddy's opinion. Like your channel so far.

  • @stevetobias4890
    @stevetobias4890 4 ปีที่แล้ว

    Cool video, great work

  • @OUTLAW-WELT
    @OUTLAW-WELT 2 ปีที่แล้ว

    Is there a way to change the encoder to 2 push buttons instead, one click is CW and one click is CCW ???

  • @martinten5236
    @martinten5236 ปีที่แล้ว

    Hi, do you thinks it's possible to connect two of these encoders in pararel? Thank you

  • @frankowalker4662
    @frankowalker4662 4 ปีที่แล้ว

    Could you show us how to de-bounce?

  • @MikeysLab
    @MikeysLab 4 ปีที่แล้ว

    Quick question, I hate debouncing in software, it is a hardware problem :), and with buttons will use a combination of a couple resistors, a cap and a 74HC14 to get clean switch signals, do you think this technique will work for the clk and dt pins? I ask as I am concerned about speed.

  • @markday3145
    @markday3145 4 ปีที่แล้ว

    I’ve got some cheap incremental encoders that bounce something fierce. Trying to sample multiple times to detect a state change is useless; too much bouncing; it doesn’t stay stable long enough. I have to detect the initial edge, then just ignore the pin for a while. Just increment or decrement from an interrupt routine is useless because of the bouncing. Even a capacitor has a tough time smoothing it enough. I know: I need to buy better parts. 🙄

    • @barry2718
      @barry2718 4 ปีที่แล้ว

      Use a hex contact CMOS debouncer IC. MC14490

  • @jayosborne1147
    @jayosborne1147 4 ปีที่แล้ว

    I have a few micro stepper motors and I was wondering how to control them with a micro controller?
    I have seen a video that says you can control them without a driver but I thought that could damage your chip. And you need to use a diode.
    Also can you control them from a small chip ? Like ATtiny85

  • @Kang38290
    @Kang38290 4 ปีที่แล้ว

    is it possible to multiply or increase a voltage with only two resistors?

    • @TheEmbeddedHobbyist
      @TheEmbeddedHobbyist 4 ปีที่แล้ว

      Two resistors allow you to make a potential divider, where the voltage across one resistor is some where between the voltage placed across the two resistors. Look up resistor potential dividers for more information. just using resistors it is impossible to multiply or increase a voltage. my the very nature of resistors, they consume power not generate it.

  • @michaelpadovani9566
    @michaelpadovani9566 4 ปีที่แล้ว

    Don't have a RE, I got around that by using a pot and checking various voltage ranges in software to advance or retract a counter. Poor man's version? Lol.

  • @eddy2561
    @eddy2561 2 ปีที่แล้ว +2

    There's some really junk rotary encoders out there.......

  • @miketoreno4969
    @miketoreno4969 4 ปีที่แล้ว

    Hello

  • @vicvega7975
    @vicvega7975 ปีที่แล้ว

    Im goin to probe my girlfriend 🤔

  • @dukeeod1650
    @dukeeod1650 4 ปีที่แล้ว

    Great video, I finally know how one of those things works. Thanks Paul..