Here is an Arduino-compatible shield for evaluation of the Bosch Sensortec BME280 combined temperature, humidity and pressure sensor. This nice sensor intended for complicated applications can be used as a single-chip weather station.
The shield allows exercising the sensor in SPI or I2C mode simply by setting or removing a jumper. A 4-channel multiplexer in the shape of an FSAL200 makes this possible. Level shifters on all signals allow for operation of the board with both 3.3V and 5V Arduino boards.
A second jumper selects the I2C address.
The accompanying sketch detects the interface mode and selected I2C address (if applicable) and controls the sensor accordingly. Temperature, humidity and ambient air pressure data converted to standard units is output on the serial port (115200n81).
Note that after switching from SPI to I2C mode the board must be power cycled, otherwise the sensor will not recognise the change. After all other jumper setting changes the sketch must be reset.
- on Sensors
- Labs project
BME280 Evaluation Board [160109-2]
August 11, 2016 , Latest update: February 22, 2017
in Elektor magazine | January 2017 | Find it here
Read the full post
- BME280 sketch (8.47 KB )Arduino sketch for BME280 evaluation board.
- Genuino 101 Explorer (11.29 KB )Arduino sketch for Arduino/Genuino 101
- Genuino 101 Explorer (397.23 KB )Evothings project
- Genuino 101 Explorer (2.11 MB )Android App (without Evothings)
- BoM 160109-2 v1.2 (18.74 KB )Bill of Materials for 160109-2 BME280 evaluation board