Re: switch debouncing
- From: Pooh Bear <rabbitsfriendsandrelations@xxxxxxxxxxx>
- Date: Mon, 17 Oct 2005 20:04:48 +0100
Mac 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?
With those resistor values the 'debounce time' wil be very different
for opening and closing the switch.
Graham
.
- Follow-Ups:
- Re: switch debouncing
- From: Rich Grise
- Re: switch debouncing
- References:
- switch debouncing
- From: Mac
- switch debouncing
- Prev by Date: Re: SDRAM stable ?
- Next by Date: Re: Enclosure temperature query
- Previous by thread: Re: switch debouncing
- Next by thread: Re: switch debouncing
- Index(es):
Relevant Pages
|