crocontroller discussion list
: I'm looking to debounce a normally closed switch with no delay on the
: opening. Does any one have any suggestions?
I'm not sure what you mean, since a switch can only bounce as it makes,
not as it breaks (the bouncing is a mechanical effect) unless you have a
really high voltage across it (which may then arc over, probably causing more
problems that a bounce!).
So you only need a small delay (10ms should see it) when "closing" to
debounce the switch fully.
If you want a hardware debouncing circuit then most digital interfacing books
have circuits though these are usually based on change over switches and a
flip-flop. Giving more circuitry than a typical pic app usually wants/needs
:-) This could be done in software on a pic (a zero delay solution), but
would then require two valuable I/O pins per switch!
Finally I believe (quoting from a dim memory) switches that don't bounce are
available, these use mercury wetted contacts to physically bridge the bounce
gap, but these will cost more, may be difficult to obtain and may not be the
right shape/size for your application.
Hope this is correct/helps etc... ;-)
: Thank you in advance.
: Derrick Early
More... (looser matching)
- Last day of these posts
- In 1995
, 1996 only
- New search...