RC delay reset and debounce
RC threshold delays, switch debounce check and TPS3808 capacitor-programmed reset delay.
Development preview. Check the assumptions below before relying on a result. Calculations run in your browser.
How it calculates
Model: Rise from 0: −RC ln(1−VT+/VCC); fall from VCC: −Rdischarge C ln(VT−/VCC)
Assumptions
- A single bounce excursion from a fully settled endpoint is checked. Repeated bounce with incomplete recharge can accumulate; this is not a guarantee for arbitrary switch waveforms.
- The discharge resistance is the total switch-side path; use a Schmitt input, not an ordinary logic input, for slow edges.
Worked example
These are the calculator's default inputs. Change any input above to recalculate.
Inputs
- Model
- RC / debounce
- RC charging resistance
- 10000 Ω
- Switch/discharge-path resistance
- 1000 Ω
- RC or CT capacitance
- 0.000001 F
- RC supply
- 3.3 V
- Upper threshold
- 2 V
- Lower threshold
- 1 V
- Longest single bounce excursion
- 0.005 s
Results
- Rising delay
- 0.00931558 s
- Falling delay
- 0.00119392 s
- Single-excursion rejection margin
- -0.00380608 s