Re: switch debouncing
- From: Mac <foo@xxxxxxx>
- Date: Tue, 18 Oct 2005 03:23:25 GMT
On Mon, 17 Oct 2005 09:59:19 -0400, 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.
>
No. It will be going to a logic gate.
>
> Best regards,
> Spehro Pefhany
.
- Follow-Ups:
- Re: switch debouncing
- From: riscy
- Re: switch debouncing
- References:
- switch debouncing
- From: Mac
- Re: switch debouncing
- From: Spehro Pefhany
- switch debouncing
- Prev by Date: Re: switch debouncing
- Next by Date: Re: Extending the Life of a Rechargable Battery
- Previous by thread: Re: switch debouncing
- Next by thread: Re: switch debouncing
- Index(es):
Relevant Pages
|
Loading