Component guide · Intermediate · 5 min read
NXP MPX5010DP, MPXV7002DP and MPX5700 Pressure Sensors

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
NXP's MPX sensors measure air pressure with an analog voltage. The MPX5xxx and MPXV7002 are amplified and temperature compensated, giving about 0.2 to 4.7 V on a 5 V supply, so they connect straight to an Arduino analog pin. DP parts have two ports for differential pressure (airflow, filters, airspeed), GP parts read gauge pressure, and A parts read absolute pressure. MPX2010 and MPX10 give millivolts and need an amplifier.
Key specs at a glance
- Amplified
- MPX5010 (10 kPa), 5050, 5100, 5700 (700 kPa), 5999 (1000 kPa), MPXV7002 (+/-2 kPa)
- Unamplified
- MPX2010, MPX10 (mV output, need an instrumentation amplifier)
- Absolute
- MPXHZ6115A (15 to 115 kPa)
- Supply
- 5 V (3 V on MP3V5004)
- Output
- Ratiometric, about 0.2 to 4.7 V
- Media
- Dry air and non-corrosive gases only
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1MPX5010DP Pressure Sensor 0-10 kPa Differential Analog Module₹1,779
Option 2NXP Semiconductors MPX5010DP Differential Pressure Sensor, 0-10 kPa, 4.75-5.25V, 6-Pin SIP₹2,159
Option 3NXP Semiconductors MPX5050DP Differential Pressure Sensor, 0-50 kPa, 90 mV/kPa, SIP 6-Pin₹2,349
Option 4NXP Semiconductors MPX5100DP Differential Pressure Sensor, 0-100 kPa, 45 mV/kPa, 6-Pin SIP₹3,359
Option 5NXP Semiconductors MPX5700DP Differential Pressure Sensor, 0-700 kPa, 6.4 mV/kPa, SIP 6-Pin₹2,349
Option 6NXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1 MPa, 4.5 mV/kPa, 6-Pin SIP₹1,209
What the NXP MPX pressure sensor is
The amplified parts follow a datasheet formula. For the MPX5010DP: Vout = Vs x (0.09 x P + 0.04), with P in kPa. For the MPXV7002DP: Vout = Vs x (0.2 x P + 0.5), centred at 2.5 V for zero difference, so it reads both directions.
The high port (P1) is the side marked or the longer port; connect it to the higher pressure. The DFRobot Gravity air pressure board puts an MPX5700AP behind an I2C converter.
NXP MPX pressure sensor pinout
The pins on the NXP MPX pressure sensor and what each one does.
| Pin | Function |
|---|---|
| Pin 1 (Vout) | Analog output (MPX5xxx 6-pin: pin 1 has a notch) |
| Pin 2 (GND) | Ground |
| Pin 3 (Vs) | 5 V supply |
| Pins 4 to 6 | No connect on amplified parts |
| MPX2010 pins | GND, +Vout, Vs, -Vout (differential mV) |
- Pin 1 (Vout)
- Analog output (MPX5xxx 6-pin: pin 1 has a notch)
- Pin 2 (GND)
- Ground
- Pin 3 (Vs)
- 5 V supply
- Pins 4 to 6
- No connect on amplified parts
- MPX2010 pins
- GND, +Vout, Vs, -Vout (differential mV)
Wiring the NXP MPX pressure sensor
Add the datasheet decoupling: 1 uF and 0.01 uF on Vs and 470 pF on Vout. Push silicone tubing firmly onto the ports and keep liquids out.
| NXP MPX pressure sensor pin | Arduino Uno | ESP32 |
|---|---|---|
| Vs | 5V | 5V (VIN) |
| GND | GND | GND |
| Vout | A0 | ADS1115 A0 (or GPIO 34 via divider) |
- Vs
- Arduino Uno:
- 5V
- ESP32:
- 5V (VIN)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- Vout
- Arduino Uno:
- A0
- ESP32:
- ADS1115 A0 (or GPIO 34 via divider)
Example code
Use the formula from your part's datasheet: MPX5100 uses 0.009 and 0.04, MPX5700 uses 0.0012858 and 0.04, MPXV7002 uses 0.2 and 0.5. Zero the reading at start-up for best results.
void setup() { Serial.begin(9600); }
void loop() {
float vs = 5.0;
float v = analogRead(A0) * vs / 1023.0;
float kPa = (v / vs - 0.04) / 0.09; // MPX5010DP transfer function
float mmH2O = kPa * 101.97;
Serial.print(kPa, 3); Serial.print(" kPa ");
Serial.print(mmH2O, 0); Serial.println(" mm H2O");
delay(500);
}Setup and tuning
read the output with both ports open and subtract it.
with a pitot tube, speed = sqrt(2 x Pa / 1.225) in m/s.
a tube dipped in a tank traps air; 10 kPa equals about 1 m of water.
a 10-bit Arduino ADC limits small readings; an ADS1115 helps.
What you need
Shop this list19 of 20 found in our store · ₹34,038
MPX5010DP Pressure Sensor 0-10 kPa Differential Analog Module: the part this guide coversMPX5010DP Pressure Sensor 0-10 kPa Differential Analog Module₹1,779
NXP Semiconductors MPX5010DP Differential Pressure Sensor, 0-10 kPa, 4.75-5.25V, 6-Pin SIP: another version this guide coversNXP Semiconductors MPX5010DP Differential Pressure Sensor, 0-10 kPa, 4.75-5.25V, 6-Pin SIP₹2,159
NXP Semiconductors MPX5050DP Differential Pressure Sensor, 0-50 kPa, 90 mV/kPa, SIP 6-Pin: another version this guide coversNXP Semiconductors MPX5050DP Differential Pressure Sensor, 0-50 kPa, 90 mV/kPa, SIP 6-Pin₹2,349
NXP Semiconductors MPX5100DP Differential Pressure Sensor, 0-100 kPa, 45 mV/kPa, 6-Pin SIP: another version this guide coversNXP Semiconductors MPX5100DP Differential Pressure Sensor, 0-100 kPa, 45 mV/kPa, 6-Pin SIP₹3,359
NXP Semiconductors MPX5700DP Differential Pressure Sensor, 0-700 kPa, 6.4 mV/kPa, SIP 6-Pin: another version this guide coversNXP Semiconductors MPX5700DP Differential Pressure Sensor, 0-700 kPa, 6.4 mV/kPa, SIP 6-Pin₹2,349
NXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1 MPa, 4.5 mV/kPa, 6-Pin SIP: another version this guide coversNXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1 MPa, 4.5 mV/kPa, 6-Pin SIP₹1,209
NXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1000 kPa Range, 5V Supply, Analog Output: another version this guide coversNXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1000 kPa Range, 5V Supply, Analog Output₹1,429
NXP Semiconductors MPXV5100DP Differential Pressure Sensor, 0-100 kPa, Analog Voltage Output, SOP-8 Package: another version this guide coversNXP Semiconductors MPXV5100DP Differential Pressure Sensor, 0-100 kPa, Analog Voltage Output, SOP-8 Package₹2,469
NXP Semiconductors MPXV7002DP Differential Pressure Sensor, 1 V/kPa, -2 to 2 kPa, 8-Pin SOIC: another version this guide coversNXP Semiconductors MPXV7002DP Differential Pressure Sensor, 1 V/kPa, -2 to 2 kPa, 8-Pin SOIC₹2,379
MPX10DP Differential Pressure Sensor, 0-10 kPa: another version this guide coversMPX10DP Differential Pressure Sensor, 0-10 kPa₹1,006
NXP Semiconductors MPX2010DP Differential Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, 4-Pin SIP: another version this guide coversNXP Semiconductors MPX2010DP Differential Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, 4-Pin SIP₹1,869
NXP Semiconductors MPX2010GP Gauge Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, SIP 4-Pin: another version this guide coversNXP Semiconductors MPX2010GP Gauge Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, SIP 4-Pin₹2,909
NXP Semiconductors MP3V5004DP Pressure Sensor, 0-3.92 kPa Range, Analog Voltage Output, SOP-8 Package: another version this guide coversNXP Semiconductors MP3V5004DP Pressure Sensor, 0-3.92 kPa Range, Analog Voltage Output, SOP-8 Package₹1,889
NXP Semiconductors MPXHZ6115A6T1 Pressure Sensor, 15-115 kPa, 5V Analog Output, SOIC-8 Package: another version this guide coversNXP Semiconductors MPXHZ6115A6T1 Pressure Sensor, 15-115 kPa, 5V Analog Output, SOIC-8 Package₹869
DFRobot Gravity Air Pressure Sensor (15–700kPa) – I2C – MPX5700AP: another version this guide coversDFRobot Gravity Air Pressure Sensor (15–700kPa) – I2C – MPX5700AP₹5,272- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
ADS1115 16-bit 4-channel ADC module: for accurate readings on an ESP32 or 3.3 V boardADS1115 16-Bit 4-Channel ADC Module₹199
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Electrolytic capacitor: decoupling on the sensor supplyElectrolytic Capacitor₹16
Alternatives and when to choose them
- MEMS pressure sensors: digital I2C sensors for barometric use.
- HX710B pressure sensor: a cheap 0 to 40 kPa module.
- 0.5-4.5 V transducers: for water and higher pressures.
Common mistakes to avoid
- Using water or liquids directly on the sensor.
- Swapping the high and low ports.
- Using an amplified formula on an MPX2010 mV sensor.
- Bending the pins on the fragile SIP package.
Frequently asked questions
What does DP mean?
Dual port: it measures the difference between two pressures.
Can it measure water level?
Yes, with a bubbler or trapped-air tube, keeping water off the sensor.
Will it run on 3.3 V?
Not the 5 V parts; use a 3 V part such as the MP3V5004 or a 5 V supply with scaling.
Which part for a pitot airspeed sensor?
The MPXV7002DP.
Why does my reading drift?
Temperature and supply changes; re-zero and use a stable 5 V.
Parts for this guide
- ₹1,779View
- ₹2,159View
- ₹2,349View
- ₹3,359View
- ₹2,349View
- ₹1,209View
NXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1000 kPa Range, 5V Supply, Analog Output₹1,429View
NXP Semiconductors MPXV5100DP Differential Pressure Sensor, 0-100 kPa, Analog Voltage Output, SOP-8 Package₹2,469View- ₹2,379View
- ₹1,006View
- ₹1,869View
- ₹2,909View
NXP Semiconductors MP3V5004DP Pressure Sensor, 0-3.92 kPa Range, Analog Voltage Output, SOP-8 Package₹1,889View- ₹869View
- ₹5,272View
- ₹359View
- ₹389View
- ₹199View
- ₹139View
- ₹16View
- ₹68View
- ₹49View
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
- NXP MPX5010, MPX5100, MPX5700 and MPXV7002 datasheets
- NXP AN1646 noise considerations for pressure sensors
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



