bolderflight / bme280 Goto Github PK
View Code? Open in Web Editor NEWArduino and CMake library for communicating with the Bosch Sensortec BME280 environmental sensor.
License: Other
Arduino and CMake library for communicating with the Bosch Sensortec BME280 environmental sensor.
License: Other
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
(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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.