The Arduino Capacitive Sensing Library sometimes doesn't produce very reliable results. Especially when I have code that is supposed to run on other ESP8266-based boards as well, because the GPIOs there seem to have a lower input impedance, higher leakage current. (If someone knows how to make the Arduino Capacitive Sensing Library work reliably on an ESP8266, please tell me anyway.)

So I'm looking for a very basic yet reasonably reliable capacitive touch sensing circuit which will work with a custom sensor made out of aluminium foil, approximately the area of a human hand, as well as support both Arduino and ESP8266 (ESP-01S, NodeMCU, ...).

  • 1
    not an Arduino specific question ... the resulting circuit would work for any microcontroller
    – jsotola
    Oct 14 at 1:40