MPS20N0040D-D SPHYGMOMANOMETER DIP AIR PRESSURE SENSOR MODULE (0-40KPA, DIP-6)
A sphygmomanometer is a device that measures blood pressure. It is composes of an inflatable rubber cuff, which is wrapped around the arm. A measuring device indicates the cuff's pressure. A bulb inflates the cuff and a valve releases pressure. A stethoscope is used to listen to arterial blood flow sounds.
This component measures air pressure of up to 40kPa
PRODUCT DETAILS
Getting started with the MPS20N0040D-D Sphygmomanometer Pressure Sensor 0-40kPa DIP-6
Hardware required
- 1x MPS20N0040D-D Pressure Sensor
- 2x 10k Resistors
- 2x 47k Resistors
- 1x 1k Resistors
- 1x 2.2k Resistors
- 1x LM358 Op-Amp
- 1x Arduino UNO R3
Connecting the Hardware
Connect MPS20N0040D-D Pressure Sensor to arduino as shown below
Upload the sample sketch
const int analogInPin = A0; // Analog input pin that the potentiometer is attached to
int sensorValue = 0; // value read from the pressure sensor via the amplifier stage
float outputValue = 0; // value output to the Serial port and LCD display
void setup()
{
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}
void loop()
{
// read the analog in value:
sensorValue = analogRead(analogInPin);
outputValue = map(sensorValue, 491, 1023, 0, 100); //The zero value of sensor is around 491
// print the results to the serial monitor:
Serial.print(“sensor = ” );
Serial.print(sensorValue);
Serial.print(“\toutput = “);
Serial.println(outputValue);
// wait 500 milliseconds before the next loop
// for the analog-to-digital converter to settle
// after the last reading:
delay(100);
}
Testing the circuit
open your serial monitor by clicking on the icon in the right top corner(like search icon).
Before to apply the pressure