Force Sensor Setup Guidance

I need guidance on how to set up a force sensor with arduino to read in newtons or pound force. The best way to describe the set up I have currently is through the following example:

I want to measure the pinching force when hemostats are locked onto a 2mm thick magazine.

Please leave any guidance, suggestions, or questions you have below. Thanks in advanced!

1 Like

Nobody knows what "force sensor" You use. If You post a link to the datasheet answers come.
Nobody knows what "Arduino" is. There are plenty of different ones.

I am using an Arduino Uno board and I have a force sensor described as "Compression Force Sensor for Tight Spaces, Round, 2-Pin Connection, 1 lbs. Capacity, 25 mm Long"

All you have is a description?

Here is the link McMaster-Carr

The setup currently looks like this but the basic arduino code im using only output messages such as "light squeeze" or "medium squeeze".


s

Post it. Don't forget the code tags.

#define FORCE_SENSOR_PIN A0 // the FSR and 10K pulldown are connected to A0

void setup() {
Serial.begin(9600);
}

void loop() {
int analogReading = analogRead(FORCE_SENSOR_PIN);

Serial.print("Force sensor reading = ");
Serial.print(analogReading); // print the raw analog reading

if (analogReading < 10) // from 0 to 9
Serial.println(" -> no pressure");
else if (analogReading < 200) // from 10 to 199
Serial.println(" -> light touch");
else if (analogReading < 500) // from 200 to 499
Serial.println(" -> light squeeze");
else if (analogReading < 800) // from 500 to 799
Serial.println(" -> medium squeeze");
else // from 800 to 1023
Serial.println(" -> big squeeze");

delay(1000);
}

The code tags you were advised about are described in the above post in detail as well as duplicating posts etc. edit your post with the :pencil2: icon down here :point_down: and use the code tags <|> up here :point_up_2:

How is this different than this topic?
https://forum.arduino.cc/t/force-sensor-for-pressure-measurement/1023229

I wanted guidance on a new approach to it for reading force.

So instead of mm/hg, you would like it to read out in newtons or pound force?

A link to hundreds of devices. That is not useful.

Be careful, the OP will start new threads!

This code is useful

lose all the cr*p about

First you will need to calibrate your sensor.
Place it on a hard flat surface, and test it by applying weights to the top surface of the sensor.
You will get readings of the analog reading vs applied weight.
Post your results.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.