Project using the CapSense library for Arduino (http://playground.arduino.cc/Main/CapacitiveSensor?from=Main.CapSense).
In this example we used the Attiny85 microcontroller.
To program the Attiny, we use this tutorial: http://blogdonatanael.blogspot.com.br/2012/04/programando-um-attiny85-usando-o.html