4.21. Humidity/Temperature Sensor Module

4.21.1. Module Files

4.21.1.1. Driver

4.21.1.2. Unit Test

  • tests/unit/app/driver/htsen/test_htsen.c (API, source)

4.21.2. Detailed Description

The driver addresses the Sensirion SHT35-DIS I2C humidity/temperature sensor.

It triggers a humidity and temperature measurement and reads the result. It checks the read CRC value: if it does not match the one that the driver computes, the measurement value is discarded. The result is stored in the corresponding database entry. The driver does not use clock stretching to avoid problems on the I2C bus.