How to Cure Switch Bounce to Reading the Key

Click For Summary
SUMMARY

This discussion focuses on effective methods to cure switch bounce in electronic circuits. Two primary approaches are highlighted: using analog components such as capacitors and resistors, and implementing software solutions that involve reading the input multiple times. Additionally, the use of cross-coupled NAND gates is recommended for debouncing switches with multiple throws per pole. These techniques ensure reliable key reading in various applications.

PREREQUISITES
  • Understanding of switch bounce and its effects on electronic circuits
  • Familiarity with analog components like capacitors and resistors
  • Basic knowledge of software input reading techniques
  • Experience with digital logic components, specifically NAND gates
NEXT STEPS
  • Research analog debounce circuits using capacitors and resistors
  • Explore software debounce techniques in programming environments
  • Learn about cross-coupled NAND gate configurations for switch debouncing
  • Investigate the impact of switch bounce on microcontroller input readings
USEFUL FOR

Electronics engineers, hobbyists working with switches, and developers designing user interfaces that require reliable key input.

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 17 ·
Replies
17
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · 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
5K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K