Skip to content

Sajetha13/pressure-measurement-using-arduino-fsr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

EXPERIMENT-NO--03-PRESSURE-MEASUREMENT-USING-ARDUINO-AIM-To-interface-an-FSR-force-sensitive-resistor

DATE : 1/3/2024

NAME : S.Sajetha

ROLLNUMBER : 212223100049

DEPARTMENT: CSE (CyberSecurity)

AIM:

To interface an FSR(force sensitive resistor) and scale the output voltage obtained to pressure applied

COMPONENTS REQUIRED:

  1. FSR (force sensitive resistor)
  2. 1 KΩ resistor
  3. Arduino Uno
  4. USB Interfacing cable
  5. Connecting wires

THEORY:

FSRs are basically a resistor that changes its resistive value (in ohms Ω) depending on how much it is pressed. These sensors are fairly low cost, and easy to use. They also vary some from sensor to sensor perhaps 10%. FSR's resistance changes as more pressure is applied. When there is no pressure, the sensor looks like an infinite resistor (open circuit), as the pressure increases, the resistance goes down. This graph indicates approximately the resistance of the sensor at different force measurements.

image

FIGURE 01 GRAPH OF FORCE vs RESISTANCE **

image

FIGURE 02 FORCE SENSITIVE RESITOR FOIL DISC TYPE

FSRs are often a polymer with conductive material silk-screened on. That means they're plastic and the connection tab is crimped on somewhat delicate material. The best way to connect to these is to simply plug them into a breadboard.

The easiest way to measure a resistive sensor is to connect one end to power and the other to a pull-down resistor to ground. Then the point between the fixed pull down resistor and the variable FSR resistor is connected to the analog input of a microcontroller such as an Arduino The way this works is that as the resistance of the FSR decreases, the total resistance of the FSR and the pull down resistor decreases from about 100Kohm to 10Kohm. That means that the current flowing through both resistors increases which in turn causes the voltage across the fixed 10K resistor to increase.

image

TABLE -01 FORCE AND OUTPUT VOLTAGES**

Table -01 indicates the approximate analog voltage based on the sensor force/resistance w/a 5V supply and 10K pull down resistor.

Vo = Vcc ( R / (R + FSR) ) Eq-01

****Where R= 1KΩ in this experiment ****That is, the voltage is proportional to the inverse of the FSR resistance.

image

FIGURE-03 CIRCUIT DIAGRAM

PROCEDURE:

  1. Connect the circuit as per the circuit diagram
  2. Connect the board to your computer via the USB cable.
  3. If needed, install the drivers.
  4. Launch the Arduino IDE.
  5. Select the board (If you the board is arduino uno, select accordingly).
  6. Select your serial port, accordingly ( E.g. COM5 )
  7. Open the file of the program and verify the error , clear if any errors that are existing
  8. Upload the program and check for the physical working.
  9. Ensure safety before powering up the device
  10. Plot the graph for the output voltage vs the resistance

PROGRAM

  • 212223100049
  • S.Sajetha
  • CSE(Cyber Security) and 1st year

image

image

image

image

image

image

TABLE -02 standard deviation table

Population Standard Deviation

The population standard deviation, the standard definition of σ, is used when an entire population can be measured, and is the square root of the variance of a given data set. In cases where every member of a population can be sampled, the following equation can be used to find the standard deviation of the entire population:

Where xi is an individual value μ is the mean/expected value N is the total number of values

For those unfamiliar with summation notation, the equation above may seem daunting, but when addressed through its individual components, this summation is not particularly complicated. The i=1 in the summation indicates the starting index, i.e. for the data set 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, i=1 would be 1, i=2 would be 3, and so on. Hence the summation notation simply means to perform the operation of (xi - μ)2 on each value through N, which in this case is 5 since there are 5 values in this data set.

EX: μ = (1+2+3+4+5+6+7+8+9+10) / 10 = 5.555
σ = √[(1 - 5.555)^2 + (2 - 5.555)^2 + (3 - 5.555)^2 + ... + (10 - 5.555)^2)]/10 σ = √(12.638025 + 6.528025 + 2.418025 + 0.308025 + 0.198025 + 2.088025 + 5.978025 + 5.978025 + 11.868025)/10 = 0.8231661436

RESULTS :

Arduino uno is interfaced with FSR and output values are indicated on a graph.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published