BMP280

Bosch Digital Pressure Sensor

Device Details

  • Device address 119
  • Address type 7-bit

Registers

DigP1

Digital Pressure Compensation 1 * Address 142 * 16-bytes * Read-only * Example value: 36477

Compensation register used for Pascals conversion.

DigP2

Digital Pressure Compensation 2 * Address 144 * 16-bytes * Read-only * Signed value * Example value: -10685

Compensation register used for Pascals conversion.

DigP3

Digital Pressure Compensation 3 * Address 146 * 16-bytes * Read-only * Signed value * Example value: 3024

Compensation register used for Pascals conversion.

DigP4

Digital Pressure Compensation 4 * Address 148 * 16-bytes * Read-only * Signed value * Example value: 2855

Compensation register used for Pascals conversion.

DigP5

Digital Pressure Compensation 5 * Address 150 * 16-bytes * Read-only * Signed value * Example value: 140

Compensation register used for Pascals conversion.

DigP6

Digital Pressure Compensation 6 * Address 152 * 16-bytes * Read-only * Signed value * Example value: -7

Compensation register used for Pascals conversion.

DigP7

Digital Pressure Compensation 7 * Address 154 * 16-bytes * Read-only * Signed value * Example value: 15500

Compensation register used for Pascals conversion.

DigP8

Digital Pressure Compensation 8 * Address 156 * 16-bytes * Read-only * Signed value * Example value: -14600

Compensation register used for Pascals conversion.

DigP9

Digital Pressure Compensation 9 * Address 158 * 16-bytes * Read-only * Signed value * Example value: 6000

Compensation register used for Pascals conversion.

DigT1

Digital Temperature Compensation 1 * Address 136 * 16-bytes * Read-only * Example value: 27504

Compensation register used for temperature measurement result.

DigT2

Digital Temperature Compensation 2 * Address 138 * 16-bytes * Read-only * Signed value * Example value: 26435

Compensation register used for temperature measurement result.

DigT3

Digital Temperature Compensation 3 * Address 140 * 16-bytes * Read-only * Signed value * Example value: -1000

Compensation register used for temperature measurement result.

PressureLsb

Pressure LSB * Address 248 * 8-bytes * Read-only * Example value: 33400

Middle-significant bit of pressure measurement result.

PressureMsb

Pressure MSB * Address 247 * 8-bytes * Read-only * Example value: 15600

Most-significant bit of pressure measurement result.

PressureXlsb

Pressure XLSB * Address 249 * 8-bytes * Read-only * Example value: 15920

Least-significant bit of pressure measurement result.

TempLsb

Temperature LSB * Address 251 * 8-bytes * Read-only * Example value: 748

Middle-significant bit of temperature measurement result.

TempMsb

Temperature MSB * Address 250 * 8-bytes * Read-only * Example value: 124

Most-significant bit of temperature measurement result.

TempXlsb

Temperature XLSB * Address 252 * 8-bytes * Read-only * Example value: 144

Least-significant bit of temperature measurement result.

Functions

  • pressure: Reads the atmospheric pressure as a raw value or in hPa.
  • temperature: Reads the temperature as a raw value or in Celsius.

License

BMP280 version 0.1.0. Generated from Cyanobyte Codegen version HEAD.

Contact Nick Felker.

Copyright Google Inc. 2019. Published under Apache-2.0.