enjoyneering / AHTxx

This is an Arduino library for Aosong ASAIR AHT1x, AHT2x Digital Humidity & Temperature Sensor
97 stars 25 forks source link

Is there really a AHTXX_STATUS_REG command? #17

Open dquadros opened 1 year ago

dquadros commented 1 year ago

There is no mention to this command in the AHT10 datasheet. In the AHT20 datasheet, it is not listed in the commands, there is only the note "you can get a byte of status word by sending 0x71". 0x71 happens to be the address of the sensor plus the read bit.

My take on this is that there is no need to send a command to get the status (and the readings), you just do an I2C read transaction. I tried this with an AHT10 and it worked. I do not have the other models, so cannot guarantee it will work for them.

keyurthumar commented 1 week ago

Hello @dquadros I am not able to find the datasheet for AHT2415C00. If you can help me with that, it would be great help for me. Thank you

dquadros commented 1 week ago

Sorry, I only found a "Product Summary" with no information on the I2C communication. Daniel On Sunday, October 20, 2024 at 04:02:36 AM GMT-3, keyurthumar @.***> wrote:

Hello @dquadros I am not able to find the datasheet for AHT2415C00. If you can help me with that, it would be great help for me. Thank you

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>