Arduino and Hardware Debouncing tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 เม.ย. 2015
  • Hardware debouncing the Arduino Interrupt pulse.
    amzn.to/2ifN3FD
    You can help support this channel by using the Amazon affiliate link above for any of you future Amazon purchases. I will receive a small commission from Amazon at no additional cost to you which will enable me to produce continuing content for this channel.
    Thank you for your support.
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    I'm much more of a software guy and handle denouncing of buttons and rotary encoders in my projects problematically, so it was very cool to see that Schmitt trigger in action, thanks!

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

    Thanks for this very clear explanation. Well done!

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

    You actually explained it in a way I can understand!

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

    thats a great, simplified, and clear explanation! keep up the good work ..
    and for arduino users, note that you can make a software debouncer ...

  • @couloms
    @couloms 8 ปีที่แล้ว

    Very good explanation, thanks you for what you do!

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

    Original :) .. every time we used software debouncer! But we needed to go hardcore with this!! THANKS ♡

  • @chandararanget7879
    @chandararanget7879 7 ปีที่แล้ว

    Thank u for your clear explanation, that help me a lot

  • @SusanAmberBruce
    @SusanAmberBruce 2 ปีที่แล้ว

    Thanks for a brilliant video

  • @huynhngocphien5536
    @huynhngocphien5536 6 ปีที่แล้ว

    Thank you very much! It help me in my project.

  • @tamilafali1122
    @tamilafali1122 8 ปีที่แล้ว

    very good explanation! easy and clear! thank you for sharing it with us

    • @mikedcc100
      @mikedcc100 7 ปีที่แล้ว

      Lots of folks can clearly communicate bad information. Ever been to a bar? This channel is like that.

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

    Thank you!

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

    its so usefulr. What is the maximum frequency that can be measured with this circuit?

  • @electronicsafrica
    @electronicsafrica 12 วันที่ผ่านมา

    Heathkit! That's a name from my youth ...

  • @myplasticbricks2239
    @myplasticbricks2239 7 ปีที่แล้ว

    Thank you so much for the explanation. I am just starting Arduino after an almost 30 year hiatus from electronics and programming. Good stuff!

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

    Thank you so much :D You helped me in my project ñ.ñ

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

    شكرا يا هندسه ✌️✌️

  • @shankar0015
    @shankar0015 5 ปีที่แล้ว

    3.56 how capacitor will charge to 5v since resistor drops some voltage...

  • @yehorpererva6803
    @yehorpererva6803 7 ปีที่แล้ว

    Thank you for detailed video! Are the values of resistors and capacitors the same if I'm using 3.3V as input instead of 5?

    • @tmc200527
      @tmc200527  7 ปีที่แล้ว

      Yes you can use the same values or use software debouncing techniques.

    • @yehorpererva6803
      @yehorpererva6803 7 ปีที่แล้ว

      Thank you!

    • @federicodagostino2003
      @federicodagostino2003 2 ปีที่แล้ว

      @@tmc200527 Che valori hai usato?

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

    thank

  • @RyanRoga
    @RyanRoga 7 ปีที่แล้ว

    Is there a way to accomplish this without a Schmitt trigger? I don't have that chip and I need to get this interrupt working...

    • @tmc200527
      @tmc200527  7 ปีที่แล้ว

      You can also use software debouncing method. th-cam.com/video/xvfHu7QIfP0/w-d-xo.html

  • @sudipdhara8752
    @sudipdhara8752 7 ปีที่แล้ว +5

    06:15 If you put the second resistor there, then the output will never be equal to the Ground potential. Instead, it should have been placed just next to the capacitor in series.

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

      a bit late here but still hope you can reply,
      Next to it after the switch and capacitor or before? thanks

    • @user-hc7mi7ft9x
      @user-hc7mi7ft9x 4 ปีที่แล้ว

      @@vladurs6475 just watch this one...way better... th-cam.com/video/9UKM0vlHGkI/w-d-xo.html

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

      @@user-hc7mi7ft9x you linked the same video. maybe paste wrong url?

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

    Sir, can you please provide me its schematic diagram.

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

    @1:15 you are fundamentally wrong! an encoder (at least the most common and cheap ones picked up by diy projects with arduino o the RPi) is exactly a series of mechanical contacts being switched in any direction by free hand! the amount of noise you get between detents is pretty high (and in the cheapest chinese models is insane) so it's MANDATORY to implement a heavy debouncing method, being it by hardware (rc smothing) or software (validation algorythms) or both (most efficient)

  • @venelinpetrov6811
    @venelinpetrov6811 7 ปีที่แล้ว

    if i have 16 buttons how many capacitors do i need?

    • @tmc200527
      @tmc200527  7 ปีที่แล้ว

      I guess it would depend on the topology of your circuit. If you were monitoring one input to see if any one of 16 buttons in parallel was pressed you could use one cap. If you are monitoring 16 separate inputs you would need one cap for each.

    • @venelinpetrov6811
      @venelinpetrov6811 7 ปีที่แล้ว

      It's parallel-in serial-out, so I guess it's the first case. Thank you.

  • @rpasco9352
    @rpasco9352 2 ปีที่แล้ว

    1) You didn't prove that the switch is properly debounced !
    2) Why are there no switch(es) debouncer(s)/switch(es)+debouncer(s) modules available ANYWHERE ???

  • @delightful-ish
    @delightful-ish 4 ปีที่แล้ว

    How do you mess up your sound this badly? Cannot watch.