Any alternative for switch debouncer?

crutschow

Joined Mar 14, 2008
34,464
I just have op-amp, cap, resistor, diode, BJT, Mosfet, fuse. Is it possible for building a switch debouncer?
I assume you have a resistor in series with the opto input to limit the current (or you should).
Just add a capacitor from the opto input to ground.
Select the capacitor to form a RC time-constant of about 100ms or more.
 
Last edited:

takao21203

Joined Apr 28, 2012
3,702
I know that "By using RC with NOT gate" can make a switch debouncer. (like circuit below)

However, I don't have a NOT gate on hand.

Can anyone suggest an alternative for building a hardware debouncer?

No need answer for:

1. Hardware Debouncing
2. R-C Debouncing
3. Software Debouncing
4. Using Debouncing IC’s

View attachment 105142
What is the meaning of :

Code (Microchip Assembler):

  1. DelayCy (10*msecs)
Is it a function provided in Microchip Assembler already? Please explain more.
What is the meaning of :

Code (Microchip Assembler):

  1. DelayCy (10*msecs)
Is it a function provided in Microchip Assembler already? Please explain more.
Please....

Dschoonnnn!!!!
 

be80be

Joined Jul 5, 2008
2,072
Tommy Tsang Look at post 21 then think about it a fet or a optocoupler can be used as a not gate easily.
Npn if voltage, If not voltage.
A 2n7000 mosfet if voltage, If not voltage. Or something similar.
Optocoupler If light, If not Light. light is from led inside
All three give a not state.
 
Top