-
Notifications
You must be signed in to change notification settings - Fork 39
Constant Gas reading #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
Comments
@caternuson Can you test this again? I believe it may have been resolved by #18 based on reference to #12. |
@kattni Yep, appears to be fixed. Or at least could not repeat the same behavior as above. Here's latest test result for plot of import time
import board
import digitalio
import adafruit_bme680
bme = adafruit_bme680.Adafruit_BME680_I2C(board.I2C())
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
led.value = False
go = digitalio.DigitalInOut(board.D10)
go.direction = digitalio.Direction.INPUT
print("logging...")
with open("/data.csv", "a") as fp:
while go.value:
fp.write("{},{},{},{},{}\n".format(time.monotonic(),
bme.temperature,
bme.gas,
bme.humidity,
bme.pressure))
fp.flush()
led.value = not led.value
time.sleep(1)
print("DONE.") |
Resolved. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've acquired recently an Adafruit BME680, with a Pi Zero W.
During the first day the sensor was able to get a resistance reading for the gas, currently the reading is stuck to 45556 whatever atmosphere is. (I've tried alcohol & black marker)
I'm wondering if it's a bug or the sensor burnt.

As you can see below, the sensors jumped between stuck and reading and now it seems staying stuck.
The humidity and temperature reading give a relevant feedback.
I'm not recalling specific intervention from me able to act on the resistance reading.
Thanks
The text was updated successfully, but these errors were encountered: