Skip to main content

Arduino Library

The Soldered BME280 and BME680 library is built on the Zanshin BME280 driver and adds a small BME280 class for this board. Include BME280-SOLDERED.h, create one BME280 object, and call begin() once in setup().

The class hides the calibration arithmetic. begin() looks for the sensor on the bus by its chip ID, reads the factory calibration values and sets up the measurement. After that, every read function hands you a finished number in its unit, so you never touch the raw registers.

The library serves two Soldered boards, and the repository ships one example for each. This product is the BME280 breakout, so use the BME280 class and the BME280_Read_All_Values example; the BME680 class and its example belong to the BME680 breakout.

Not installed yet? Follow Quick Start before using the functionality pages.

Functionality​

Each page starts with one verified library example and explains every function the example uses to get that result.