How to debounce a button (Hardware approach)

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มี.ค. 2021
  • Hello and Welcome to my channel! In this Video I will explain you how to debounce a button. I will guide you step by step through the Hardware circuit. If you enjoyed this video, give a thumbs up and subscribe 😊 If you have a question, write it down in the comments section. I will answer it as soon as possible.
    If you want me to explain a certain topic in a video let me know in the comments! Thanks for watching and see you in the next video 😊
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @arezooslt1236
    @arezooslt1236 6 วันที่ผ่านมา

    Thank you so much, it was so helpful

  • @willibaldkothgassner4383
    @willibaldkothgassner4383 2 หลายเดือนก่อน

    Thank you, perfect explanation and very easy to follow and understand even for non english speaking people!❤❤❤

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

    Excellent explanation, thank you!

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

    Great tutorial, instant save to my electronics playlist for later reference. I had heard of Schmitt triggers but haven't used them so far, and this was a great basic overview of them. Thanks so much, this should help me debounce a vibration sensor I'm working with.

  • @stalwartekwere2157
    @stalwartekwere2157 3 หลายเดือนก่อน

    Good I read this today. And I'm seeing the practical way of implementing it. Thanks.

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

    Great tutorial: simple, but not too simple.

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

    A great option for debouncing! Thank you sir.

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

    Thanks! What I've been looking for.

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

    Perfect vídeo. Thanks.

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

    Thanks for the good video. Few comments: 1) add values for the R & C and explain the effect on the down/up time (and of course on the no-interrupts time) 2) Give a specific Schmidt Trigger reference (i.e. H11L1 ). 3) Usually such debouncers are connected to GPIO, specifically to interrupt. It could be nice to see that connection as well.

    • @j.a.seabrook2676
      @j.a.seabrook2676 2 ปีที่แล้ว +1

      Is a H11L1 not a Isocom Transistor output Optocoupler?

  • @roguetimz
    @roguetimz 7 หลายเดือนก่อน

    Subscribed! Your explanations are clear and concise.

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

    very clear and nice explanation thanks

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

    if you want me to explain a certain topic in a video let me know in the comments!
    Thanks for watching and see you in the next video 😊

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

    Nice one!
    I would advise you to also get into the values of the resistors and the capacitator somewhat more.
    Or make a different video about that issue with a link in the debounce video. 🙂

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

      I have seen a similar video they said 100 ohm for R1 and 10 ohm for R2 with a .47uF cap.

  • @MadMatty72
    @MadMatty72 4 หลายเดือนก่อน

    Nice, thx

  • @0MoTheG
    @0MoTheG 3 หลายเดือนก่อน

    Would not a delay RCRC+SchTrig and comparison NXOR be better?

  • @lukaskolinsky8639
    @lukaskolinsky8639 7 หลายเดือนก่อน

    Ehrenmann!

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

    👍👍👍

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

    ❤️❤️❤️

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 6 หลายเดือนก่อน

    👍

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

    Why are there no switch(es) debouncer(s)/switch(es)+debouncer(s) modules available ANYWHERE ???

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

    Can i ask the value for R2? 1K Ohm or anything else ?

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

    is this bad when you want a fast response from a button can someone get away without denouncing
    how much delay does it introduce to the circuit?
    how much time is the delay of this process? and how to lessen the impact and improve response?

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

      If you want low latency and reliable debouncing, I'd recommend using a double throw switch and latched debouncing. You can do this either using separate IO pins for the NC and NO contacts, or you can connect NC and NO to opposite rails, and use a non-inverting buffer with positive feedback to maintain state during a bounce. This will latch into the correct state on the first edge of the closed, and the delay added is whatever the propagation delay is for the buffer you choose, generally some nanoseconds. There are a whole bunch of different kinds of logic, transceiver, or line driver ICs that can be used for this purpose.
      Delay or RC filter based debouncing on the other hand usually takes a few to tens of milliseconds. Most people are able to click somewhere between 10 and 20hz, so if you need more than ~25ms to determine what state the switch is in, you have problems missing valid inputs, Also a problem is that some switches bounce for a long time, so much so that a bad debouncing method might both miss valid inputs and also generate spurious inputs.

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

    Christ sake, do something about the intro and outro volume, its nearly popped my speakers.

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

    Hello,
    Sir there is a utube video that has gotten me tied up in arduino for months now that was explained as just download and your done... I'm not stupid but I bit the hook and am getting my tail kicked bad. I'm about to throw a couple hundred bucks out the door if this next attempt doesn't work. What I was wondering if you hire your Arduino knollage out ? I have books and all the tutorials I can find. But.... Thanks Bob H.

  • @9700784176
    @9700784176 7 หลายเดือนก่อน

    you are an excellent teacher. Thank you