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: 15874

Tags: arduino, force, resistive, sensor, tutorial

Comment

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

Join GarageLab (arduino, electronics, robotics, hacking)

Latest Activity

GarageLab posted blog posts
4 hours ago
Profile IconOleg and Scott Runner joined GarageLab (arduino, electronics, robotics, hacking)
yesterday
GarageLab left a comment for RMullen
"Hi RMullen! I'd like to let you know that FRANK KWABENA is no longer a member of…"
Wednesday
daniel gabriel updated their profile
Wednesday
daniel gabriel left a comment for daniel gabriel
"Good Day Mr. Wabena, i dont see any interesting on my profile but i really appreciated that you…"
Wednesday
RMullen replied to Lauren Elizabeth's discussion Scammed...?
"Yes there is another one sending out the same message now.  This is the message I got: FRANK…"
Wednesday
Rick Lin is now a member of GarageLab (arduino, electronics, robotics, hacking)
Wednesday
GarageLab posted a blog post
Tuesday
Profile IconCalvin M and harsha joined GarageLab (arduino, electronics, robotics, hacking)
Tuesday
GarageLab posted a blog post

These Colorful Liquid Droplets Chase Each Other Like Living Organisms

Scientists at Stanford University were at first perplexed by the strange behavior they observed…See More
Monday
GarageLab posted blog posts
Mar 20
Profile IconJody Bowie, Kevin Kvarda, Tony Stoklosa and 2 more joined GarageLab (arduino, electronics, robotics, hacking)
Mar 19
Sergey commented on GarageLab's blog post Tutorial: How to use the Monster Moto Shield
"Good day. Can you help me? I took this sketch, but it doesn't working( "
Mar 19
Profile IconDonald Soji Adedokun, Ankur Deo and Hannu Miettinen joined GarageLab (arduino, electronics, robotics, hacking)
Mar 18
GarageLab posted a blog post
Mar 18
GarageLab posted a blog post

Iron Man Delivers Kid’s Robotic Arm: Proof that Tony Stark Has a Heart

Alex Pring now has one heck of a story to tell his friends. Not only did the 7-year old meet Iron…See More
Mar 16
Profile IconJohn Murphy and Asma Ho joined GarageLab (arduino, electronics, robotics, hacking)
Mar 16
Electronicsrus is now a member of GarageLab (arduino, electronics, robotics, hacking)
Mar 13
AnalysIR commented on GarageLab's blog post Tutorial: Arduino IR sender and receiver
"@kkukkuk this problem has been discussed receltly on the Arduino forum - why not search there. You…"
Mar 13
kkukkuk commented on GarageLab's blog post Tutorial: Arduino IR sender and receiver
"hi..there are some errors in both irsend and irreceive coding.. ir sender: sketch_mar14a.ino:17:1:…"
Mar 13

© 2015   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service