Go Down

### Topic: Conductive Rubber (Read 1 time)previous topic - next topic

#### bribrode

##### Oct 20, 2012, 11:41 pm
I have this conductive rubber http://www.adafruit.com/products/519
I'm not quite sure exactly how it works. I also have an Arduino Uno and MP3 shield. I need to set everything up so that when someone tugs on a string (which I would like to connect to the rubber if possible)-it will play a sound

I guess I'm just not sure how to connect the rubber + resistor to the board.

Any thoughts/suggestions would be fantastic.

#### Grumpy_Mike

#1
##### Oct 21, 2012, 01:10 am
Quote
I'm not quite sure exactly how it works.

Make a connection to each end of the rubber. Connect one end to ground and the other to an analogue input pin. Also connect a 10K resistor from the same input pin to +5V. Then do an analogue read to see when it is changed, that means you have pulled it.

#### hilukasz

#2
##### Oct 21, 2012, 06:03 pmLast Edit: Oct 21, 2012, 06:15 pm by hilukasz Reason: 1
Mike is correct in how to get it to work, if you were curious how the science of it works, it's really simple. It works similar to capacitive touch works, what you are really doing is increasing the resistance. By getting closer or touching a surface it takes a longer time to get a reading, hence you can measure the time offset . However, unlike capacitive touch, here you are increasing the distance for the current to travel and in turn increasing the resistance. Also you are decreasing the size of the "wire" (or conductive rubber) so this might have an affect on the resistance too (not sure if measurable? someone can correct me if I'm wrong in this assumption)

check this out if you need an example of how to use it: http://arduino.cc/playground/Main/CapacitiveSensor?from=Main.CapSense
for(i = 0, i < 820480075, i++){ Design(); Code(); delay(1000); } // hellowoo.com

Go Up