-
Notifications
You must be signed in to change notification settings - Fork 11
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
Recent AHT20 shipment Errno 19 (ENODEV) retrieving device status fails in ahtx0_simpletest.py #18
Comments
|
@DemiVis thank you for mentioning PR #19. I just tested and it worked smoothly for me. I was also getting the No such device error with the current release AHTx0 1.0.20 CircuitPython library.
After applying PR#19 update:
|
hopefully resolved by merging |
#19 works for me, too! |
Ordered some new AHT20 breakout boards on 26 Nov 2023. The first two of these devices (others remain sealed) fail in status with CircuitPython 8.2.9 and Adafruit CircuitPython Bundle 20231205:
Expected output is:
This is the line 129 in the library that is failing:
There are several revisions of the data sheet floating around on the internet. The one linked on the Adafruit Product site says the minimum wait time after power on is 100ms. Other documentation that I have found e.g., from Sparkfun indicate 20ms and a sample C program that I found on the manufacturer's product page waits 500ms after power-on.
I increased wait time to 110ms in a copy of adafruit_ahtx0.py, without any improvement in status reading. I also tried commenting out the self.reset() invocation in init() because the literature seems to indicate it might be unnecessary. Here is the snippet with my change:
Let me know how I can help? More context in a forum thread here
The text was updated successfully, but these errors were encountered: