-->
Page 6 of 8

Re: Connect BME280 sensor to NodeMCU or WeMos D1 via I2C ?

PostPosted: Thu Mar 10, 2016 4:54 pm
by Glyphi
Thank you! I had exactly the same problem and your code has fixed it. Now I'm very tempted to dig and find out why Adafruit's code didn't - it would be nice to give something back for a change, cos I bet the same fix would work for BMP180 and 280.

So glad to see even one of these sensors working on the ESP.

Re: Connect BME280 sensor to NodeMCU or WeMos D1 via I2C ?

PostPosted: Tue Jun 07, 2016 3:20 am
by dimesp
@reaper7 your code works but the altitude is always 149.99m

I 've found this https://github.com/finitespace/BME280 code that works on my nodemcu board

Re: Connect BME280 sensor to NodeMCU or WeMos D1 via I2C ?

PostPosted: Tue Jun 07, 2016 4:19 am
by reaper7
dimesp wrote:@reaper7 your code works but the altitude is always 149.99m

I 've found this https://github.com/finitespace/BME280 code that works on my nodemcu board


it's true, because in example for calculate altitude as parameter is given RELATIVEPRESSURE (calculated from defined my home alt ~150), so...simply replace parameter from relativepressure to realpressure

Re: Connect BME280 sensor to NodeMCU or WeMos D1 via I2C ?

PostPosted: Wed Oct 05, 2016 4:47 pm
by William235
I have had exactly the same output with the bme280 and the nodemcu-12e. I have concluded that it is not worth the trouble until someone comes along with a library that actually works. I have had no difficulties with other sensors, including the bmp180.