TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Switch bouncing reference traces for a variety of different switches

51 pointsby luu17 days ago

5 comments

formerly_proven17 days ago
I’ve never seen a collection like this, it’s quite amazing.<p>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.
评论 #43885929 未加载
dtgriscom17 days ago
The big question is whether there are spurious transitions from noise or EMI. Generally, the pull-up or pull-down is strong enough so that, except while switching, the raw signal will stay reliably high or reliably low. If this is true, then you can act as soon as you see the first change in the raw signal. Then you have a time constant before you will consider a change in the opposite direction to be valid. That way, no matter how quickly the user taps a button, you will a) act as soon as possible, and b) not miss a tap.
评论 #43885681 未加载
评论 #43885593 未加载
ChrisGammell17 days ago
I always refer to this multipart series on debouncing from one of the greats of embedded, (the now retired) Jack Ganssle<p><a href="https:&#x2F;&#x2F;www.ganssle.com&#x2F;debouncing.htm" rel="nofollow">https:&#x2F;&#x2F;www.ganssle.com&#x2F;debouncing.htm</a>
londons_explore17 days ago
Mechanical bouncing should be pretty predictable - ie. A particular bit of metal briefly resonating at a frequency based on the speed of sound in the material.<p>However, these traces look more chaotic.<p>Anyone know why?
评论 #43885932 未加载
评论 #43885912 未加载
评论 #43896192 未加载
评论 #43885940 未加载
nickdothutton17 days ago
Knew this would be good, was not disappointed.Glad I don&#x27;t work in hardware.
评论 #43888584 未加载
评论 #43886279 未加载
评论 #43885736 未加载