https://github.com/sparkfun/sparkfun_bme280_arduino_library
An Arduino library to control the BME280 humidity and pressure sensor.
https://github.com/sparkfun/sparkfun_bme280_arduino_library
altitude arduino-library humidity-sensor pressure-sensor
Last synced: 4 months ago
JSON representation
An Arduino library to control the BME280 humidity and pressure sensor.
- Host: GitHub
- URL: https://github.com/sparkfun/sparkfun_bme280_arduino_library
- Owner: sparkfun
- License: other
- Created: 2015-08-20T19:36:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T20:55:27.000Z (about 2 years ago)
- Last Synced: 2025-05-20T06:06:18.498Z (7 months ago)
- Topics: altitude, arduino-library, humidity-sensor, pressure-sensor
- Language: C++
- Homepage: https://www.sparkfun.com/products/14348
- Size: 124 KB
- Stars: 123
- Watchers: 51
- Forks: 113
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
SparkFun BME280 Arduino Library
========================================

[*SparkFun CCS811/BME280 Combo (SEN-14348)*](https://www.sparkfun.com/products/14348)
This library allows the user to:
* Read pressure in Pa
* Read temperature in C
* Read humidity in %RH
It also provides the following mathematical functions based from the above.
* Read temperature in F
* Read altitude in meters
* Read altitude in feet
Some examples include a circular buffer class for averaging.
Thanks to:
* calvin1564 for [fixing a name collision](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/pull/34)
* LukaHitH for adding [BMP280 support](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/pull/23)
* cdonate for adding [burst read](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/pull/50)
* jdavid for integrating [math.h](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/pull/49)
Repository Contents
-------------------
* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE.
* **/extras** - Additional documentation for the user. These files are ignored by the IDE.
* **/src** - Source files for the library (.cpp, .h).
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE.
* **library.properties** - General library properties for the Arduino package manager.
Documentation
--------------
* **[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)** - Basic information on how to install an Arduino library.
* **Product Repositories:** (including hardware files)
* [SparkFun BME280 Breakout](https://github.com/sparkfun/BME280-Breakout-Board) - Original product repository
* [SparkFun Environmental Combo Breakout - CCS811/BME280 (Qwiic)](https://www.sparkfun.com/products/14348)
* [SparkFun Atmospheric Sensor Breakout - BME280 (Qwiic)](https://github.com/sparkfun/Qwiic_Atmospheric_Sensor_Breakout_BME280)
* **[Hookup Guide](https://learn.sparkfun.com/tutorials/sparkfun-bme280-breakout-hookup-guide)** - Basic hookup guide for the SparkFun BME280 Breakout.
Products that use this Library
---------------------------------
* [*SEN-15440*](https://www.sparkfun.com/products/15440)
* [*SEN-14348*](https://www.sparkfun.com/products/14348)
* [*SEN-13676*](https://www.sparkfun.com/products/13676)
Version History
---------------
* [V_1.0.0](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/tree/V_1.0.0) - Public release.
* [V_1.1.0](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/tree/V_1.1.0) - Pulled request to add decimal precision to readFloatPressure() and readFloatHumidity().
* [V_1.2.0](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/tree/V_1.2.0) - Added ESP32 architecture directives to modify begin operation.
* [V_2.0.0](https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/tree/V_2.0.0) - Major update. Generalized wire port. Functionalized oversampling, standby time, etc. Added setMode.
License Information
-------------------
This product is _**open source**_!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.