1.. _mpr-sample: 2 3MPR Pressure Sensor 4################### 5 6Overview 7******** 8 9This sample application periodically (1Hz) measures atmospheric pressure in 10kilopascal. The result is written to the console. 11 12References 13********** 14 15- MPR: https://sensing.honeywell.com/micropressure-mpr-series 16 17Wiring 18****** 19 20This sample uses an MPRLS0025PA00001A sensor controlled using the i2c 21interface. Connect **VIN**, **GND** and Interface: **SDA**, **SCL**. 22 23Building and Running 24******************** 25 26This project outputs sensor data to the console. It requires a sensor from the 27MPR series. 28It does not work on QEMU. 29In the sample below the :ref:`arduino_due` board is used. 30 31.. zephyr-app-commands:: 32 :zephyr-app: samples/sensor/mpr 33 :board: arduino_due 34 :goals: build flash 35 36Sample Output 37************* 38 39.. code-block:: console 40 41 pressure value: 101.976303 kPa 42 pressure value: 101.986024 kPa 43 pressure value: 101.989736 kPa 44 pressure value: 101.987424 kPa 45 pressure value: 101.992099 kPa 46 pressure value: 101.989171 kPa 47 pressure value: 101.984226 kPa 48 49 <repeats endlessly> 50