I have a project that uses the bme280 sensor over i2c. It is working just fine with a Photon. I am using the Adafruit bme280 library from Github. When I try using a Bluz the values being returned are way out of range, for instance > 300 degrees. I am also experiencing something similar with the si1145 light sensor. With a Bluz the light sensor always returns 0 for visible light (however IR and UV index are reasonable…). Is there some extra configuring for i2c with the Bluz that I am missing? It seems to partially work because it will correctly read back the device IDs and the light sensor seems to half work.
I have tried the following with no luck:
- Explicitly set the i2c speed to 100khz
- Different power sources for my Bluz circuit
- Different sensors (a breadboard with breakout boards from Adafruit as well as a custom PCB I designed with everything integrated)
I am scratching my head about what next to try to diagnose the problem. Any help would be appreciated!