Hi, I tested the sensor with esp32 using the simily code like https://github.com/BoschSensortec/BME680_driver/blob/master/Self%20test/bme680_selftest.c, it works perfectly, then I used the (almost) same code running on raspberry, unfortunetely, it does not work properly. Did you test the sensor with a raspberry using I2c? If not, can you please test it? Here some debug output of my test setup: first: get dur delay 183 ms get data read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 read from pid 5 r: 1d:0080008000800800004 Error [2] : Unknown error code T: -5.68 degC, P: 0.06 hPa, H 1993407.88 %rH set sensor_mode read from pid 5 r: 74:0 w: 74:1 w: 74:1 write to from pid 5 second: get dur delay 183 ms get data read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba read from pid 5 r: 1d:005a68807d9ba0445f800088ba Error [2] : Unknown error code T: -5.68 degC, P: 0.07 hPa, H 1993407.88 %rH , G: 92860 ohms set sensor_mode read from pid 5 r: 74:8c w: 74:8d w: 74:8d write to from pid 5 In attachment, you can also find the debug output from my osciloscopy. And what I just wonder, after setting Baudrate to 40000 in raspberry, one of bme680 sensor in our project, it works well, but a second on board not. If you like to know more, you can also write me email to wenwen.chen@de.bosch.com
... View more