How to Cure Switch Bounce to Reading the Key

Click For 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

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 17 ·
Replies
17
Views
909
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K