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

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

Raghuvir G posted discussions
2 hours ago
Jagajeet K posted a discussion

Digital IO – LED Blink – Arduino for Beginners

I have a doubt in the below link  …in that I used 220 ohm resistor for LED …Is Resistor have any…See More
2 hours ago
GarageLab posted a blog post
12 hours ago
Profile IconRalph Wade, Jagajeet K, Raghuvir G and 1 more joined GarageLab (arduino, electronics, robotics, hacking)
20 hours ago
GarageLab posted blog posts
yesterday
Enrico M. posted a status
"Building the Apollo console version I"
Monday
Lena Cook is now a member of GarageLab (arduino, electronics, robotics, hacking)
Monday
Paul Denton updated their profile
Friday
GarageLab posted a blog post
Friday
Profile IconRichard Coplan and Juan V. Sanchez-Andres joined GarageLab (arduino, electronics, robotics, hacking)
Friday
Kshitij Dadhekar commented on GarageLab's blog post Tutorial: How to use the Cellular Shield (SM5100B) with Arduino
"Hello,       Can you tell me what is the resistance of the speaker to be…"
Nov 19
GarageLab posted a blog post
Nov 19
Profile IconKshitij Dadhekar, Marvellous Mark and Enrico M. joined GarageLab (arduino, electronics, robotics, hacking)
Nov 19
david chan commented on GarageLab's blog post Tutorial: Humidity and Temperature Sensor with Arduino
"How do you see the output "
Nov 18
Enrico M. posted a discussion

Power supply circuit

Hi guys,I'm building some sort of wood case to arduino mega with LCD, keypad, LED's ...I also want…See More
Nov 18
GarageLab posted blog posts
Nov 18
Profile Icondavid chan, uday harihar, CVassiliou and 4 more joined GarageLab (arduino, electronics, robotics, hacking)
Nov 18
Jeff Bowen updated their profile
Nov 17
Michael Shaw replied to Jean-Guillaume LALANNE's discussion Smallest Arduino with BLE stack and push button integrated
"Check out Tiny circuits for open source: https://tiny-circuits.com/"
Nov 16
rozzers commented on rozzers's video
Nov 14

© 2014   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service