Sensor – MPX5010DP – Luchtdruk sensor 0-10kPa
Hardware
Informatie (ENG)
Sensing & Instrumentation, Medical, Industrial, Robotics, Automation & Process Control
Specs:
• 5.0% Maximum Error over 0° to 85°C
• Ideally Suited for Microprocessor or Microcontroller–Based Systems
• Durable Epoxy Unibody and Thermoplastic (PPS) Surface Mount Package
• Temperature Compensated over 40° to +125°C
• Patented Silicon Shear Stress Strain Gauge
Pressure is defined as force per unit area that a fluid exerts on its surroundings. You can measure this force by detecting the amount of deflection on a diaphragm positioned inline with the fluid. Given the known area of the diaphragm, pressure can then be calculated. Pressure sensors are packaged with a scale that provides a method to convert to engineering units. The SI unit for pressure is the Pascal (N/m2), but other common units of pressure include psi, atmospheres, bars, inches of mercury, millimeters of mercury.
Pressure Measurement Methods
There are three methods for measuring pressure: absolute, gauge, and differential. Absolute pressure is referenced to the pressure in a vacuum, whereas gauge and differential pressures are referenced to another pressure such as the ambient atmospheric pressure or pressure in an adjacent vessel.
The MPX5010 series piezo-resistive transducer is a state-of-the-art monolithic silicon pressure sensor designed for a wide range of applications, but particularly those employing a microcontroller or microprocessor with A/D inputs. This patented, single element transducer combines advanced micromachining techniques, thin-film metallization, and bipolar processing to provide an accurate, high level analog output signal that is proportional to the applied pressure.
MPX5010 can measure 10kPa pressure and MPX5100 can measure 100kPa (14.5psi) Pressure. It give linear output over the range as shown in figure.
Pinout
Arduino
Sluit de module aan volgens onderstaand overzicht:
Script
Het script leest de druk uit:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
const float SensorOffset = 102.0; // the setup routine runs once when you press reset: void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); } // the loop routine runs over and over again forever: void loop() { // read the input on analog pin 0: float sensorValue = (analogRead(A0)-SensorOffset)/100.0; //Do maths for calibration // print out the value you read: Serial.print("Air Pressure: "); Serial.print(sensorValue,2); Serial.println(" kPa"); delay(1000); // delay in between reads for stability } |
Het resultaat
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Air Pressure: 0.04 kPa Air Pressure: 0.05 kPa Air Pressure: 0.02 kPa Air Pressure: 1.42 kPa Air Pressure: 3.59 kPa Air Pressure: 4.47 kPa Air Pressure: 4.05 kPa Air Pressure: 5.13 kPa Air Pressure: 7.39 kPa Air Pressure: 8.61 kPa Air Pressure: 7.55 kPa Air Pressure: 0.03 kPa Air Pressure: 0.02 kPa Air Pressure: 0.02 kPa Air Pressure: 0.03 kPa Air Pressure: 0.02 kPa |
Bron: https://circuits4you.com/2016/05/13/arduino-pressure-measurement/
Afmetringen
Teardown
GEEN GEGEVENS
Datasheet
Fritzing
GEEN GEGEVENS
Downloads
GEEN GEGEVENS