Re: de-bounce

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: de-bounce
From: John J. McDonough (wb8rcr@arrl.net)
Date: Fri Feb 27 2004 - 20:06:36 EST


Rich

hehe - these answers are never as straightforward as you would like ... the
answer is "it depends".

If the switch bounce is pretty high frequency, you can pretty much squash it
with a cap.  However, many switches bounce for quite a long time, and the
cap may do more harm than good.

The best thing to do is to look at it with a scope.  If you can dampen the
excursions quickly then it may be a help.  But a couple lines of code are
always cheaper than a cap, so unless you are really pressed for space in
your application I wouldn't even bother.  Also look at your app.  Again, in
many cases some switch bounce isn't a big deal, and you don't even need to
bother with the debounce code.

72/73 de WB8RCR    http://www.qsl.net/wb8rcr
didileydadidah     QRP-L #1446 Code Warriors #35

----- Original Message ----- 
From: "Rich Johnson" <rjohnson390@comcast.net>
To: "Low Power Amateur Radio Discussion" <qrp-l@Lehigh.EDU>
Sent: Friday, February 27, 2004 6:30 PM
Subject: de-bounce


> Given a push button that grounds a pullup that is input to a PIC pin is it
> help the switch bounce if a 0.001uF cap is connected between the switch?
By
> help i mean lessen the switch bounce time?
>
> cheers,
> rich
>
>
>


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Sun Feb 29 2004 - 23:50:08 EST