See the relationship before changing it
The figure reads from left to right. The blue card is capacitive sensor gap. The middle card applies this page's rule. The green card is rc timer delay. Walk the arrows once: set the input, apply the rule, then read the result with its unit.
The retained audit below checks several chapter fixtures. This model keeps those stated values fixed and changes only capacitive sensor gap, so the numeric fixture does not switch without explanation.
Derive the baseline in four named moves
- 1
Name the input. The chapter baseline is 5 mm.
- 2
Name the relationship. delay = 0.061356 us mm / gap
- 3
Substitute with units. 0.061356 / 5 = 0.012 us
- 4
Read the result. Keep the unit beside the value. Use it only inside the technical boundary on this page.
Predict, then change capacitive sensor gap
Try Predict the direction of delay = 0.061356 us mm / gap. Test another capacitive sensor gap, then compare rc timer delay.
Observe A wider plate gap lowers capacitance and shortens the resistor timer delay. Reset capacitive sensor gap to 5 and compare rc timer delay.
Explain A wider plate gap lowers capacitance and shortens the resistor timer delay.
Check yourself
What should you do before trusting a moved-control result?
What does this small model leave out?
1. Separate quantity from signal
The wanted quantity is gap d. The electrode changes capacitance C. Firmware still needs a circuit that turns C into a measurable time.
2. Derive capacitance
GeometryTwo facing conductors store opposite charge.
Field lawC=ε0εrA/d.
Inverse linkHalve the gap and ideal capacitance doubles.
3. Turn capacitance into time
A resistor charges the electrode toward VDD. A half-supply comparator trips when the exponential has covered half the gap.
Measure t, invert for C, then invert again for d.
4. Try the object gap
TryMove an ideal object toward the chapter's 1 cm² air-gap electrode.
ObserveAt 5 mm, C is 0.177 pF and the ideal half-supply time is 12.3 ns. At 1 mm, both become five times larger: 0.885 pF and 61.4 ns.
ExplainThe RC timer preserves the inverse-gap ratio because time is directly proportional to capacitance when R and the comparator threshold stay fixed.
Parallel plates
- fringe fields
- Needs separate evidence
- object shape
- Needs separate evidence
- shielding
- Needs separate evidence
- humidity
- Needs separate evidence
- nearby conductors
- Needs separate evidence
- cable capacitance
- Needs separate evidence
- parasitic capacitance
- Needs separate evidence
- input leakage
- Needs separate evidence
- comparator delay
- Needs separate evidence
- timer resolution
- Needs separate evidence
- Real touch controllers often measure charge transfer or oscillation frequency instead of this one-shot half-supply time
- Needs separate evidence
Use field evidence or a deeper model before release.
5. Work the 5 mm case
6. Move five times closer
The comparator output may look digital, but the count still encodes electrostatic geometry and an analogue RC threshold.
7. Check yourself
What doubles when the ideal gap halves?
Why can a GPIO not read farads directly?
What two laws does the firmware invert?
These are the chapter inputs, worked results, and named teaching assumptions.
- 1 cm² electrode
- Distance, wavelength, or size
- air gap
- Chapter input or worked result
- 100 kΩ resistor
- Resistance or impedance value
- 1–5 mm examples as catalog-typical teaching values
- Named teaching assumption
They reproduce 0.177/0.885 pF and 12.3/61.4 ns under an ideal parallel-plate model; they are not a calibration curve for a real proximity product.
Phoebe guides