Tutorial: Force Sensitive Resistor and Arduino

Here we will show how to use a force resistive sensor with your Arduino. The force sensor works like a potentiometer, with more force, we have less resistance. For example, if nothing is pressing the sensor, the resistance will be the maximum of 20Mohm. If the force is high, the resistance tends to 0. This sensor can measure forces between 1kN to 100kN. You can easily use the gravity acceleration to measure object weights. Also, the sensor only measure forces applied to the highlighted area in red below. If the object is positioned outside that area, we can get a wrong read.

To test the sensor, pick a multimeter to measure the resistance. Press the sensor and observe the values changing.

With your Arduino board and a 100K resistor, make this circuit:

Then, upload the following code:

int Senval=0;

int Senpin=A0;

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

void loop()
{

    Senval=analogRead(Senpin);

    Serial.println(Senval);

    delay(200);
}

Open the serial monitor (last button on your 1.0 IDE). You should see a number ranging from 0 to 1023. Make some pressure on your sensor and observe the values. These values represents a voltage between 0 and 5V read by the Arduino. We made a resistor divider, if the resistance is exactly 100kohm, the value will be 512. As the sensor resistance gets higher, that value will get higher.

References:

http://www.sparkfun.com/products/9376

http://www.fabiobiondi.com/blog/2009/11/arduino-and-electronic-sens...

Views: 23554

Comment

You need to be a member of GarageLab (arduino, electronics, robotics, hacking) to add comments!

Join GarageLab (arduino, electronics, robotics, hacking)

Latest Activity

Sardar Tamoor commented on Thulana Vimukthi's blog post GPS GUIDED AUTONOMOUS ROBOT
"can you plz help me on my project !!! its basically obstacle avoidance in dynamic environment and…"
yesterday
Sardar Tamoor commented on Thulana Vimukthi's blog post GPS GUIDED AUTONOMOUS ROBOT
"can you plz help me on my project !!! its basically obstacle avoidance in dynamic environment and…"
yesterday
Sardar Tamoor is now a member of GarageLab (arduino, electronics, robotics, hacking)
Tuesday
Peter Davies posted a discussion

Anyone got stock of Garagelabs automation board

HiI have a requirement for 11 automation boards and have been able to source 8,  does anyone have a…See More
Tuesday
Profile IconGuilherme Barros, Rob Lambert and kevin parr joined GarageLab (arduino, electronics, robotics, hacking)
Apr 22
Tino Pascuzzi left a comment for stephen smith
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Aaron Thiedt
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Paul Ellison
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Gary
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Tino Pascuzzi left a comment for Amauri
"Hello, my name is Tino Pascuzzi and I'm the owner of The Sanctuary Haunted Attraction.  I…"
Apr 14
Mark Mendelsihn is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 14
Tino Pascuzzi updated their profile
Apr 13
ade ljathanna is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 12
Marcelo Rodrigues commented on Steve Brune's blog post Toaster Oven Computer Modification
"lol... Cool! Congrats, Steve."
Apr 11
Steve Brune posted a blog post

Toaster Oven Computer Modification

A while back I built a Mini-Itx computer in a toaster oven. I posted it on my website here:…See More
Apr 11
Profile Iconchris yang and Hendra joined GarageLab (arduino, electronics, robotics, hacking)
Apr 11
kulvir saini is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 8
GarageLab replied to GarageLab's discussion Serious claims against BeagleBone's manufacturer CircuitCo
"Believe or not, nothing yet! CircuitCo didn't delivered the boards and they refused to refund…"
Apr 5
ammar imad is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 5
Spiros is now a member of GarageLab (arduino, electronics, robotics, hacking)
Apr 4

© 2016   Created by Marcelo Rodrigues.   Powered by

Badges  |  Report an Issue  |  Terms of Service