10-21-2021 05:32 PM
Hey i have a Arduino Project and noticed something strange and would like to ask if this behaivur is normal and/or avoidable
I have 2 BME680 and a Display on the same I2C Bus, but if one of the Sensors get wet the whole I2C Bus "collapses", if i disconnect the wet sensor, the other sensor and display work again as usual, whats the reason for that and what can i do against it?
Or is it "normal behaivour" since its not waterproof? i would have imagine that i just get false readins or something like that, not that the whole i2c bus "locks up"
I also measured between SCL/SDA/GND/VCC on the sensor while it was wet but there was no short or ohm resistance whatsoever
10-22-2021 12:17 AM
You can't handle 2 BME680s together in BSEC.
But, you can handle it using BME68x API. https://github.com/BoschSensortec/BME680_driver
And, I think I2C issue could happen when you set same i2c address for 2 bme680 in one i2c communicattion.
You should set primary address for one bme680 and secondary address for the other.
Regarding setting address, you can check 6.2 i2c interface in datasheet.
10-22-2021 03:29 PM
BSEC can actually handle 2 Sensor, thats not the Problem, the only Problem is that its not working if one Sensor got wet because the whole I2C Bus gets locked up, its working flawlessly and like it should if both sensors are "dry"
10-22-2021 05:52 PM
Could you send me the your code?
I don't think BSEC is working for multiple BME680s.
I will check your code.
10-22-2021 09:21 PM
i mostly just modified this multi example : https://github.com/BoschSensortec/BSEC-Arduino-library/blob/master/examples/basic_config_state_multi...
like i said, its working as intended (i get plausible readings from both), the only problem i have is if one sensor gets wet (through condensation for example)
But it seems like this behaivor is unusual? (because you think its something with the code?)