SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By the.kaushik
#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>
Code: Select all
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);
}
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.

Thanks for helping.