Home

Awesome

This is a library for the Adafruit BME280 Humidity, Barometric Pressure + Temp sensor

Designed specifically to work with the Adafruit BME280 Breakout

These sensors use I2C or SPI to communicate, up to 4 pins are required to interface

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Check out the links above for our tutorials and wiring diagrams

Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution

To download. click the DOWNLOAD ZIP button, rename the uncompressed folder Adafruit_BME280. Check that the Adafruit_BME280 folder contains Adafruit_BME280.cpp and Adafruit_BME280.h

Place the Adafruit_BME280 library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

We also have a great tutorial on Arduino library installation at: http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

<!-- START COMPATIBILITY TABLE -->

Compatibility

MCUTested WorksDoesn't WorkNot TestedNotes
Atmega328 @ 16MHzX
Atmega328 @ 12MHzX
Atmega32u4 @ 16MHzXUse SDA/SCL on pins D2 & D3
Atmega32u4 @ 8MHzXUse SDA/SCL on pins D2 & D3
ESP8266XSDA/SCL default to pins 4 & 5 but any two pins can be assigned as SDA/SCL using Wire.begin(SDA,SCL)
Atmega2560 @ 16MHzXUse SDA/SCL on pins 20 & 21
ATSAM3X8EXUse SDA/SCL on pins 20 & 21
ATSAM21DX
ATtiny85 @ 16MHzX
ATtiny85 @ 8MHzX
Intel Curie @ 32MHzX
STM32F2X
<!-- END COMPATIBILITY TABLE -->