Pages: [1]   Go Down
Author Topic: Pressure mat  (Read 2393 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Norfolk UK
Offline Offline
Faraday Member
**
Karma: 69
Posts: 2557
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 :/
Logged

Norfolk UK
Offline Offline
Faraday Member
**
Karma: 69
Posts: 2557
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok someone did it: http://alhodgsonn.wordpress.com/2012/01/24/the-pressure-sensor-pads-and-synchronising-everything-with-maxmsp/

connect one wire to ground and the other one to an  analog input
Logged

Pages: [1]   Go Up
Jump to: