BMP280 'wiring issue', did I break it ?

Hi there :slight_smile:

So I want to get my BMP280 sensor to work on my Arduino UNO WiFi Rev2, but I keep getting error messages.

Steps I have tried so far:

  • Downloaded the Adafruit BMP280 library and run the example test on it it, result:

SensorID was: 0xFF

  • ID of 0xFF probably means a bad address, a BMP 180 or BMP 085*
  • ID of 0x56-0x58 represents a BMP 280,*
  • ID of 0x60 represents a BME 280.*
  • ID of 0x61 represents a BME 680.*

Bosch BME280 Pressure - Humidity - Temp Sensor | cactus.io
Could not find a valid BME280 sensor, check wiring!

  • Changing the wires

Nothing works :frowning:

I am scared that I might have somehow broken the sensor in soldering it since this was my first time soldering. I have attached some pictures and I just want to let you know that the little component on the sensor that I circled might be a teeny tiny bit melted on the side (from soldering) but it's really minimal ! I hope it's not broken :frowning:

PS: Probably irrelevant but my IDE tells me:

avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).

(Do not know what this means, sorry I am a newbie !)


That wiring is for an UNO, you have an UNO WiFi which is a completely different board (despite it's name, shame on Arduino.cc).

Connect the sensor to the I2C pins (named SDA/SCL).

Thanks so much for this, I feel like I am one big step closer !!

The problem now is that although I have managed to 'find' the sensor at 0x76, this only happens when I run the 'find address' code mentioned above. AND it only finds it when I am pressing + tilting the pins a certain way, so I am guessing I haven't soldered it properly (no suprise there). However, even holding / pressing them that way, the sensor will not receive any readings with the proper library and code that isn't the cactus.io 'find address' one.

Any advice ? Is this all just because it is not well soldered ?

if you have problems soldering a proto screw shield helps
the library I use for the BMP280 is I2C-Sensor-Lib (iLib)

horace:
the library I use for the BMP280 is I2C-Sensor-Lib (iLib)

Ouch ! That is a unnecessarily complicated use of the Wire library with a bug.
My issue from 2017 has not been solved yet: The Wire.endTransmission after Wire.requestFrom is not needed. · Issue #4 · orgua/iLib · GitHub

Adafruit has a tutorial and a library: Overview | Adafruit BMP280 Barometric Pressure + Temperature Sensor Breakout | Adafruit Learning System