Тёмный

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

Science Fun
Подписаться 6 тыс.
Просмотров 46 тыс.
50% 1

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.

Наука

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 96   
@DIYwithBatteries
@DIYwithBatteries 3 года назад
You've got cool stuff keep up the awesome content Sir 👍
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
Thanks, will do!
@julienegrandy4104
@julienegrandy4104 7 месяцев назад
Thanks so much, this was really helpful. I have a final arduino project due tomorrow morning, wish me luck!
@ScienceFunInnovations
@ScienceFunInnovations 6 месяцев назад
Sorry, just saw this. Hope you got an "A" on your project!!!
@marcbenedict3676
@marcbenedict3676 2 года назад
Thank you this helps a lot and easy to add more sensors with this logic
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
Glad it helped!
@Ahmed-me5nu
@Ahmed-me5nu 2 года назад
Thanks a lot for this amazing tutorial!
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
You're very welcome!
@THEunlimitedCONSCIOUSNESS
@THEunlimitedCONSCIOUSNESS Год назад
this is a great video! thank you so much. just what i needed :)
@ScienceFunInnovations
@ScienceFunInnovations Год назад
Glad you liked it!
@fantasyindustry1762
@fantasyindustry1762 15 дней назад
Thank you for the information.
@ScienceFunInnovations
@ScienceFunInnovations 14 дней назад
You bet!
@Drxxx
@Drxxx 3 года назад
Great video!! Super channel
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
Thank you very much!
@danielchapman1930
@danielchapman1930 3 года назад
This might just be the best youtube channel I've come across, not including RedBull/Drone Videos, Judo or Unbox Therapy
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
Glad it is helpful. Thanks for watching!
@alexandreberneche1303
@alexandreberneche1303 Год назад
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 Год назад
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
@livnenir
@livnenir 3 года назад
How does the resistance vs force graph look on a log-log / semilog scale? Thanks for sharing:)
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
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
@user-kg1oj8hn4v
@user-kg1oj8hn4v 7 месяцев назад
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 6 месяцев назад
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.
@savrajhunjan2129
@savrajhunjan2129 3 года назад
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 года назад
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 2 года назад
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 2 года назад
It is possible. Just know that the sensors are non-linear, so a strain gauge setup might be more accurate.
@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????
@vanduyphung517
@vanduyphung517 2 года назад
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.
@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.
@keyvanhp5841
@keyvanhp5841 3 года назад
Thanks for your great video , Can I Measure force newton with this method?
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
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 ?
@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.
@ScienceFunInnovations
@ScienceFunInnovations Год назад
Not sure why its doing that...
@CuriousCat-yl8by
@CuriousCat-yl8by 3 года назад
Is it possible to connect and read the outputs of multiple fsrs using one Arduino (or other microcontroller)?
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
Yes. You can have one fsr for each Analog Channel.
@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
@ScienceFunInnovations
@ScienceFunInnovations 2 месяца назад
Yes, that is very possible.
@FuryMuscles
@FuryMuscles Месяц назад
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 Месяц назад
They do make larger FSR's with varying force sensitivity. You may still be able to use one.
@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 года назад
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).
@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 6 месяцев назад
It may be temperature dependent, but probably only with extreme temperature changes.
@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.
@veeru1764
@veeru1764 2 года назад
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.
@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.
@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.
@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 года назад
It would not work well with water. It would need more force.
@Hackerstab
@Hackerstab 2 года назад
@@ScienceFunInnovations Thank you
@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.
26 дней назад
nice in a lab enviroment, any tips for how to protect this flimsy plastic in real usage
@ScienceFunInnovations
@ScienceFunInnovations 26 дней назад
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.
@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.
@rafalkhalid5019
@rafalkhalid5019 11 месяцев назад
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 ?
@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?
@ScienceFunInnovations
@ScienceFunInnovations Год назад
You would need 100 analog channels or a way to switch between FSR's.
@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.
@MohammedAhmed-wq1ky
@MohammedAhmed-wq1ky 3 года назад
Does the FSR measure the weight
@ScienceFunInnovations
@ScienceFunInnovations 3 года назад
It can measure weight, but it is non-linear so it is not as accurate as a load cell.
@otagophysio
@otagophysio 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.
@raisaakhtaruzzaman4739
@raisaakhtaruzzaman4739 25 дней назад
Does the sensor work if kept under water/fluid?
@ScienceFunInnovations
@ScienceFunInnovations 24 дня назад
Yes - If you cover up the terminals/contacts with an insulator.
@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. :-)
@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 года назад
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!
@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.
Далее
Force Sensing Materials
10:03
Просмотров 38 тыс.
Старый Дим Димыч вернулся😱
00:16
Wait for the BOWLING BALL! 👀
00:38
Просмотров 21 млн
🎙СТРИМ на 4 МИЛЛИОНА🍋
3:12:45
Просмотров 1,3 млн
How to use Force Sensing Resistors
6:38
Просмотров 123 тыс.
How They Build US Most Powerful Tank Ever Made
17:40
Просмотров 20 тыс.
Java Is Better Than Rust
42:14
Просмотров 146 тыс.
How to build a Pressure Sensor
3:00
Просмотров 52 тыс.