#pressure #embedded-hal-driver #thermometer

no-std bmp085-driver

A platform agnostic driver to interface the BOSCH BMP085 pressure sensor

6 releases

0.1.4 Jan 20, 2019
0.1.3 Jan 18, 2019
0.1.2 Jan 18, 2019
0.1.1 Jan 18, 2019
0.1.0 Jan 18, 2019

#7 in #thermometer

MIT/Apache

16KB
251 lines

BMP085-driver

Latest version

A platform agnostic driver to interface the Bosch Sensortec BMP085 pressure sensor, written in Rust.

Please note that the BMP085 sensor has been discontinued by Bosch Sensortec in 2013.

This driver is build using the embedded-hal traits.

API reference

Features

  • Reading the calibration coefficients from the sensor eeprom
  • Reading the uncompensated temperature from the sensor
  • Converting the uncompensated temperature to dā„ƒ
  • Reading the uncompensated pressure from the sensor
  • Converting the uncompensated pressure to hPa
  • Converting the pressure in hPa to hPa relative to altitude normal null (optional feature)
  • Tests for the conversion functions according to the data-sheet of the sensor

License

Licensed under either of

Dependencies

~790KB
~17K SLoC