Re: de-bounce

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

Subject: Re: de-bounce
From: Dale Botkin (dale@botkin.org)
Date: Fri Feb 27 2004 - 19:58:43 EST


On Fri, 27 Feb 2004, Rich Johnson wrote:

> 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?

Why would you do with hardware what can so easily be done in software?
Code is free, parts cost money/take up PCB space/break/etc.  Switch
debouncing in software is easy, free, and can be made into a function or
subroutine to be called any time you need it, no matter how many switches
you have to debounce.

Remember my mantra:  The ideal hardware design uses zero parts.  You may
not make it there, but the closer you get the better off you are.  8-)

73,
Dale - N0XAS
-- 
It's a thankless job, but I've got a lot of Karma to burn off.
The NEW Super PicoKeyer offers speed control by pot OR menu!
Check http://www.hamgadgets.com for news.


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