Question: For this question, you need to use the force sensor in Tinkercad It should be connected to an Arduino in the following configuration: FSR =
For this question, you need to use the
force sensor in Tinkercad
It should be connected to an Arduino in
the following configuration:
FSR force sensor it works as a variable resistor
Write a program to collect data to determine the
relationship between the number measured by the
Arduino and the force value on the force sensor
You should collect data points every up to
and then every up to
You should then either use polvfit in MATLAB to
fit the data with a polynomial equation of
order or higher describing the relationship
between the variables. You will then use the
resulting equation to convert from the number
read by the Arduino to force in N
OR
You can use a lookup table. You can store pairs
of measured Arduino inputforce in in columns
in a matrix, where the Arduino input numbers are
organized from lowest to highest. To then convert
a new number read in by the Arduino x find the
the Arduino inputs and in your table that
bracket your value, ie closest to above and below
it in value. Then use linear interpolation with
the corresponding force in in the table and
for and :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
