aht10.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .. SPDX-License-Identifier: GPL-2.0
  2. Kernel driver aht10
  3. =====================
  4. Supported chips:
  5. * Aosong AHT10/AHT20
  6. Prefix: 'aht10'
  7. Addresses scanned: None
  8. Datasheet(AHT10):
  9. Chinese: http://www.aosong.com/userfiles/files/media/AHT10%E4%BA%A7%E5%93%81%E6%89%8B%E5%86%8C%20A3%2020201210.pdf
  10. English: https://server4.eca.ir/eshop/AHT10/Aosong_AHT10_en_draft_0c.pdf
  11. Datasheet(AHT20):
  12. English: http://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf
  13. * Aosong DHT20
  14. Prefix: 'dht20'
  15. Addresses scanned: None
  16. Datasheet: https://www.digikey.co.nz/en/htmldatasheets/production/9184855/0/0/1/101020932
  17. Author: Johannes Cornelis Draaijer <jcdra1@gmail.com>
  18. Description
  19. -----------
  20. The AHT10/AHT20 is a Temperature and Humidity sensor
  21. The address of this i2c device may only be 0x38
  22. Special Features
  23. ----------------
  24. AHT20, DHT20 has additional CRC8 support which is sent as the last byte of the sensor
  25. values.
  26. Usage Notes
  27. -----------
  28. This driver does not probe for AHT10/ATH20 devices, as there is no reliable
  29. way to determine if an i2c chip is or isn't an AHT10/AHT20. The device has
  30. to be instantiated explicitly with the address 0x38. See
  31. Documentation/i2c/instantiating-devices.rst for details.
  32. Sysfs entries
  33. -------------
  34. =============== ============================================
  35. temp1_input Measured temperature in millidegrees Celsius
  36. humidity1_input Measured humidity in %H
  37. update_interval The minimum interval for polling the sensor,
  38. in milliseconds. Writable. Must be at
  39. least 2000.
  40. =============== ============================================