Re: switch debouncing





Spehro Pefhany wrote:
On Mon, 17 Oct 2005 06:12:58 GMT, the renowned Mac <foo@xxxxxxx>
wrote:


Is there a standard or best way to de-bounce a switch?

After googling for a bit, this seems to be a good candidate:


VCC | \ R1 / \ / | Schmitt | trig inverter | |\ +---/\/\/--+-----| >-- out | R2 | |/ S1 \ = C | | --- --- GND GND


R2 might be 18 k, and R1 82 k, with a 1uF cap as per this article:

http://www.embedded.com/showArticle.jhtml?articleID=18902552

Seems like it should work. Any comments?

--Mac


If it's going into a microcontroller, firmware is almost always the
best way.



Best regards, Spehro Pefhany

Well, if you can arrange things with external hardware so that the switch input is always valid, that is just that much less the firmware has to do- especially if the switch input is a very infrequent occurrence.


.



Relevant Pages

  • Re: switch debouncing
    ... >> Best regards, ... >> Spehro Pefhany ... that is just that much less the firmware ... that on-board pullups typically deliver) but not for the deboucing. ...
    (sci.electronics.design)
  • Re: switch debouncing
    ... >>> If it's going into a microcontroller, ... that is just that much less the firmware ... >>has to do- especially if the switch input is a very infrequent occurrence. ... Something like 5-10 Hz sample rate plays right into ...
    (sci.electronics.design)
  • Re: Firmware for Wireless PCI
    ... I found the firmware in link ... Best regards, ... I intalled the module acx. ... with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: PIC A/D Weirdness
    ... >see if my RA0 is damaged, ... It could also be your firmware. ... Best regards, ... Spehro Pefhany ...
    (comp.robotics.misc)
  • Re: Netgear DG 814
    ... Any idea if the latest firmware will do the trick? ... Regards ... >> Has anyone been able to remotely access a server which is connected to ...
    (microsoft.public.windows.server.sbs)