Kernel driver shtc1

Supported chips:

Author:

Johannes Winkelmann <johannes.winkelmann@sensirion.com>

Description

This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3chips, a humidity and temperature sensor. Temperature is measured in degreescelsius, relative humidity is expressed as a percentage.

The device communicates with the I2C protocol. All sensors are set to I2Caddress 0x70. See Documentation/i2c/instantiating-devices.rst for methods toinstantiate the device.

There are two options configurable by means of shtc1_platform_data:

  1. blocking (pull the I2C clock line down while performing the measurement) ornon-blocking mode. Blocking mode will guarantee the fastest result butthe I2C bus will be busy during that time. By default, non-blocking modeis used. Make sure clock-stretching works properly on your device if youwant to use blocking mode.
  2. high or low accuracy. High accuracy is used by default and using it isstrongly recommended.

sysfs-Interface

temp1_input
  • temperature input
humidity1_input
  • humidity input