Force or Pressure Sensor MF01
Force or Pressure Sensor MF01
DESCRIPTION
This self-adhesive force or pressure sensor is ideal for detecting a force applied to the membrane.
When detecting a bending in the membrane, the sensor changes its internal resistance. It is made
of 2 layers separated by a spacer, the more it is pressed, the more active element points touch the
semiconductor and that causes the resistance to decrease. When not pressed, its resistance is
approx. 20MΩ. Its pressure range varies from 30 grams to 1kg. So it is enough to put it in a voltage
divider, to be able to measure the voltage output with some ADC.
These sensors are low cost, work with any development board or microcontroller with ADC stage.
It has an extension that ends in two tips that can be easily soldered. It is very easy to use and can
have a multitude of applications in many electronic projects. Works for most touch-sensitive
applications. You can use any power supply as it uses less than 1 mA of current.
DISADVANTAGES
These sensors are rarely accurate. So basically when you use this sensor you just have to wait to
get “ranges” of response. These sensors can detect weight, but they are a poor choice for
detecting exactly how many pounds of weight are on them.
SPECIFICATIONS
Actuation force: 30g min.
Repeatability: 5%.
Hysteresis: 10%.
Width: 0.05mm.
The objective of this practice is to verify the functionality of the pressure sensor, placing an LED
that amplifies its intensity, depending on the pressure on the sensor, and measuring the applied
voltage.
MATERIALS
1 LED
1 Breadboard
1 10KΩ resistor
Connection Diagram.
As shown in the diagram, the red wire represents VCC that is connected to the 5V pin of the
Arduino, the black wire to GND, the yellow wires are signal, to Pin A0 (Sensor) and Pin 6 (Led).
The force or pressure sensor connected to the Arduino UNO will be as shown in the
Representative Figure.
Representative Figure
Once the pressure or force sensor is connected to the Arduino UNO, the next step will be to make
a program that modifies the brightness intensity of the LED with the pressure or force applied to
the sensor and displays it through the serial port, in this way we can verify that the components
work correctly.
We will install the necessary drivers, install the Arduino development IDE and connect the Arduino
to the PC through the USB port.
04int LEDBrightness;
05
06void setup()
07{
08Serial.begin(9600); // We will send the debugging information through the Serial Monitor
09pinMode(LEDpin, OUTPUT);
10}
11void loop()
12{
15Serial.println(ResRead);
16
20analogWrite(LEDpin, LEDBrightness);
21
We will compile it to verify that the syntax of the C++ code is correct, to do this we will press the
“Verify” button. If the code is correct it will return “Compilation Completed”, if there is an error in
the code it will indicate it.
Once the code is verified, we will click on the “Load” button to send the program to Arduino UNO.
If the Arduino is correctly connected to the PC via the USB port, the program will be uploaded and
the Arduino IDE will show “Upload Completed”.
Arduino IDE
If we have correctly connected the pressure sensor to the Arduino board and if the program sent is
correct, the current data appears in the serial port window.
<img
As we have said, the resistance of the sensor changes as more pressure is applied. When there is
no pressure, the sensor looks like an infinite resistance (open circuit), as the pressure increases,
the resistance decreases. This graph approximately indicates the resistance of the sensor at
different force measurements. (Note that force is not measured in grams and what it really means
is Newtons * 100)
It is important to note that the graph is not very linear (it is a log / log graph) and that in especially
low force measurements it goes quickly from infinity to 100KΩ.