How to Cure Switch Bounce to Reading the Key

AI Thread Summary
To cure switch bounce, methods include using analog components like capacitors and resistors or implementing software solutions that read the input multiple times. The choice between these approaches depends on the specific application requirements. Additionally, cross-coupled NAND gates can effectively debounce switches with multiple throws per pole. Reading the key more than once can enhance reliability in detecting switch states. Overall, selecting the appropriate debouncing method is crucial for accurate key reading.
jyothika
Messages
5
Reaction score
0
how to cure Switch Bounce? is it a good idea to read the key more than once?
 
Physics news on Phys.org
You can do it analogly with a cap and a resistor or you can do it in software by reading the input a few times - it depends on the application.
 
You can also use cross-coupled NAND gates to debounce a switch, if the switch has two throws per pole.
 

Similar threads

Back
Top