sht21 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Kernel driver sht21
  2. ===================
  3. Supported chips:
  4. * Sensirion SHT21
  5. Prefix: 'sht21'
  6. Addresses scanned: none
  7. Datasheet: Publicly available at the Sensirion website
  8. http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT21.pdf
  9. * Sensirion SHT25
  10. Prefix: 'sht21'
  11. Addresses scanned: none
  12. Datasheet: Publicly available at the Sensirion website
  13. http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT25.pdf
  14. Author:
  15. Urs Fleisch <urs.fleisch@sensirion.com>
  16. Description
  17. -----------
  18. The SHT21 and SHT25 are humidity and temperature sensors in a DFN package of
  19. only 3 x 3 mm footprint and 1.1 mm height. The difference between the two
  20. devices is the higher level of precision of the SHT25 (1.8% relative humidity,
  21. 0.2 degree Celsius) compared with the SHT21 (2.0% relative humidity,
  22. 0.3 degree Celsius).
  23. The devices communicate with the I2C protocol. All sensors are set to the same
  24. I2C address 0x40, so an entry with I2C_BOARD_INFO("sht21", 0x40) can be used
  25. in the board setup code.
  26. sysfs-Interface
  27. ---------------
  28. temp1_input - temperature input
  29. humidity1_input - humidity input
  30. Notes
  31. -----
  32. The driver uses the default resolution settings of 12 bit for humidity and 14
  33. bit for temperature, which results in typical measurement times of 22 ms for
  34. humidity and 66 ms for temperature. To keep self heating below 0.1 degree
  35. Celsius, the device should not be active for more than 10% of the time,
  36. e.g. maximum two measurements per second at the given resolution.
  37. Different resolutions, the on-chip heater, using the CRC checksum and reading
  38. the serial number are not supported yet.