Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›NXP MPX5010DP, MPXV7002DP and MPX5700 Pressure Sensors

Component guide · Intermediate · 5 min read

NXP MPX5010DP, MPXV7002DP and MPX5700 Pressure Sensors

Wiring and Code

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the NXP MPX pressure sensor isNXP MPX pressure sensor pinoutWiring the NXP MPX pressure sensorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

NXP MPX pressure sensor pinout

The pins on the NXP MPX pressure sensor and what each one does.

PinFunction
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 6No connect on amplified parts
MPX2010 pinsGND, +Vout, Vs, -Vout (differential mV)
PinFunction
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)
03

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 pinArduino UnoESP32
Vs5V5V (VIN)
GNDGNDGND
VoutA0ADS1115 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)
04

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.

MPX5010DP differential pressure in kPa and mm of water (Uno) · Arduino C++Verify & upload in Electrolark
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);
}
05

Setup and tuning

Zero offset

read the output with both ports open and subtract it.

Airspeed

with a pitot tube, speed = sqrt(2 x Pa / 1.225) in m/s.

Water level

a tube dipped in a tank traps air; 10 kPa equals about 1 m of water.

Resolution

a 10-bit Arduino ADC limits small readings; an ADS1115 helps.

06

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
07

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.
08

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.
09

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

  • MPX5010DP Pressure Sensor 0-10 kPa Differential Analog Module
    ₹1,779View
  • NXP Semiconductors MPX5010DP Differential Pressure Sensor, 0-10 kPa, 4.75-5.25V, 6-Pin SIP
    ₹2,159View
  • NXP Semiconductors MPX5050DP Differential Pressure Sensor, 0-50 kPa, 90 mV/kPa, SIP 6-Pin
    ₹2,349View
  • NXP Semiconductors MPX5100DP Differential Pressure Sensor, 0-100 kPa, 45 mV/kPa, 6-Pin SIP
    ₹3,359View
  • NXP Semiconductors MPX5700DP Differential Pressure Sensor, 0-700 kPa, 6.4 mV/kPa, SIP 6-Pin
    ₹2,349View
  • NXP Semiconductors MPX5999D Differential Pressure Sensor, 0-1 MPa, 4.5 mV/kPa, 6-Pin SIP
    ₹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
  • NXP Semiconductors MPXV7002DP Differential Pressure Sensor, 1 V/kPa, -2 to 2 kPa, 8-Pin SOIC
    ₹2,379View
  • MPX10DP Differential Pressure Sensor, 0-10 kPa
    ₹1,006View
  • NXP Semiconductors MPX2010DP Differential Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, 4-Pin SIP
    ₹1,869View
  • NXP Semiconductors MPX2010GP Gauge Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, SIP 4-Pin
    ₹2,909View
  • NXP Semiconductors MP3V5004DP Pressure Sensor, 0-3.92 kPa Range, Analog Voltage Output, SOP-8 Package
    ₹1,889View
  • NXP Semiconductors MPXHZ6115A6T1 Pressure Sensor, 15-115 kPa, 5V Analog Output, SOIC-8 Package
    ₹869View
  • DFRobot Gravity Air Pressure Sensor (15–700kPa) – I2C – MPX5700AP
    ₹5,272View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • ADS1115 16-Bit 4-Channel ADC Module
    ₹199View
  • 0.96" OLED Display 128x64
    ₹139View
  • Electrolytic Capacitor
    ₹16View
  • Solderless Breadboard
    ₹68View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop Pressure Transducers, Transmitters & Manometers

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Advanced · 3 daysBuild a GPS mapping quad on Pixhawk and ArduPilotView project
Browse all 1 project

Keep learning

Component guideIntermediateMEMS and Differential Pressure SensorsUse MEMS and differential pressure sensors: HX710B 0-40 kPa modules, MPX5700, Asair ADP I2C sensors, airflow, filters, tubing and calibration.3 min read · SensorsComparisonBeginnerBarometric Pressure SensorsBarometric pressure sensors measure air pressure, from which you can calculate altitude or track weather.3 min read · SensorsComponent guideIntermediateADS1115 16-Bit ADC ModuleThe ADS1115 adds four precise 16-bit analog inputs to any board over I2C.3 min read · SensorsComponent guideBeginnerHX710B Air Pressure Sensor Module (0-40 kPa)The HX710B module pairs a small 0 to 40 kPa gauge pressure sensor (MPS20N0040D) with the HX710B 24-bit ADC, so an Arduino or ESP32 reads it with two digital pins, much like an HX711 load cell.3 min read · Sensors

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.

On this page
Short answerWhat the NXP MPX pressure sensor isNXP MPX pressure sensor pinoutWiring the NXP MPX pressure sensorExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹15,169

MPX5010DP Pressure Sensor 0-10 kPa Differential Analog Module · NXP Semiconductors MPXV5100DP Differential Pressure Sensor, 0-100 kPa, Analog Voltage Output, SOP-8 Package · NXP Semiconductors MPXV7002DP Differential Pressure Sensor, 1 V/kPa, -2 to 2 kPa, 8-Pin SOIC · MPX10DP Differential Pressure Sensor, 0-10 kPa · NXP Semiconductors MPX2010DP Differential Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, 4-Pin SIP · NXP Semiconductors MPX2010GP Gauge Pressure Sensor, 0-10 kPa, 2.5 mV/kPa, SIP 4-Pin · NXP Semiconductors MP3V5004DP Pressure Sensor, 0-3.92 kPa Range, Analog Voltage Output, SOP-8 Package · NXP Semiconductors MPXHZ6115A6T1 Pressure Sensor, 15-115 kPa, 5V Analog Output, SOIC-8 Package

Run itChange the inputs and watch the output

MPX5010: 0.2 V at 0 kPa, 4.7 V at 10 kPa (about 1 m of water).

Serial monitor9600 baud
2.494 kPa  254 mm H2O

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question