Step 4: Test it!
Once you get it working, you can take some clear tape and cover up your drawing - this will decrease its sensitivity a bit, but it will keep your drawing from smudging as people touch it.
I've put together a full video game controller with this as part of the UnoJoy project, and there will be a video over at unojoy.tumblr.com in a couple of days.
Remove these ads by
Signing Up







































Visit Our Store »
Go Pro Today »




If you put in different values for that, like
int firstSensor = readCapacitivePin(2);
int secondSensor = readCapacitivePin(3);
you can read whatever Arduino pins you want, as many as you'd like.