-
Notifications
You must be signed in to change notification settings - Fork 36
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
Sensor communication crashes randomly #14
Comments
Based on some info about the I2C stretching, I've tried to use this:
` |
try on a non-ESP board. ESP has somewhat unusual I2C support |
Don't have native Arduino to test. But it's confirmed that it is the lib what is wrong. I've used this one instead and it works now for 12 hours. https://github.com/LucAce/CCS811 |
thanks, can you see what is different? |
Guess that the ccs.available() is wrongly detected, probably from the previous data read and than remains active by mistake. Than it crashes when tried to read new data too soon. |
Have the above problems been solved? |
Have the same problem with a ProMini, 8MHz, IDE 1.8.13, Adafruit_CCS811.h |
I'm testing the OLED Demo now. I have ESP core 2.5.2 and CCS811 lib 1.0.2 and the sensor communication fails after some time. The SDA line remains LOW and therefor blocks I2C buss. The OLED therefor stops working too. I've tested both 80MHz and 160MHz CPU freq.
I've tested than basic CCS811_test demo and it fails too. To bring it working again I need to hard reset the CCS811 board.
The text was updated successfully, but these errors were encountered: