Capacitive Sensing example

Here is a good introduction to capacitive sensing. Read through it to see possible uses and helpful tips for making your own.

Here is my simplified and clarified revision of the example code: https://gist.github.com/ericjforman/8fd70b69a1751588aee1f9fcffa7cd42

Don’t forget to install the CapacitiveSensor library from the Arduino IDE:

  • Go to menu Sketch / Include Library / Manage Libraries, then search for “capacitiveSensor”
  • Select library by “Paul Badger, Paul Stoffregen,” select latest version, click Install

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: