04-11-2019 09:55 PM - edited 04-11-2019 11:33 PM
Executed all the steps from Integration Guidelines for Arduino platforms.pdf. the library seems to be properly installed, the examples can be compiled without warnings and downloladed to the target platform. However, all the examples in form BSEC folder display the following error message after loading:
BSEC Error code -2
Any ideas?
What is strange that example from Bme680_Data folder basic_data_logging.ino works fine
Solved! Go to Solution.
07-21-2020 02:50 AM
Hi there,
i am having the same problem, assuming I am using the latest code from the git, the patch should not be a solution.
I am using the esp32 devboard v1, I used the esp8266 also, both returning error code -2. I am using the latest version of Arduino IDE.
I tested my sensor with a basic sketch from adafruit and I was able to get the raw readings.
I am using this sensor:
https://www.aliexpress.com/i/32961416338.html
Thanks for your help.
07-21-2020 04:30 AM
I managed to solve the problem, for anyone trying to do the same here is the solution:
I used an I2C scanner and foud the device adres, in case it was :0x77
so I changed this line:
iaqSensor.begin(0x77, Wire);
Regards,
AY