Arduino capacitive proximity sensor with a square-wave signal generator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Sketch for a capacitive proximity / touch sensor with Arduino. This sensor based on a square wave generator rather than charge time measurement as the popular CapSense library. This design results in very stable sensor readings and it also works from a battery. It is compatible with virtually every Arduino board and even with most ATtiny chips. The sketch depends on my Arduino frequency counter library.

For details and the hardware description, visit