- Tue Oct 06, 2015 8:51 am
#185082
Hi,
So i purchased a Flexiforce Pressure sensor and am able to connect it with my Arduino. I am also able to get my readings and my code is as shown below>
Thanks for helping.
So i purchased a Flexiforce Pressure sensor and am able to connect it with my Arduino. I am also able to get my readings and my code is as shown below>
Code: Select all
I want to convert this analog reading to relative weight in lbs. Is there a table/formula i can follow which can help me convert these inputs to a weight value. I don't want them to be precise but at least if i can figure out a ballpark number then it would be good enough.void setup()
{
// Start serial at 9600 baud
Serial.begin(9600);
}
void loop()
{
// Read the input on analog pin 0:
int sensorValue = analogRead(A0);
// Print out the value you read:
Serial.println(sensorValue);
// Wait 100 milliseconds
delay(500);
}
Thanks for helping.