How to use Force Sensitive Resistors (FSR) with Arduino - Simple Force Sensing Arduino Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 авг 2024
  • In this video I will show you how easy it is to use Force Sensitive Resistors (FSR) to measure forces using an Arduino or other microcontroller with Analog Input. FSR's are relatively inexpensive and are great for simple projects where a rough measurement of force or weight is required. Unlike load cells, FSR 's can be used without an amplifier. They are easily interfaced with Arduino using an analog input channel.
  • НаукаНаука

Комментарии • 96

  • @danielchapman1930
    @danielchapman1930 3 года назад +1

    This might just be the best youtube channel I've come across, not including RedBull/Drone Videos, Judo or Unbox Therapy

  • @julienegrandy4104
    @julienegrandy4104 8 месяцев назад +1

    Thanks so much, this was really helpful. I have a final arduino project due tomorrow morning, wish me luck!

  • @DIYwithBatteries
    @DIYwithBatteries 3 года назад +1

    You've got cool stuff keep up the awesome content Sir 👍

  • @marcbenedict3676
    @marcbenedict3676 2 года назад

    Thank you this helps a lot and easy to add more sensors with this logic

  • @THEunlimitedCONSCIOUSNESS
    @THEunlimitedCONSCIOUSNESS Год назад

    this is a great video! thank you so much. just what i needed :)

  • @fantasyindustry1762
    @fantasyindustry1762 26 дней назад

    Thank you for the information.

  • @Ahmed-me5nu
    @Ahmed-me5nu 2 года назад

    Thanks a lot for this amazing tutorial!

  • @Drxxx
    @Drxxx 3 года назад +1

    Great video!! Super channel

  • @alexandreberneche1303
    @alexandreberneche1303 Год назад +1

    Awesome video and very helpful for a personal projet I'm working on! I was wondering if you have recommandations for stronger connection between the fsr and the rest of the circuits because my fsr placement is prone to sliding and shifting. Second, where did you find your weight column (first one on the excel) showed at 3:20? I'm using a 402UX and I'm working with heavier range of the pression and I'm still looking for the optimal resistance for my divider (any help will help :D). Thank you so much again to make quality content available!

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад +1

      The weight column was just different weights that I tested. Just try different weights to build your own table. Hopefully that is what you were asking.

    • @briansuryaputra7836
      @briansuryaputra7836 Год назад

      ❤😰1, , a

  • @savrajhunjan2129
    @savrajhunjan2129 3 года назад +1

    Do you need a finger or conductive contact for the sensor to work? I am thinking of putting these sensors on a robotic gripper I am building and it will be used for picking objects up. I got told that these resistors need a conductive material for it to work such as a finger? Is this true?

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +2

      You don't need a conductive material. The medium is all enclosed in plastic. It works really well pushing on it with a hard rubber. I often use a pencil eraser the same diameter as the sensor.

  • @Scienseism97
    @Scienseism97 3 года назад +1

    can I measure the impact force using this?.I want to build an impact analyzer. I want to measure real-time impact force due to cricket ball after hit the arm guard

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +1

      It is possible. Just know that the sensors are non-linear, so a strain gauge setup might be more accurate.

  • @user-kg1oj8hn4v
    @user-kg1oj8hn4v 8 месяцев назад

    Hi, thanks for sharing! Do you have any idea what effect an increase in temperature would have on the FSR? i want want to measure a force between two 200 degrees celcius plates

    • @ScienceFunInnovations
      @ScienceFunInnovations  7 месяцев назад

      Not sure. Let me know what you find out. It may change the readings, but if it is at a constant temperature it should be repeatable.

  • @livnenir
    @livnenir 3 года назад +2

    How does the resistance vs force graph look on a log-log / semilog scale?
    Thanks for sharing:)

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +1

      It would smooth out a little bit, but I suspect it still would not be too linear. But it still works great for simple comparisons.

    • @livnenir
      @livnenir 3 года назад

      @@ScienceFunInnovations
      Thanks for the reply. The reason I'm asking is because the fact the the resistance is not linear in the force doesn't necessarily mean that it's hard to predict one from the other. Plotting the data log-log / semilog scales could tell us about the functional relation between the two. For example, an exponent would look like a straight line on a semi-log y scale while a power-law look like a straight line on a log-log scale

  • @SawnerHD
    @SawnerHD 2 года назад

    Hi, i want to cover a padel racket and have a sort of hitbox of where i hit the ball, could this work or do you have any suggestion for some kind of sensor?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      Probably not good for that as you would need a ton of analog inputs, better to use something like a membrane keypad maybe????

  • @FuryMuscles
    @FuryMuscles 2 месяца назад

    please sir I have a school task, and my project about teakwondo protectors with scoring systeme, and I want to use FSRs for detecting the applayed force but you said that it work only for light objects, so do you have any ideas, thanks for the video!

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 месяца назад +1

      They do make larger FSR's with varying force sensitivity. You may still be able to use one.

  • @jomfawad9255
    @jomfawad9255 2 месяца назад

    Can we control servo based on if signal> treshhold move servo to 180? or it needs to be mapped from 0-1023 and move proportionally?Thank you

  • @vanduyphung517
    @vanduyphung517 2 года назад +1

    Hi. Could you let me know what resitor use for FSR UX 400 sensor?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      I'd look up the data sheet and select a resistor using a voltage divider circuit.

  • @arseniikatkov
    @arseniikatkov Год назад

    Hi! I have an issue. The resistants doesn’t stops to change if I put a weight. Starts from20k and drops down for 14K with a constant pressure. I have an FSR with 0,2-20N sensitivity.

  •  Месяц назад

    nice in a lab enviroment, any tips for how to protect this flimsy plastic in real usage

    • @ScienceFunInnovations
      @ScienceFunInnovations  Месяц назад +1

      I've built 3D printed holders for them...and use a rubber ball or pencil eraser in the other half of the fixture to help distribute the load over the sensor.

  • @jomfawad9255
    @jomfawad9255 2 месяца назад

    The small fsr in the video, whats the lowest measurements in gram in can measure?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 месяца назад

      Depends on the sensor, but not great for very small loads. Some might go as low as 50 grams.

  • @CuriousCat-yl8by
    @CuriousCat-yl8by 3 года назад

    Is it possible to connect and read the outputs of multiple fsrs using one Arduino (or other microcontroller)?

  • @keyvanhp5841
    @keyvanhp5841 3 года назад

    Thanks for your great video , Can I Measure force newton with this method?

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +1

      Yes you can. You would just need to calibrate it and build a force vs. resistance curve.

    • @keyvanhp5841
      @keyvanhp5841 3 года назад

      @@ScienceFunInnovations Thanks for your reply. Do you have any video or tutorial about this ?

  • @ijsamuel
    @ijsamuel Год назад

    To use the FSR, do you need an Arduino? Can you just hook it up to a regular circuit (power source + light)

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      It is just a variable resistor, so you could design a circuit without using a microcontroller.

  • @anasbenti7130
    @anasbenti7130 8 месяцев назад

    i want to use the FSRs sensors for a teakwondo body protectors scoring systeme, but i learned that this sensor is tamperature depend, so is that true ? because if that's true will affect at the scoring systeme

    • @ScienceFunInnovations
      @ScienceFunInnovations  7 месяцев назад +1

      It may be temperature dependent, but probably only with extreme temperature changes.

  • @yaoza1459
    @yaoza1459 Год назад

    How would you measure the force of objects larger than the FSR itself?

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      You could use 3 or 4 seperate FSR's and build a scale ( a table with each leg sitting on an FSR.

  • @veeru1764
    @veeru1764 2 года назад +1

    I am having two joyit sensors 0-2kg and 0-10kg. But I am not sure the values are correct. how do I calibrate it ? please tell me the procedure to calibrate the sensor and give me correct values

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      I used a small scale and pressed down on the sensor with a pencil eraser. Then I made a table that compared the analog value to the weight. These sensors are non-linear, so you need some sort of calibration table.

  • @suriyaprakashjj6871
    @suriyaprakashjj6871 2 года назад

    How do I calculate the changing resistance in accordance with the changing force? is there any formula or should I practically find it out?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +2

      It is not linear, so you have to test it with different weights.

    • @howardbaxter2514
      @howardbaxter2514 2 года назад

      Like Science Fun said, you will have to do testing at various different forces and try to find the line of best fit. I did something similar with a time of flight sensor since the offset of the measured distances from the true distance isn’t linear. I actually got fairly good distance measurements and was off by no more than 0.25 inch (which was more than adequate for the project I was working on).

  • @M.D.2019
    @M.D.2019 Год назад

    What is the reading of the sensor, does it read resistance, voltage or pressure?

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      The sensor changes resisitance based on force. Using a second fixed resistor, you create a voltage divider which you can read with the Arduino.

  • @behnammobaraki5091
    @behnammobaraki5091 2 года назад

    Hi. I am connecting the JOYIT SEN-Pressure sensor (10kg) to Arduino UNO. Using your code and I can't measure the weight/force (in Kg). Could you help, please?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      You will have to test it with a scale and build a table that converts voltage (analogRead) to kg. I used a postal scale and pushed down on the senor with a pencil erasure.

  • @sKIPper76M
    @sKIPper76M Год назад

    What if I wanted to attach, say, 100 FSRs to an Arduino. Assume I'd want to be able to know the reading of each FSR. How would I do that?

  • @Hackerstab
    @Hackerstab 2 года назад

    Does it work with rising water? For example, a force sense is placed on the side of a bridge. When the water rises and touches the force sensor, will it work? Thank you in advance

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +1

      It would not work well with water. It would need more force.

    • @Hackerstab
      @Hackerstab 2 года назад

      @@ScienceFunInnovations Thank you

  • @adithya4993
    @adithya4993 Год назад

    The resistance R2 values are they arbitrary or manufacturer provided ?

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      Some of the data sheets will recommend an R2 value. Otherwise, I just play around until I get the desired results.

  • @MohammedAhmed-wq1ky
    @MohammedAhmed-wq1ky 3 года назад +1

    Does the FSR measure the weight

    • @ScienceFunInnovations
      @ScienceFunInnovations  3 года назад +1

      It can measure weight, but it is non-linear so it is not as accurate as a load cell.

  • @rafalkhalid5019
    @rafalkhalid5019 Год назад +1

    the last value of fsr represent force in newton ??

    • @ScienceFunInnovations
      @ScienceFunInnovations  11 месяцев назад

      I use pounds.

    • @rafalkhalid5019
      @rafalkhalid5019 11 месяцев назад

      @@ScienceFunInnovations please i need to know how does the 10 kohm resistor works can u help me ?

  • @raisaakhtaruzzaman4739
    @raisaakhtaruzzaman4739 Месяц назад

    Does the sensor work if kept under water/fluid?

  • @danielleshaffer620
    @danielleshaffer620 Год назад

    what equation were you using for the Analog read next to the arduino output?

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      Not sure... you mean the voltage divider equation?

    • @danielleshaffer620
      @danielleshaffer620 Год назад

      @@ScienceFunInnovations no, sorry. Having trouble getting the output to the left of the Arduino outputs to come out correctly. I got all the other values using voltage division but when you hovered over that 2nd to last column, I thought those were the actual registered values and the last column was the inverted output. So I was trying to use Vout=Vin(5/1023) for the 2nd to last column.

  • @explor_germany
    @explor_germany Год назад

    If i am using raspberry pi and arduino both the i connect the whole circuit to the arduino bord and write a program in python means in raspberry pi then what is the code can you please tell me

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      Sorry, I haven't done too much with Rasberry Pi or Python. Still on my to-learn list. :-)

  • @alejandropereznovoa1972
    @alejandropereznovoa1972 2 года назад

    Is this device suitable for loads of 100lb?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      The make different ones with different loads. I think this one saturates after 15lbs.

  • @mazkuz9359
    @mazkuz9359 Год назад

    can i use fsr as a pressure sensor for a seat

    • @ScienceFunInnovations
      @ScienceFunInnovations  Год назад

      It would be difficult because the weight needs to press directly on the sensor, which is very small.

    • @mazkuz9359
      @mazkuz9359 Год назад

      @@ScienceFunInnovations ok but what we need is only to check if there is weight on top not really the specific weight just whether there is pressure on the seat or not also will the sensor be damage if a human sits on it

  • @akyle96
    @akyle96 2 года назад +1

    does anyone know how I'd connect about 200 sensors to an arduino?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      You can connect several 1-wire sensors, but I don't know about 200. May need several Arduinos that send data to a master Arduino.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      What type of measurement are you trying to do?

    • @akyle96
      @akyle96 2 года назад

      @@ScienceFunInnovations It's for inventory management. Binary, something is on a shelf or not.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      @@akyle96 Look into daisy chaining parallel-in serial-out shift registers. Haven't used them myself, but you should get one giant chain of 0's and 1's that you can analyze with your code. And you should get by with just the serial rx pin if I understand it correctly.

    • @akyle96
      @akyle96 2 года назад

      @@ScienceFunInnovations I'll look into that, thank you!

  • @otagophysio
    @otagophysio 2 года назад +2

    Hi Can I use this FSR for measuring upto 10- 200 KG. Please give the value of resistor to be used or the relevant video link. Thanks.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      Different model FSR's have different ranges. The value of resistor will depend on which sensor. I just selected on that maximized the range of analog input values from the sensor.