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

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
yesterday
Profile IconSheila Garland and petran747 . joined GarageLab (arduino, electronics, robotics, hacking)
Thursday
Antonio Turner posted a status
Thursday
GarageLab posted blog posts
Wednesday
Profile Iconleon crist, Tim Owen and Mishca de Costa joined GarageLab (arduino, electronics, robotics, hacking)
Monday
GarageLab posted a blog post

Arduino-Powered Turntables That Turn DJing Into Child’s Play

Per Holmquist has always had a finely tuned ear for music. “When I hear a song for the first time I…See More
Monday
GarageLab posted a blog post
Sep 12
Jean-Guillaume LALANNE posted a discussion

Smallest Arduino with BLE stack and push button integrated

Hi,I am a newbie in the maker world. I have bought a RFDUINO some month ago to play with.I did find…See More
Sep 12
Profile IconDavid bolles and Abhisht Yadav joined GarageLab (arduino, electronics, robotics, hacking)
Sep 11
GarageLab posted blog posts
Sep 11
chuby okafor updated their profile
Sep 10
maurice patrick commented on GarageLab's blog post 3D printer uses Arduino controller and makes food in unusual ways
"Sweet!!!!"
Sep 10
Stephen Wizowski left a comment for Stephen Wizowski
"NO... do not like this approach... AT ALL!"
Sep 10
Profile IconBernie Whalen, FRANK KWABENA, mikedaniels and 11 more joined GarageLab (arduino, electronics, robotics, hacking)
Sep 10
GarageLab posted a blog post

This Robot Crawls Through Acid, Ice and Fire

This robot, developed at Professor George M. Whitesides’ lab at Harvard University has recently…See More
Sep 10
GarageLab posted a blog post
Sep 8
Antonio Turner posted a status
Sep 8
GarageLab posted blog posts
Sep 5
Profile IconWilliam Ritchie, Chuck Untulis, David Perez and 3 more joined GarageLab (arduino, electronics, robotics, hacking)
Sep 5
GarageLab posted blog posts
Sep 3

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service