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

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 a blog post

Voltera V1 Circuit Board Printer: Print-A-Sketch

The latest in the growing niche of circuit board printers, the Voltera V1 can print up to two…See More
Feb 16
GarageLab posted a blog post
Feb 13
Profile IconBill Meng and Prem Patel joined GarageLab (arduino, electronics, robotics, hacking)
Feb 13
John R. replied to awet kidane's discussion how can i simulate sd card with arduino uno in proteus
"Awet, I am not entirely sure what you are trying to do or why, but you may want to check into an…"
Feb 11
GarageLab posted blog posts
Feb 11
Profile Iconsajol, daniel gabriel, Alex Rosas and 3 more joined GarageLab (arduino, electronics, robotics, hacking)
Feb 9
GarageLab posted blog posts
Feb 6
GarageLab posted blog posts
Feb 4
Profile IconJohn Morewood and Rio Raymundus Theodora joined GarageLab (arduino, electronics, robotics, hacking)
Feb 3
GarageLab posted a blog post
Feb 2
Profile Iconasela jayasinghe and agus aziz joined GarageLab (arduino, electronics, robotics, hacking)
Feb 2
saad ali ahmed replied to saad ali ahmed's discussion help
"MATLAB"
Jan 31
saad ali ahmed posted a discussion

help

after installation i getWarning: Unsuccessful read: A timeout occurred before theTerminator was…See More
Jan 31
Butterfly Themes is now a member of GarageLab (arduino, electronics, robotics, hacking)
Jan 30
Javier updated their profile
Jan 30
awet kidane posted a discussion
Jan 30
GarageLab posted blog posts
Jan 30
Profile IconCJay, Circuit Buck and Pablo Orellana S joined GarageLab (arduino, electronics, robotics, hacking)
Jan 29
GarageLab posted blog posts
Jan 28
Mr Abraham Akim is now a member of GarageLab (arduino, electronics, robotics, hacking)
Jan 27

© 2015   Created by Marcelo Rodrigues.

Badges  |  Report an Issue  |  Terms of Service