TroubleshootingGravity

[BME680 sensor board] error IAQ arduino MEGA2560

userHead diz 2024-03-07 01:27:11 121 Views3 Replies

Hi, I'm having problem with default example, it wont compile without this missing file, can somebody lend me a link with a file?

#include "inc/bsec_datatypes.h"

2024-03-08 03:20:42

thank you for the guide, although the issue still persist:
 

In file included from \Arduino\libraries\DFRobot_BME680/DFRobot_BME680.h:19:0,

                 from \Arduino\libraries\DFRobot_BME680/DFRobot_BME680_I2C.h:15,

                 from Local\Temp\.arduinoIDE-unsaved202427-30380-1bk7nms.0aap\IAQ_I2C\IAQ_I2C.ino:15:

\Arduino\libraries\DFRobot_BME680/bsec_integration.h:89:10: fatal error: inc/bsec_datatypes.h: No such file or directory

userHeadPic diz
Yeez_B wrote:

DFRobot's IAQ related code only adapts to the ESP8266, if you want to adapt to other controllers, you may need to refer to this link to do it yourself.

The following images are taken from the DFRobot wiki.


 

 

The IAQ related code needs to call the underlying library of the BME680 chip, which involves changing the platform.txt file of the SDK.
If you want to adapt other controllers, you may need to refer to the link at the bottom of the page to do it yourself, the BME680 chip is made by Bosch, and their libraries for this chip are a bit too cumbersome.
You need to modify the SDK for each controller/MCU.

 

https://github.com/boschsensortec/BSEC-Arduino-library?tab=readme-ov-file

2024-03-08 10:20:40
1 Replies
2024-03-07 15:12:21

This looks like an issue with the Arduino library, and we've notified the software department to fix it.

In the meantime, we found a way around it in the Github issue.

 

https://github.com/DFRobot/DFRobot_BME680/issues/22

userHeadPic Yeez_B