Thanks for the helpful video! could you please guide me about the case in which I would like to have multiple FSRs? Could it be done with a single arduino?
Hello, i was wondering if it’s possible to connect an FSR with a DC motor and motor drive? Ideally if a certain weight is added on the device then the FSR, instead of activating an LED, would activate a DC motor to spin the device a certain amount. The device is a multiple mold for casting designed like a revolver’s bullet cylinder. Im wondering how i can code it to spin the cylinder to the next chamber once the prior chamber is filled for casting. If it’s alright to request help on how to code smthg like that?
thanks sir! Hope you are doing well, I have a school project about creating a Teakwondo protector Scoring systeme, so I need a pressure sensor which is FSR, my question is FSR capable to detect high force measure ( between 3000N - 4500 N for exemple ) if no is there is any way to calibrate it's sensivity and thanks for your attention!
Miguel Angel Casado Unfortunately it is only a proportional amount of the minimum to maximum range. This can be helpful for some projects, but it isn’t going to work like a scale. For calibrated and precise measurements you need to look at a load sensor. A bit trickier to use, but they will give you precise results.
Nice video, anyone knows if there is a more precise sensore? I'm working on a project that invovles measuring finger's force on hands rehabilitation sessions and I need a precise measure and I think this is not as accurate as I want
The concept is very similar but the code would need to be changed. Load sensors typically need a small daughterboard to amplify the signal they create. You would normally connect that amplifier circuit (an HX711 breakout board is an inexpensive and good choice) up to power, ground, and 2 of the analog pins. You can measure weight with an FSR, but it's not going to be accurate and also not as robust.
@@MarcdeVinck Thanks marc, can you contact me at: malikhussain97@hotmail.co.uk I have a few more questions and a private query to ask you. Hope to hear from you soon thanks
I bought an FSR but not the Arduino. I tried creating a simple circuit (power source connected to a small bulb with the FSR in between). I know the bulb works and the power source is good, but when I add in the FSR, no matter how hard I press the FSR, the bulb does not light up. I would think the FSR is just a regular switch and when a force is applied the switch is turned on but it’s not. Any reason? Or what am I missing?
I don't have enough information about the circuit to give you a specific answer, (what is the circuit, what is a "bulb" an LED? What power, etc, etc) but here is some information that could help you. An FSR is just a variable resistor. Typically, the harder you press, the LESS resistance is in the circuit. Again, typically between ~100 Ohm - ~200 Ohm. If your circuit works with resistors in that range, then an FSR should work too. (generally speaking) There is a great guide on FSRs on Adafruit's Learning system. It uses an Arduino as an example, but it explains in detail how an FSR works. learn.adafruit.com/force-sensitive-resistor-fsr
It's just a range of pressure from 0 - 1023 which can be mapped to any range. No specific unit. For more calibrated measurements, look into load cells.
Hello sir, i know that fsr aren't meant to give the exact reading but can you tell how can i reduce its fluctuations , suppose if m keeping 1kg weight its reading varies from 800-1200 g
@@MarcdeVinck yes ik but sir i have space constraints so i m going with fsr only , but one thing i got to know about fsr is that we can use smoothing and get very less fluctuations ,the results are amazing with that code ,also i used a 47 mf capacitor with it ( anybody interested for the project mail me at kb9829422@gmail.com) . Here is the link for smoothing www.arduino.cc/en/Tutorial/BuiltInExamples/Smoothing
Hi Marc, are there FSR's that can work in higher weight ranges, for example, bodyweight? A load sensor would not be ideal as this is for a wearable tech idea and needs to be low profile. Essentially I would like to monitor when too much force is applied e.g green LED comes on when within normal range and a red LED comes on when outside of this range.
Not to my knowledge, but the easy fix for that is protecting the FSR. Imagine wrapping it in a layer of rubber. It reduces the force and response rate. Just keep in mind if it's for repeated high forces, a non-mechanical, or non contact sensor might be best light an accelerometer. They are very reliable, have more lots of g-force ranges available, and can be incredibly small.
@@MarcdeVinck Thanks for the response, I;m not sure if the accelerometer will work for my project, I am trying to determine the forces inside a prosthetic socket. But the rubber wrap seems like a great idea, I guess it will take some trial and error to determine the correct amount of rubber.
Hi. I just purchase FSR UX 400 force sensor and try to contact it with arduino Uno (R3) and display force (N) on Led display. Could you let me know what resitor will use for this force sensor?
It depends on your circuit, etc. An FSR is a resistor. In the example the 10K is so the pin doesn't float (give back crazy signals). In general you want a 10k to stop random signals and tie the sensor to ground when not in use.
Hi there, I wonder if you can help use this code to connect and FSR to a vibration motor? Rather than an led. i dont need anything too complicated but Im a newbie and only need this for one project.
Hi, great video and very informative. Do you know if this sensor would be appropriate as a hit sensor in a target to be used by bb guns? Seeing the high speed of a bb pellet and how quickly it would bounce off the sensor would you think this sensor would be able to record any force/pressure? Or is there a better sensor for this?
It might be, that's a tough one as the speed of the Arduino might be a limiting factor too. I would assume you could in a test setup. You might be able to get some idea with a piezo sensor mounted to a metal plate and measure the amount of electrical energy created. But that would only be relative to the BB and gun, not an actual fore measurement. I have a video on those -- ruclips.net/video/X3XXRZMBPO0/видео.html
@@MarcdeVinck Thanks, yeah that could be enough. The goal is to just record that it has hit it, not how strongly so it should be enough. I will take a look at your other videos thanks! Subbed :)
i have another question, how would i connect multiple pressure sensors? is it possible to connect multiple on on board and how would the readings work on arduino software?
You can have multiple sensors. As many sensors as you have available pins, depending on the type of Arduino. You would read each pin and return the results.
hi, nice video. i have a question. i was wondering if it is possible to set the force sensor in such a way that the brightness of the LED decreases as you push the force sensor?
That is actually very easy! The nice thing about microcontrollers is you can easy reverse the #'s to decrease the LED strength (voltage to the pin) based on force. There are severals ways to accomplish that, but I recommend you look at the "map" function. For example: map(value, fromLow, fromHigh, toLow, toHigh) in practice would look like y = map(x, 0, 255, 255,0); That would inverse the range of numbers and you could apply that to the LED brightness. Hope that makes sense! Good luck! And thanks for the sub! Please share!
@@sjw0233 Any time you change a component, or add a component, the code is more than likely going to change. In this case you most likely could use the same lines of code and change the pins to read an FSR, but it really depends on what you are building.
It depends on your estimated impact, which I assume is very high. Are you running, or jumping, how much does the user weigh, etc. Also where on the foot, as that can increase/decrease the impact by as much as 50%.
hey i was wondering if you know how i could convert the 0 -1023 resolution to newtons inside the Arduino program. great video by the way. very easy to follow
1N is ~ 6k Ohm depending on your sensor and hardware. You can google Simple conversion tables that will get you in the ballpark. Code is available too.
It's not as accurate as a strain gauge, but yes you can. Just correlate the analog output as shown in the video to a known weight. Could use the map function too. But again, a strain gauge is much better suited for accurate weight measurements.
@@MarcdeVinck iam using force sensor in my broject robotic can it load and catch things depending on weight of its .. and I need codes of the sensor pleas
You are measuring a resistance within the FSR. You can map that to a measurement of force, with some calibration, but just keep in mind it's not going to be very accurate and may not be linear.
@@alokkumarnyati There are lots of uses, in fact it’s one of the most popular sensors. Take a look online for projects that use FSRs and Arduino. You get a varied resistance. Use it to make music, sense when something is empty by weight, etc. that are lots of fun!
Yes, but it's not accurate or calibrated. A load sensor would be a much better choice. That's what a digital scale would use. It involves a bit more components, but well worth the effort.
Wow nice, thanks!
Thanks! Hope it was helpful!
Little did we know two years later this would become the standard for dance games
This is nice. You are explaining this very well. 🔥
Thank you!
Very well done video, nice explanation.
Thank you! There are 110 more videos to watch in my complete collection.
Great video. Thanks!
Thanks for the feedback. I really appreciate it.
Thanks for the helpful video!
could you please guide me about the case in which I would like to have multiple FSRs? Could it be done with a single arduino?
Yes, of course. As long as you have a feee analog pins, you can keep adding more FSRs. (or digital, but that only give you an on/off and not ideal)
Hello, i was wondering if it’s possible to connect an FSR with a DC motor and motor drive? Ideally if a certain weight is added on the device then the FSR, instead of activating an LED, would activate a DC motor to spin the device a certain amount. The device is a multiple mold for casting designed like a revolver’s bullet cylinder. Im wondering how i can code it to spin the cylinder to the next chamber once the prior chamber is filled for casting. If it’s alright to request help on how to code smthg like that?
thanks sir! Hope you are doing well, I have a school project about creating a Teakwondo protector Scoring systeme, so I need a pressure sensor which is FSR, my question is FSR capable to detect high force measure ( between 3000N - 4500 N for exemple ) if no is there is any way to calibrate it's sensivity and thanks for your attention!
There is no easy way to calibrate it. You are most likely better off with a 9DOF sensor as the FSR is more fragile.
Shall I use 100k ohm resistor instead of 10k ohm resistor
Hi, it was an extremely helpful video. Do you know the units of the values displayed?
Miguel Angel Casado Unfortunately it is only a proportional amount of the minimum to maximum range. This can be helpful for some projects, but it isn’t going to work like a scale. For calibrated and precise measurements you need to look at a load sensor. A bit trickier to use, but they will give you precise results.
Nice video, anyone knows if there is a more precise sensore? I'm working on a project that invovles measuring finger's force on hands rehabilitation sessions and I need a precise measure and I think this is not as accurate as I want
Yep! Use a load cell. They require a bit more electronics and are a little more complicated, but are also very accurate. It's what a scale would use.
@@MarcdeVinck Thanks! I'll give it a try
@@Thespiritofice Glad I could help. Good luck with your project!
If you were to use a load sensor, would the code or wiring set up be changed in any way. Thanks great video
The concept is very similar but the code would need to be changed. Load sensors typically need a small daughterboard to amplify the signal they create. You would normally connect that amplifier circuit (an HX711 breakout board is an inexpensive and good choice) up to power, ground, and 2 of the analog pins. You can measure weight with an FSR, but it's not going to be accurate and also not as robust.
@@MarcdeVinck Thanks marc,
can you contact me at: malikhussain97@hotmail.co.uk
I have a few more questions and a private query to ask you.
Hope to hear from you soon thanks
@@GloriousMaleck Please ask any questions here, that way the answers can help more than just 1 person. Thanks!
I bought an FSR but not the Arduino. I tried creating a simple circuit (power source connected to a small bulb with the FSR in between). I know the bulb works and the power source is good, but when I add in the FSR, no matter how hard I press the FSR, the bulb does not light up. I would think the FSR is just a regular switch and when a force is applied the switch is turned on but it’s not. Any reason? Or what am I missing?
I don't have enough information about the circuit to give you a specific answer, (what is the circuit, what is a "bulb" an LED? What power, etc, etc) but here is some information that could help you. An FSR is just a variable resistor. Typically, the harder you press, the LESS resistance is in the circuit. Again, typically between ~100 Ohm - ~200 Ohm. If your circuit works with resistors in that range, then an FSR should work too. (generally speaking) There is a great guide on FSRs on Adafruit's Learning system. It uses an Arduino as an example, but it explains in detail how an FSR works. learn.adafruit.com/force-sensitive-resistor-fsr
çok iyi
çok teşekkür ederim
Hi, thanks for the great video. I want to ask what is the unit of the numbers shown in the serial ?
It's just a range of pressure from 0 - 1023 which can be mapped to any range. No specific unit. For more calibrated measurements, look into load cells.
What is the nominal resistance of type 402? Which is written |||IFSR_||||18|||
Not sure. Please check the data sheet for the product you are sourcing. You can typically find them via a Google search.
Hello sir, i know that fsr aren't meant to give the exact reading but can you tell how can i reduce its fluctuations , suppose if m keeping 1kg weight its reading varies from 800-1200 g
Yes, use a load cell, not a piezo. Thats the best choice for better accuracy and less fluctuations.
@@MarcdeVinck yes ik but sir i have space constraints so i m going with fsr only , but one thing i got to know about fsr is that we can use smoothing and get very less fluctuations ,the results are amazing with that code ,also i used a 47 mf capacitor with it ( anybody interested for the project mail me at kb9829422@gmail.com) . Here is the link for smoothing
www.arduino.cc/en/Tutorial/BuiltInExamples/Smoothing
@@BilalKhan-do9il Glad it worked out! Just keep in mind it is now much less accurate and slower. But it can be a good solution.
@@MarcdeVinck sure sir, thanks!
Hi Marc, are there FSR's that can work in higher weight ranges, for example, bodyweight? A load sensor would not be ideal as this is for a wearable tech idea and needs to be low profile. Essentially I would like to monitor when too much force is applied e.g green LED comes on when within normal range and a red LED comes on when outside of this range.
Not to my knowledge, but the easy fix for that is protecting the FSR. Imagine wrapping it in a layer of rubber. It reduces the force and response rate. Just keep in mind if it's for repeated high forces, a non-mechanical, or non contact sensor might be best light an accelerometer. They are very reliable, have more lots of g-force ranges available, and can be incredibly small.
@@MarcdeVinck Thanks for the response, I;m not sure if the accelerometer will work for my project, I am trying to determine the forces inside a prosthetic socket. But the rubber wrap seems like a great idea, I guess it will take some trial and error to determine the correct amount of rubber.
Hi. I just purchase FSR UX 400 force sensor and try to contact it with arduino Uno (R3) and display force (N) on Led display. Could you let me know what resitor will use for this force sensor?
It depends on your circuit, etc. An FSR is a resistor. In the example the 10K is so the pin doesn't float (give back crazy signals). In general you want a 10k to stop random signals and tie the sensor to ground when not in use.
Hi there, I wonder if you can help use this code to connect and FSR to a vibration motor? Rather than an led. i dont need anything too complicated but Im a newbie and only need this for one project.
That is a very doable project. Unfortunately I can't help, but you can find a lot of information online.
Hi, great video and very informative. Do you know if this sensor would be appropriate as a hit sensor in a target to be used by bb guns? Seeing the high speed of a bb pellet and how quickly it would bounce off the sensor would you think this sensor would be able to record any force/pressure? Or is there a better sensor for this?
It might be, that's a tough one as the speed of the Arduino might be a limiting factor too. I would assume you could in a test setup. You might be able to get some idea with a piezo sensor mounted to a metal plate and measure the amount of electrical energy created. But that would only be relative to the BB and gun, not an actual fore measurement. I have a video on those -- ruclips.net/video/X3XXRZMBPO0/видео.html
@@MarcdeVinck Thanks, yeah that could be enough. The goal is to just record that it has hit it, not how strongly so it should be enough. I will take a look at your other videos thanks! Subbed :)
@@fredd9740 Oh, then a piezo 100%. Will work perfectly. Easy too! Just adhere it to the back of the metal target plate. Thanks for the sub!
i have another question, how would i connect multiple pressure sensors? is it possible to connect multiple on on board and how would the readings work on arduino software?
You can have multiple sensors. As many sensors as you have available pins, depending on the type of Arduino. You would read each pin and return the results.
Would there be a way to tell a servo to rotate a certain way if it were getting pressure sensed information from one of those things?.
Yes! A servo could easily be programmed to react based on the input from a force sensitive resistor.
hi, nice video. i have a question. i was wondering if it is possible to set the force sensor in such a way that the brightness of the LED decreases as you push the force sensor?
That is actually very easy! The nice thing about microcontrollers is you can easy reverse the #'s to decrease the LED strength (voltage to the pin) based on force. There are severals ways to accomplish that, but I recommend you look at the "map" function. For example: map(value, fromLow, fromHigh, toLow, toHigh) in practice would look like y = map(x, 0, 255, 255,0); That would inverse the range of numbers and you could apply that to the LED brightness. Hope that makes sense! Good luck! And thanks for the sub! Please share!
Great video! I have a question how would you connect multiple FSR? Would you need multiple arduinos for that?
Just use other pins. However, any vibration from one, can typically be picked up with additional FSRs, so isolation, etc, may be necessary.
@@MarcdeVinck would the code for the arduino still be the same? Do you have a video about it by any chance?
@@sjw0233 Any time you change a component, or add a component, the code is more than likely going to change. In this case you most likely could use the same lines of code and change the pins to read an FSR, but it really depends on what you are building.
@@MarcdeVinck is there a video or anything you know of that can help me more?
@@sjw0233 Sure, Google "arduino multiple FSR". Lots of results.
thanks for the vid, is it ok to solder on wires to the pressure sensor to increase the length before attaching it to the white pcb board?
Yes! There are small pins on the sensor you can solder wires onto.
thanks for the quick reply appreciate it.
Hi, is this sensor sensitive enough to measure the rhythm of thoracic breathing?
I think you'd be better off using conductive rubber and a strap around someones chest to measure breathing.
I saw FSR has different spec such as 0~20kg, 50kg. If I want to use it on the shoe pads, do I need one such as 50kg or 100kg?
It depends on your estimated impact, which I assume is very high. Are you running, or jumping, how much does the user weigh, etc. Also where on the foot, as that can increase/decrease the impact by as much as 50%.
@@MarcdeVinck Thanks for your reply. I plan to put two in the middle of the pad and one in the heel position.
what if i didn't use resistor? will be there any issue for testing purpose?
You need a resistor to get the range and protect the input pin.
hey i was wondering if you know how i could convert the 0 -1023 resolution to newtons inside the Arduino program. great video by the way. very easy to follow
1N is ~ 6k Ohm depending on your sensor and hardware. You can google Simple conversion tables that will get you in the ballpark. Code is available too.
@@MarcdeVinck thank you. my fsr senses up to 5 kg (49.05N) so could i set it for every 6km ohm is a newton ?
@@MarcdeVinck also what would be the best terminology when googling this i find i often dont get the results i am looking for. thank you
@@rianmoore8693 Start here - learn.adafruit.com/force-sensitive-resistor-fsr/using-an-fsr
@@MarcdeVinck do you know if your able to solder these sensors to make the wire connection longer?
Can i determine weight using fsr sensor and how can i do it ?
It's not as accurate as a strain gauge, but yes you can. Just correlate the analog output as shown in the video to a known weight. Could use the map function too. But again, a strain gauge is much better suited for accurate weight measurements.
Hello can you explain me how can I convert voltage to force and weight by using force sensor pleas
That is what this sensor does! If you need to be more precise you should look into load cells. That's what a bathroom scale would use.
@@MarcdeVinck iam using force sensor in my broject robotic can it load and catch things depending on weight of its .. and I need codes of the sensor pleas
Here you go! -- learn.adafruit.com/force-sensitive-resistor-fsr/using-an-fsr
@@MarcdeVinck thank you very much
What will be the unit of force being measured?
You are measuring a resistance within the FSR. You can map that to a measurement of force, with some calibration, but just keep in mind it's not going to be very accurate and may not be linear.
@@MarcdeVinck Then what will be the use of this
@@alokkumarnyati There are lots of uses, in fact it’s one of the most popular sensors. Take a look online for projects that use FSRs and Arduino. You get a varied resistance. Use it to make music, sense when something is empty by weight, etc. that are lots of fun!
From where we can get the code for the same
Watch the video for the code. And it can be found here -- learn.adafruit.com/force-sensitive-resistor-fsr/using-an-fsr
In what unit we get pressure ?
You get an analog voltage reading that you can convert to pressure. It's not as accurate as a load sensor, but it works in many applications.
how do i order pizza in new york
By the slice!
we want full code sir plzz....
It's in the video! And can be found here -- learn.adafruit.com/force-sensitive-resistor-fsr/using-an-fsr
Can u pls provide the code
Please watch the video I go over where to find the code and how to use it.
can it measure very small force in range from 10 to 20 gram
@ Marc de Vinck
Yes, but it's not accurate or calibrated. A load sensor would be a much better choice. That's what a digital scale would use. It involves a bit more components, but well worth the effort.