Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there really a AHTXX_STATUS_REG command? #17

Open
dquadros opened this issue Jun 4, 2023 · 0 comments
Open

Is there really a AHTXX_STATUS_REG command? #17

dquadros opened this issue Jun 4, 2023 · 0 comments

Comments

@dquadros
Copy link

dquadros commented Jun 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant