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 rise time to trigger the voltage threshold.
This page is best viewed on a desktop/laptop screen
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 high once the switch is released.
| Input | Description |
|---|---|
| High logic level (volts) | The input voltage required by your device to trigger 'high' |
| Final Voltage (volts) | The voltage connected to the pull-up resistor |
| Estimated bounce time (ms) | Enter the time the switch bounces for, OR the time result when the voltage will cross a logical high level. |
| Capacitance (uF) | If you know the capacitor value, enter it here |
| Resistance (ohms) | If you know the resistor value, enter it here |
For more information on switch bouncing, or on the electrical theory behind the debounce calculator, checkout out the following resources