Switch De-Bounce Using Schmitt

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024

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

  • @fdavpach
    @fdavpach Месяц назад +2

    This is my favorite way of de-bouncing buttons, as an extra thing, on many microcontrollers (if not all modern ones) you can save using the Schmitt trigger IC since many already have one on the input circuitry, the external IC is mainly needed for old components an when used with other components like logic gates.
    You can take a look, for example for the ATMEGA4809 on the datasheet is on page 142
    Good video as always

  • @agranero6
    @agranero6 4 месяца назад +3

    In older electronic circuits before microcontrollers we always used Schmitt triggers (7413 if I remember correctly), for de-bouncing and as input to frequency counters, then this disappeared.

    • @paulpkae
      @paulpkae  4 месяца назад +2

      Thanks for the comment. Schmitt triggers are still very common, but you now find that many devices have Schmitts built into their inputs already.

  • @SusanAmberBruce
    @SusanAmberBruce 4 месяца назад +1

    Very well covered explanation thanks

    • @paulpkae
      @paulpkae  4 месяца назад +1

      Thanks again for your comment. More great videos coming including some exciting product reviews,

  • @Wil_Bloodworth
    @Wil_Bloodworth 4 месяца назад +1

    Very nice. Thank you!

  • @dainazinas
    @dainazinas 4 месяца назад +1

    Very good video thanks. But Arduino you are using is old nano atmega 328.

    • @paulpkae
      @paulpkae  4 месяца назад

      Thanks. It's actually it's an Arduino Nano Every, using ATMEGA4809.
      The example method given for measuring the internal pullup resistor can be applied to any microcontroller.

  • @mikeadler434
    @mikeadler434 2 месяца назад +1

    👍👍

  • @t1d100
    @t1d100 4 месяца назад +1

    A good tutorial. Thanks! Glad I found you. Sub'd!

    • @paulpkae
      @paulpkae  4 месяца назад +1

      Thanks for the comment and especially for Subscribing (it helps a lot!).

  • @amitvishwakarma5054
    @amitvishwakarma5054 4 месяца назад +1

    which software you are using ?

    • @paulpkae
      @paulpkae  4 месяца назад +1

      Hi, thanks for the comment. I'm not sure which "software" you are referring to; so here's a list of some tools I use in video production:- OBS for Video Recording, ShotCut for Video editing, Powerpoint for slides and animations, Gimp for image creating or editing, Canva for thumbnails and other images,

  • @Shocker99
    @Shocker99 Месяц назад +1

    I'm not convinced with your explanation.
    Digital inputs already have hysteresis; so would would another device that also adds hysteresis add anything different. The magic sauce is the capacitor with the Schmitt trigger or just a regular input with hysteresis built in, which all modern digital electronics have.

    • @paulpkae
      @paulpkae  Месяц назад

      Good point. If the input device already incorporates hysteresis (normally shown on the schematic with a schmitt symbol) then it is not necessary to add the schmitt IC. However, the capacitor/resistor arrangement are still fairly essential because the upper/lower voltage peaks of the switch bounce will exceed the thresholds.
      Just to note though, not all inputs/devices incorporate hysteresis.

    • @Shocker99
      @Shocker99 Месяц назад

      @@paulpkae "not all inputs/devices incorporate hysteresis.", the hysteresis is stated in the specifications of digital electronics. Each logic family has their own hysteresis margins; so i'm not convinced by your statement. I'll happily watch a video of you proving the statement though. :)

  • @jjones503
    @jjones503 Месяц назад +2

    This video is full of Schmitt. .. 😬