1.. _lps22hh:
2
3LPS22HH: Temperature and Pressure Monitor
4#########################################
5
6Overview
7********
8This sample periodically reads pressure from the LPS22HH MEMS pressure
9sensor and displays it on the console.
10
11
12Requirements
13************
14
15This sample uses the LPS22HH sensor controlled using the I2C interface.
16
17References
18**********
19
20- LPS22HH: http://www.st.com/en/mems-and-sensors/lps22hh.html
21
22Building and Running
23********************
24
25This project outputs sensor data to the console. It requires an LPS22HH
26sensor, which is present on the X-NUCLEO-IKS01A3 shield.
27
28.. zephyr-app-commands::
29   :zephyr-app: samples/sensor/lps22hh
30   :board: nrf52dk_nrf52832
31   :shield: x_nucleo_iks01a3
32   :goals: build
33   :compact:
34
35Sample Output
36=============
37
38.. code-block:: console
39
40   Configured for triggered collection at 1 Hz
41   Observation: 1
42   Pressure: 97.474 kPa
43   Temperature: 22.19 C
44   Observation: 2
45   Pressure: 97.466 kPa
46   Temperature: 22.21 C
47   Observation: 3
48   Pressure: 97.473 kPa
49   Temperature: 22.21 C
50   Observation: 4
51   Pressure: 97.455 kPa
52   Temperature: 22.21 C
53
54   <repeats endlessly every second>
55