Anyone have a BME680? #962
Replies: 15 comments
-
Posted at 2017-11-28 by tbd BME680 is used in uRadMonitor https://www.uradmonitor.com/bosch-bme680/ a project made by a guy in my town which went global (800 units deployed) I hope BME680 is more accurate than the sensors in my Nordic Thingy ;) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-17 by Frida Hi! I have changed getInt16 () and getUint16 (xx, true), according to Doc
So now, temperature, pressure and humidity show the same as my Ruuvitag.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-18 by @gfwilliams @frida that's amazing - thanks! I can't believe I messed that up! :) I'll update my original post, and will make a note to create a proper module on the Espruino site with it.
That sounds wrong to me for a resistance measurement. Pimoroni has a bit of info on https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-bme680-breakout
So we'd expect the value to be pretty high, but not that high :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-18 by Frida Yes, that's the one I'm looking at, I've soldered the plug on Raspi and connected the sensor. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-12-19 by @gfwilliams Espruino kind of does 64 bit - when you do something with two 32 bit integers it's done in 64 bits and then if it doesn't fit in a 32 bit int, a 64 bit double is used - so you won't get overflow. In the calculations they're using ints because they don't want to use floating point, but we don't care. A lot of that random multiply/divide stuff could actually be taken out since it's only there to preserve accuracy when done on an integer system. I guess it's possible that the calculations are actually relying on the fact that 32 bit integers will clip the number? Do you think it's possible that you could find the calibration and gas_res_adc/gas_range values that the Python code uses to get a certain result - and then we could feed those into the Espruino module and see where it goes wrong. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-04 by Frida Hi, I have found the last mistakes, so now the gas sensor works. Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-04 by @gfwilliams That's amazing - thanks! It's pretty much a module already (typing |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-05 by @gfwilliams And it's online: http://www.espruino.com/BME680 Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-05 by DrAzzy What a cool sensor. Air quality - measured in ohms! Maybe in the next version they can tell us the humidity in lux, and the temperature in ounces? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-05 by Frida Glad to help |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-05 by @MaBecker Very cool, just ordered one at the german site of Pimoroni . |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-08 by Frida You can read more of it on: https://learn.adafruit.com |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-13 by @MaBecker Got mine up and running attached to a Pico. Not sure how to read/interpret the gas_resistance
Is there ca context between Indoor air quality (IAQ) (page 9) and gas_resistance? Ok, have to wait some time....
Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-13 by @MaBecker Thanks to all of you for this great implementation of BME680! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-13 by @MaBecker This could be a way to get IAQ values for gas_resistor values https://github.com/pimoroni/bme680/blob/master/examples/indoor-air-quality.py#L45-L91 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-28 by @gfwilliams
They're really neat sensors that measure temperature, pressure, humidity, but also the air quality.
https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME680-DS001-00.pdf
Pimoroni sell breakouts here: https://shop.pimoroni.com/products/bme680
I've attached some test code I'm using for it, which is almost there... Humidity works, and the other values move around - it's just I think they're a bit questionable - possibly caused by integer overflows after converting from the typed C code :(
Anyway, for the moment I've run out of time to spend on it, but I thought I'd post it up in case anyone else was interested.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions