[][src]Crate bmp085_driver

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.

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

Structs

Bmp085

BMP085 driver

PT

Result of the BMP085 sensor read-out

Enums

Oversampling

Oversampling modes

Functions

pressure_to_normal_null

Convert pressure from sensor (altitude dependant) to pressure in hecto Pascal (hPa) relative to sea level normal null.

Type Definitions

DeciCelcius

Temperature in deci degree Celsius (dC)

Pascal

Pressure in Pascal (Pa)