BMx280 is a device family that read barometric pressure, altitude and temperature. SPI and I2C can be used to communicate with the device (only I2C implemented so far).
The implementation supports both BME280 and BMP280.
Datasheet for the BMP280. Datasheet for the BME280.
2 examples on how to use this device binding are available in the samples folder.
The following fritzing diagram illustrates one way to wire up the BMP280 with a Raspberry Pi using I2C.
General:
Bmp280 | Raspberry |
---|---|
Vin | Power pin |
GND | Ground |
I2C:
Bmp280 | Raspberry |
---|---|
SCK | I2C clock pin |
SDI | I2C data pin |
The following connection types are supported by this binding.
- I2C
- SPI