Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interfaces:aht10 [2022/02/09 05:47]
darron [API]
interfaces:aht10 [2022/10/29 17:34] (current)
darron [AHT10 dual-purpose sensor]
Line 1: Line 1:
 ==== AHT10  dual-purpose sensor ==== ==== AHT10  dual-purpose sensor ====
 <wrap right> <wrap right>
-{{:interfaces:aht10.jpg?200}}+{{interfaces:aht10.jpg?100}} 
 +\\ \\ 
 +{{interfaces:stm32_ath10_lc1025.jpg?100}}
 </wrap> </wrap>
  
 This dual-purpose sensor is used to measure temperature and humidity. This dual-purpose sensor is used to measure temperature and humidity.
-It operates as an I2C slave device, however, it has a hardware bug which means it cannot share the bus with any other device.+It operates as an I2C slave device.
  
-The actual sensor is tiny but a board is available from China with the I2C connections+The sensor is tiny IC but a board is available from China with the I2C connections
 and power on a standard 0.1 inch header which makes it easily accessible. and power on a standard 0.1 inch header which makes it easily accessible.
 +
 +WARNING: The AHT10 has a hardware bug which means it cannot share the bus with any other device.
 +
 +Refer to data-sheet figure 11 comment 3: Only a single AHT10 can be connected to the I2C bus and no other I2C
 +devices can be connected.
 +
  
 ===API=== ===API===
 +<wrap right>
 +{{:interfaces:aht10_i2c.jpg?200}}
 +\\ \\
 +{{:interfaces:aht10_i2c_read.jpg?200}}
 +</wrap>
 +
 <code> <code>
 AOSONG_AHT10_EN_DRAFT_0C AOSONG_AHT10_EN_DRAFT_0C
Line 52: Line 66:
 11 COMMAND 11 COMMAND
 </code> </code>
 +
 +===Resources===
 +
 +[[https://server4.eca.ir/eshop/AHT10/Aosong_AHT10_en_draft_0c.pdf|AHT10 (English)]]
 +
 +[[http://www.aosong.com/userfiles/files/media/AHT10%E4%BA%A7%E5%93%81%E6%89%8B%E5%86%8C%20A3%2020201210.pdf|AHT10 (Chinese)]]
 +
 +[[https://cdn-learn.adafruit.com/assets/assets/000/091/676/original/AHT20-datasheet-2020-4-16.pdf|AHT20 (English)]]