I am working on a little project where I would like to measure and log Temperature, Humidity and possibly Barometric Pressure. I decided to go with a BME280 as it had everything I needed in one small module.
The one I ordered was from AliEx and it is one of those little purple modules about the size of a fingernail and has four pins on it. Power (VCC and GND) and I2C (SCL and SDA).
No matter what I've tried it just wont do anything.
At first I connected it up to the circuit I'm prototyping to see if it played nice with the RTC I also have on the I2C Bus. I tried several libraries including Adafruit and couldn't get the BME280 to work. All I got in the Serial Monitor was the text "BME Test" and the program went no further. This was the same on all the libraries I tried.
So next I tried uploading an I2C scanner sketch to see if it could locate the address of the BME280 but both the I2C scanner sketches I tried just hung and didn't scan. Then I tried disconnecting the BME280 and running the I2C scanners and they found two addresses for my RTC.
Finally I set the BME280 up standalone and ran the I2C Scanners and once again they just hung and didn't scan. So in a final attempt to get some life out of the BME280, I tried changing the address by cutting the track between the first pad and the second and linking the second pad to the third - effectively shorting DSO to GND to change the I2C address. Still this made no difference. The BME280 remains lifeless.
Is there anything anyone can suggest I further try or is my BME280 Dead on Arrival?