3 ms·
I’ve never seen a collection like this, it’s quite amazing. It’s worth pointing out that due to the x1 probe there’s an input capacitance of about 50-60 pF, wh
by formerly_proven 1y ago
I’ve never seen a collection like this, it’s quite amazing.
It’s worth pointing out that due to the x1 probe there’s an input capacitance of about 50-60 pF, which would result in a 200 kHz low-pass for opening and dampen high speed oscillations in general. You can see this in the graphs with the rising transitions being slightly rounded. MCUs have much lower capacitance in their pins, so reality would tend to look even messier than this, especially zoomed in.
- lambdaone 1y agoA bit of analog low-pass filtering and electrical hysteresis definitely helps reject EMI - but you shouldn't use these alone to do debouncing as if you do, you introduce substantial latency for both up and down transitions. The (very simple) software algorithm described above gives you both low latency and complete resistance to bouncing. Combining the two is a complete solution.