Pressure Sensor creation - nataliacatalan/Arduino-Project GitHub Wiki
To elaborate our project, we needed three pressure sensors. We decided to create our own senors using a conductive bag. The elaboration consists in cutting some layers of materia (as we want a sensor that works with hight weights, we put 5 layers of material) and on the top and bottom we placed the two wires making a curl. To maintain everything together, we put some Scotch tape on the surfaces.
The connection with the Arduino board is the following:
To calculate the type of resistance we have to put, we calculated the intensity between the different parts of the sensor using a voltmeter and the result was taht the most appropiate is the 50 Ω one.
When we started testing the values with the sensors in the foot, the results were, when the foot wasn't touching the floor, between 200-300 and, when it was touching the floor, from 300 to 450 approx. But the main problem was that there was apparently no difference between the sensor 1, the 2 and the 3. Theoretically, a small difference between the sensors exist when you put all the weight in sensor 2. As the pressure sensors created are not precise enough, they didn't detect this small difference, so we couldn't incorporate them to the skate boot.
int sensor = A2;
int value;
void setup() {
pinMode(sensor, INPUT);
Serial.begin(9600);
}
void loop() {
value = analogRead(sensor);
delay(500);
Serial.println(value);
}