htu21 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Kernel driver htu21
  2. ===================
  3. Supported chips:
  4. * Measurement Specialties HTU21D
  5. Prefix: 'htu21'
  6. Addresses scanned: none
  7. Datasheet: Publicly available at the Measurement Specialties website
  8. http://www.meas-spec.com/downloads/HTU21D.pdf
  9. Author:
  10. William Markezana <william.markezana@meas-spec.com>
  11. Description
  12. -----------
  13. The HTU21D is a humidity and temperature sensor in a DFN package of
  14. only 3 x 3 mm footprint and 0.9 mm height.
  15. The devices communicate with the I2C protocol. All sensors are set to the
  16. same I2C address 0x40, so an entry with I2C_BOARD_INFO("htu21", 0x40) can
  17. be used in the board setup code.
  18. This driver does not auto-detect devices. You will have to instantiate the
  19. devices explicitly. Please see Documentation/i2c/instantiating-devices
  20. for details.
  21. sysfs-Interface
  22. ---------------
  23. temp1_input - temperature input
  24. humidity1_input - humidity input
  25. Notes
  26. -----
  27. The driver uses the default resolution settings of 12 bit for humidity and 14
  28. bit for temperature, which results in typical measurement times of 11 ms for
  29. humidity and 44 ms for temperature. To keep self heating below 0.1 degree
  30. Celsius, the device should not be active for more than 10% of the time. For
  31. this reason, the driver performs no more than two measurements per second and
  32. reports cached information if polled more frequently.
  33. Different resolutions, the on-chip heater, using the CRC checksum and reading
  34. the serial number are not supported yet.