1.. _sht3xd:
2
3SHT3XD: High accuracy digital I2C humidity sensor
4#################################################
5
6Description
7***********
8
9This sample application periodically (2 Hz) measures the ambient
10temperature and humidity. The result is written to the console.
11Optionally, it also shows how to use the upper threshold triggers.
12
13References
14**********
15
16 - `SHT3X-DIS sensor <https://www.sensirion.com/en/environmental-sensors/humidity-sensors/digital-humidity-sensors-for-various-applications/>`_
17
18Wiring
19*******
20
21This sample uses the SHT3X_DIS sensor controlled using the I2C interface.
22Connect Supply: **VDD**, **GND** and Interface: **SDA**, **SCL**
23and optionally connect the **ALERT** to a interrupt capable GPIO.
24The supply voltage can be in the 2.15V to 5.5V range.
25Depending on the baseboard used, the **SDA** and **SCL** lines require Pull-Up
26resistors.
27
28Building and Running
29********************
30
31This project outputs sensor data to the console. It requires a SHT3XD
32sensor. It should work with any platform featuring a I2C peripheral
33interface.  It does not work on QEMU.  In this example below the
34:ref:`nrf51_ble400` board is used.
35
36
37.. zephyr-app-commands::
38   :zephyr-app: samples/sensor/sht3xd
39   :board: nrf51_ble400
40   :goals: build flash
41
42Sample Output
43=============
44
45.. code-block:: console
46
47   SHT3XD: 19.64 Cel ; 41.96 %RH
48   SHT3XD: 19.74 Cel ; 42.06 %RH
49   SHT3XD: 19.75 Cel ; 42.08 %RH
50
51<repeats endlessly>
52