-
Notifications
You must be signed in to change notification settings - Fork 2
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
Repeated read of BME280 causing RPi to hang #6
Comments
Using this library, I've found a way of making the repeated reading from the sensor reliable. After every read, I'm calling Without this the Raspberry Pi hangs after a few minutes. Having added in the reset my app has remained stable for about 12 hours. |
Having tried my I'm pretty sure the Pimoroni BME280 doesn't like being used in forced mode. The links in this repository point to the Adafriuit BME280 module. Is this what this API has been tested against? Has anyone seen hangs with the Adafruit version of hardware? I'm temped to get an Adafriut sensor if this reliably works when read repeatedly. I'm wanting to read the sensor every few seconds. @jveverka does the Adafruit BME280 work reliably when read repeatedly for you? |
I don't think this problem is specific to this library, but using the BME280 class when I'm repeatedly reading temperature, pressure and humidity I'm finding that after a short time the Raspberry Pi hangs. I'm using a Pimoroni BME280
I believe this is an issue with reading the sensor in forced mode as I can reproduce this using other libraries such as from Pimoroni.
Is there a way of not using forced mode using the API?
The text was updated successfully, but these errors were encountered: