Problems with BME280

Hi,

I am trying to connect a Feather board with WiFi with an Adafruit BME280 sensor.
Despite multiple tries i have not been able to get a response from the sensor. Earlier it always returned values as nAn or 0.
I also tried running the bme280test example from the library but i still get no response.

Please advice if i might not be doing something correct.

Attached is the circuit diagram that i have used.

Thanks in advance.

The sensor needs I2C but it is connected to SPI pins. The I2C pins on the Feather board are labelled SCL and SDA. Consult the Adafruit tutorial for this board.

The sensor needs I2C but it is connected to SPI pins.

The sensor can use either I2C or SPI. Consult the Adafruit tutorial for this board.

Don

..and don't forget a 4.7 K pullup resistor on both SDA and SCL...

photoncatcher:
..and don't forget a 4.7 K pullup resistor on both SDA and SCL...

Not needed. The Adafruit BME280 has pullups on those pins.

But since the OP appears to have it hooked up for SPI, this is irrelevant.

photoncatcher:
..and don't forget a 4.7 K pullup resistor on both SDA and SCL...

Just confirmed from Adafruit. Pullup resistors are not required, as they're installed on ALL I2C sensors from them.

Sorry Dave; I just noticed you had already replied. I chatted with Bill this AM at Adafruit forum on this very subject for another product. My BME280 is working just fine, spitting out data for a month now.

@vishpoison; Can you provide your sketch?