As it has on module voltage regulator has it also got on module pullup resistors on the SCL/SDA lines?
Try without your pullups.
The BME280 is a 3.3V device and pulling the SCL/SDA lines up to 5V is not good unless the module also does voltage level shifting of these line as well. If it does not then you may have damaged the modules.
I got the same sensor as Mischa72, however I see I2C adress 0x76 in the I2C scanner. I changed my Adafruit_BMP280.h the I2C adress from 0x77 to 0x76..... But it still doesn't want to find the sensor....
Do I have to reload the library or????
I changed it with a text editor, I am working on OSX 10.13.2 and I use Arduino 1.8.5 editor.
I've tried again with adding bme.begin(0x76); in void setup, but still the same result, it displays "could not find a valid bmp280 sensor, check wiring!" in the serial monitor
Strange that you see it on the scanner but don't get data off of it.
For me the logical step would be to go down and dirty, and build my own library. I've done that for this particular sensor, the datasheet is pretty clear.
If you try to read a BME280 with a BMP280 library it should work just fine - you just don't get humidity data.
If you try to read a BMP280 with a BME280 library you get 0 for the humidity (at least, that's what happened to me - other libraries may handle this differently). The pressure and temperature parts are identical.
You're right, I don't own a BMP280 so I don't know if it works or not. Never tried to use the BMP library to read the BME, you did it and it works. But I prefer to avoid the possibility that the wrong library can have a role in the issue.
I also suggest to test the sensor without anything else, so without the I2C LCD .
So I sat for 2 or 3 days experiencing all of the problems that so many others have posted regarding the BME280. I used the Adafruit_BME280 with absolutely no success! I tried all the suggestions: Edited the .h to force the address to 0x76 to no avail. I tried pulling SD0 to ground.
None of this worked and I tried many different sketches. I assumed I had killed the device.
I then used the good old I2C scanner by Nick Gammon, and lo and behold, it confirmed a device at 0x76!
After more struggling I started testing other libraries, and eventually found that
BME280 Library by Tyler Glenn works like a bomb. The example included BME_I2C_Test reports Temp and Pressure, but 0.00% RH.
The Environment_Calculations example also works well.
As Adafruit say about their library:
This is a library for the BME280 humidity, temperature & pressure sensor
Gerryduino:
So I sat for 2 or 3 days experiencing all of the problems that so many others have posted regarding the BME280. I used the Adafruit_BME280 with absolutely no success! I tried all the suggestions: Edited the .h to force the address to 0x76 to no avail. I tried pulling SD0 to ground.
None of this worked and I tried many different sketches. I assumed I had killed the device.
I then used the good old I2C scanner by Nick Gammon, and lo and behold, it confirmed a device at 0x76!
After more struggling I started testing other libraries, and eventually found that
BME280 Library by Tyler Glenn works like a bomb. The example included BME_I2C_Test reports Temp and Pressure, but 0.00% RH.
The Environment_Calculations example also works well.
As Adafruit say about their library:
This is a library for the BME280 humidity, temperature & pressure sensor
Clearly the ones from the east are not the same, and must use a different library.
Tested on an Arduino UNO
Thank you! I got this library from the built in library manager and it works!
Although it is showing my board as a BMP280 not BME280, and shows Hum as 0.
The seller I got my board from on ebay had it listed as BME280.
The markings on the chip are 187 YP, anyone know if these are BME or BMP?
Edit:
The board I received is a BMP280, there was another buyer who posted negative feedback on the sellers page with the same issue.
Seller name is ral8881010 on ebay. If you're looking for BME280 boards, don't purchase from that seller.
Hi everybody!
This is my first post! I need help with my sensor because I have some problems with it...
In my project I use two sensor, one was modificated ( cut and solder of pins, according to Address change on I2C Humidity Temperature Pressure Sensor BME280 - Sensors - Arduino Forum) and the another no.
This worked well for a while, but then it failed the modificed sensor (0x77, i2c direction) ...
I try to many forms, but I do not have good luck!
I use the i2c scanner and it find it!!!, but it does not work! it not send any data:(
What do you think about this? any idea??
I'm not sure, but maybe I could have burned it for static current when I have touched it....
Thanks to everyone!