Arduino BME280 – Could not find a valid BME280 sensor – SOLVED

Hi, if you facing the same problem as me :

 

I found a solution for this problem.

  1. First, check your BME280 address by this sketch 
    1. if your address is 0x77 you do not have to change anything
    2. if your address is different change your library
      1. open library file Adafruit_BME280.h – normally is saved at C:\Users\USERinfo\Documents\Arduino\libraries\Adafruit_BME280_Library-master
      2. find  #define BME280_ADDRESS (0x76) and change to your scanned address
  2. If you still have the same problem open file Adafruit_BME280.cpp – normally is saved at C:\Users\info\Documents\Arduino\libraries\Adafruit_BME280_Library-master
    1. find
    2. change to

       

Problem is because adafruit library check CHIPID and your chipid is different than what adafruit sell.

0
Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × 3 =

© 2018 David Stein