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
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.
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.
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,
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.
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.
@@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. :)
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
Thank you.
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.
Thanks for the comment. Schmitt triggers are still very common, but you now find that many devices have Schmitts built into their inputs already.
Very well covered explanation thanks
Thanks again for your comment. More great videos coming including some exciting product reviews,
Very nice. Thank you!
Very good video thanks. But Arduino you are using is old nano atmega 328.
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.
👍👍
A good tutorial. Thanks! Glad I found you. Sub'd!
Thanks for the comment and especially for Subscribing (it helps a lot!).
which software you are using ?
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,
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.
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.
@@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. :)
This video is full of Schmitt. .. 😬
:)