Quite frankly I'm in a state of disbelief that you've had this video posted since 29 April 2022. It seems impossible that I be the first comment since then! De-bouncing mechanical contacts is a gateway topic when entering the digital electronics! Analog techs and engineers rarely had to deal with this phenomenon but it's imperative that it be addressed in the digital electronics. I'm an old retired EET. My first scope was an old Dumont. It had a bandwidth barely above a radio's (455Kz) I.F. stage! Back in those days switch or relay bounce wasn't even on my radar. Our employers owned Tektronix that we wheeled around on scope carts. Even those old girls had a bandwidth of only 10MHz and costed more than my house! You did an excellent job here and I hope my post will "trigger" ( a digital word😊 ) discussions, including discrete Schmitt Trigger designs. Good luck with your channel. BTW, I still own the ubiquitous HP-410-B! Wakodahatchee Chris
Thank you so much for this detailed post. Much appreciated. There is a lot to be said for the old analog equipment and even more so, knowing how to use it. I too am hoping that more people will look at this and see some value. Though, TBH, most of my channel is devoted to machining. It is a part of a (much delayed) project to add a motor to my milling machine's X-axis feed. I totally agree with you about the "gateway" topic. I stumbled on it initially because I found that my cheap rotary encoder was giving me inconsistent results. Well, one thing lead to another and I found that there were a fair number of recommendations on the values of the resistors and capacitors. I just wanted to "see" the results for myself.
thanks a lot for this video, which helps to easily set up the optimal debounce circuit . I am using a lot of rotary encoders and have tried all kinds of software solutions. It works well, but sometimes you still have glitches. INTERRUPTS are always tricky and good for a surprise ! This time i will go back to the basics and choose a clean electronic solution. ..... besides its an honour for me to use a SCHMITT trigger - because this is actually my family name. greetings from germany Bernd Schmitt
I'm so glad to have been of help! Ich spreche nur ein wenig Deutsch. But if you reply in German, I will be lost😄. A Schmitt trigger is such a cheap and useful device. LogiSwitch LS10 is an IC specifically for debouncing, and I believe it is quite robust. But it has about 20 ms debounce time, whereas rolling your own lets you adjust it to whatever you want. And the chip may be $2-3 each.
Quite frankly I'm in a state of disbelief that you've had this video posted since 29 April 2022. It seems impossible that I be the first comment since then! De-bouncing mechanical contacts is a gateway topic when entering the digital electronics! Analog techs and engineers rarely had to deal with this phenomenon but it's imperative that it be addressed in the digital electronics. I'm an old retired EET. My first scope was an old Dumont. It had a bandwidth barely above a radio's (455Kz) I.F. stage! Back in those days switch or relay bounce wasn't even on my radar. Our employers owned Tektronix that we wheeled around on scope carts. Even those old girls had a bandwidth of only 10MHz and costed more than my house!
You did an excellent job here and I hope my post will "trigger" ( a digital word😊 ) discussions, including discrete Schmitt Trigger designs.
Good luck with your channel. BTW, I still own the ubiquitous HP-410-B!
Wakodahatchee Chris
Thank you so much for this detailed post. Much appreciated. There is a lot to be said for the old analog equipment and even more so, knowing how to use it.
I too am hoping that more people will look at this and see some value. Though, TBH, most of my channel is devoted to machining.
It is a part of a (much delayed) project to add a motor to my milling machine's X-axis feed. I totally agree with you about the "gateway" topic. I stumbled on it initially because I found that my cheap rotary encoder was giving me inconsistent results. Well, one thing lead to another and I found that there were a fair number of recommendations on the values of the resistors and capacitors. I just wanted to "see" the results for myself.
@@7alfatech860 Why am I not surprised! I have an old Logan 920 (1945) and a South Bend H10 (1965). No Mill though.
I got the word too dude ;)
thanks a lot for this video, which helps to easily set up the optimal debounce circuit .
I am using a lot of rotary encoders and have tried all kinds of software solutions. It works well, but sometimes you still have glitches. INTERRUPTS are always tricky and good for a surprise !
This time i will go back to the basics and choose a clean electronic solution.
..... besides its an honour for me to use a SCHMITT trigger - because this is actually my family name.
greetings from germany Bernd Schmitt
I'm so glad to have been of help! Ich spreche nur ein wenig Deutsch. But if you reply in German, I will be lost😄.
A Schmitt trigger is such a cheap and useful device. LogiSwitch LS10 is an IC specifically for debouncing, and I believe it is quite robust. But it has about 20 ms debounce time, whereas rolling your own lets you adjust it to whatever you want. And the chip may be $2-3 each.
Thank you