This API enables I2C communication with the BME280 sensor using ESP32. This is an interface layer for interacting with the BME280 Sensor API. It was forked from here.
See the example project repo.
To use the library in your ESP32-IDF project, perform the following steps:
- Create a directory called
componentsin your main project directory. - Change into the
componentsdirectory. - Run
git clone https://github.com/jalius/bme280_esp32.gitto bring in the latest copy of this library.
If your project itself is a git repository, you should consider using git submodule add instead of cloning.
For more info about components in the ESP32-IDF build system, read the docs.
BME280 is a combined digital humidity, pressure and temperature sensor based on proven sensing principles. Its small dimensions and its low power consumption allow the implementation in battery driven devices such as handsets, GPS modules or watches.
- Context awareness, e.g.skin detection, room change detection.
- Fitness monitoring / well-being
- Home automation control
- Internet of things
- GPS enhancement(e.g.time-to-first-fix improvement, dead reckoning, slope detection)
- Indoor navigation(change of floor detection, elevation detection)
- Outdoor navigation, leisure and sports applications
- Weather forecast
- Vertical velocity indication(rise/sink speed)
- Pressure
- Temperature
- Humidity