I2C (and SPI) Temperature, Humidity, Pressure and Gas Sensor (BME680)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

I was looking for an air quality sensor,

although I've tried some, controlling heater of the sensor

was somewhat difficult and so far I have not had any reasonable

read-out from the sensors/modules I've tired.

Then I came across this one, the heater can be controlled via I2C or SPI.

So I gave a try.

It was easy up to read and write registers via I2C,

then I noticed that configuring the parameters and

calculating the read value to something reasonable

were not quite easy.

So it was the time to read the datasheet seriously,

and I found that Bosch was providing a couple of lifesavers.

(1) Open Source Driver via the github

https://github.com/BoschSensortec/BME680_driver

(2) Bosch Sensortec BSEC Software

http://www.bosch-sensortec.com/bst/products/all_products/BSEC

Since (2) requires SLA (Software License Agreement), I decided to go with (1).

Note: To calculate the gas resistor value to IAQ Index probably (2) is required.

BME680_MRB_SS.JPG

001-BME680-schematic.JPG

The open-source driver also came with self-test.

Which is quite helpful to confirm that the hardware is at least functioning.

But meantime, I noticed that as the self test utilizes heater a lot,

after the test, the temperature read outs starts rather high.

000-TeraTerm-log.JPG

moto

1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

本サンプルは CQ出版 インターフェース 2019年2月号に

2019年2月号 | Interface – CQ出版

ふえる今どきセンサNote

その13 気温・湿度・気圧等が測れる空気センサ

として掲載されました。

I contributed this sample project to a Japanese technical magazine

"Interface" Feb/2019 edition.

moto

0 Likes