Use this calculator to determine what capacitors or resistors you should use to debounce a switch, OR fill in capacitors and resistors and determine the fall time.
This calculator is based around a simple RC filter where the switch input is pulled to ground. The 'estimated bounce time' is the length of time the switch can bounce for, or it can also be thought of how long until the switch level will be detected as low or high.
For more information on switch bouncing, or on the electrical theory behind the debounce calculator, checkout out the following resources
- Ultimate Guide to Switch Debouncing - https://www.eejournal.com/article/ultimate-guide-to-switch-debounce-part-1/
- A Guide to Debouncing - http://www.ganssle.com/debouncing-pt2.htm