Go Down

Topic: Pressure mat (Read 2 times) previous topic - next topic

max246

I am looking for a pressure mat and I found this topic: http://arduino.cc/forum/index.php/topic,10265.0.html
I want to buy this one: http://www.maplin.co.uk/stair-pressure-mat-3092?criteria=pressure%20mat&doy=1m3 but I don't know how to connnect to the Arduino, on the topic there isn't so much information.

Someone could explain to me how can I connect this pressure mat to an Arduino?

Riva

It looks like it's just a switch as far as Arduino is concerned. Connect one wire from mat to ground and connect other wire to an arduino digital pin that is configured as input and has the pullup resistor enabled 'pinMode(matPin,INPUT_PULLUP)'. 'DigitalRead(matPin)' will return HIGH when mat is clear and LOW when someone stands on it.

max246

What are you saying is that I Can't check if the person is on the beginning or at the end , right?
I can check only if there is someone on the mat :/

Riva


What are you saying is that I Can't check if the person is on the beginning or at the end , right?
I can check only if there is someone on the mat :/

Your going to have to ask Maplin if it has more than 2x wires and you can detect zones within the pressure mat as there less than helpful description
Quote
Four conatct mat that is activated when stepped upon
is little help. I can only assume it means 4x contacts but no mention of what they are.

max246


Go Up