Upgrade to Adafruit BME280 Library 2.x Fails

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
lathemaster
 
Posts: 2
Joined: Tue Dec 18, 2018 1:44 pm

Upgrade to Adafruit BME280 Library 2.x Fails

Post by lathemaster »

I have a small weather node I built using the following:

WeMos D1 Mini ESP Processor
BME280 Sensor

Went to add some functionality and got the notification that updates to the following were available:
AdaFruit BME280 library
AdaFruit Unified Sensor Library

Upgraded the Unified library to version 1.1.4 and my code still functioned

If I upgrade the BME280 library to any of the 2.x versions the BME280 library then the software can not detect
the BME 280 and the software fails.

The sensor is wired as I2C

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: Upgrade to Adafruit BME280 Library 2.x Fails

Post by Franklin97355 »

Have you tried loading the earlier version?

User avatar
lathemaster
 
Posts: 2
Joined: Tue Dec 18, 2018 1:44 pm

Re: Upgrade to Adafruit BME280 Library 2.x Fails

Post by lathemaster »

franklin97355 wrote:Have you tried loading the earlier version?
Yes I am currently up and running with the following:
Adafruit BME280 Library Ver. 1.1.0
Adafruit Unified Sensor Library Ver. 1.1.4

All 2.x versions of the BME library fail to detect the sensor

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: Upgrade to Adafruit BME280 Library 2.x Fails

Post by adafruit_support_carter »

If you run this example with the latest version of the library:
https://github.com/adafruit/Adafruit_BM ... 80test.ino
what do you get in the serial monitor?

User avatar
adafruit2
 
Posts: 22200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Upgrade to Adafruit BME280 Library 2.x Fails

Post by adafruit2 »

@lathemaster - what is the exact url of the sensor you purchased?

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”