Capacitive sensing

We are exploring capacitive sensors with the Arduino Capacitive sensing library.

Circuit for capacitive sensor

  • Connect the send pin to digital pin 4 and receive pin to digital pin 2. We will use a 10M resistor.
  • We can connect as many sensors as there are digital pins on the Arduino.
  • Download the Arduino code here.
  • Try connecting the receive pin to different things with an alligator wire and see what happens.
  • Note: These capacitive sensors need a stable ground signal. Easiest way is to plug your computer or Arduino into the wall outlet.