^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver sht21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Sensirion SHT21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'sht21'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheet: Publicly available at the Sensirion website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) https://www.sensirion.com/file/datasheet_sht21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * Sensirion SHT25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Prefix: 'sht25'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Datasheet: Publicly available at the Sensirion website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) https://www.sensirion.com/file/datasheet_sht25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Urs Fleisch <urs.fleisch@sensirion.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) only 3 x 3 mm footprint and 1.1 mm height. The difference between the two
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) devices is the higher level of precision of the SHT25 (1.8% relative humidity,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 0.3 degree Celsius).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) The devices communicate with the I2C protocol. All sensors are set to the same
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) in the board setup code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) sysfs-Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) temp1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) - temperature input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) humidity1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) - humidity input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) eic
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) - Electronic Identification Code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) -----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) The driver uses the default resolution settings of 12 bit for humidity and 14
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) bit for temperature, which results in typical measurement times of 22 ms for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) humidity and 66 ms for temperature. To keep self heating below 0.1 degree
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Celsius, the device should not be active for more than 10% of the time,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) e.g. maximum two measurements per second at the given resolution.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Different resolutions, the on-chip heater, and using the CRC checksum
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) are not supported yet.