Code Monkey home page Code Monkey logo

bme280's People

Contributors

flybrianfly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bme280's Issues

IIRC call syntax fix

(Awesome work, on all your libraries! Thanks!)

In readme.md:
status = bme.setIirCoefficient(BME280::IIRC_X4);
should read
status = bme.setIirCoefficient(BME280::IIRC_4);

And thusly for all other adjustment points.

BME280 is not accessible with ESP32-MCU

Hi,

I'm trying to access a BME 280 with an NodeMCU ESP32-S using the BME280 library.

I2C scanner finds the device, but BME280 is reporting that it can't communicate with the sensor.
Tried with the module set to both addresses (0x76 and 0x77, and also with the BME280 alone on the bus). I get the same error message when running the Basic_I2C example. The other sensor on the bus (a VL53L0X laser distance chip) is responding.

Tested the whole scenario with two BME280 modules, with the identical results.

bme.begin() is returning a -1.

Output from a small sketch returning the values for SCL and SDA, scanning the bus and the trying to initialize the BME280:

I2C port:
SCL: 22
SDA: 21

Scanning I2C Bus for clients:
Scanning...
I2C device found at address 0x29  !
I2C device found at address 0x77  !
done

bme_status: -1
Error communicating with sensor, check wiring and I2C address

Is your library specific for the Teensy so it won't work with other units, like e.g. the ESP32?

Thanks for your help!
Wolfgang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.