bmp180

Library functions for the BMP180 pressure sensor.

Author Rob Jansen, Copyright © 2024..2024, all rights reserved.
Adapted-by
Compiler 2.5r8

Description

Library functions for the BMP180 pressure sensor. The main
             program has to setup the IIC communication using an IIC clock of 
             at most 3.4 MHz.


Sources

Bosch BMP180 Datasheet version 2.5, document BST-BMP180-DS000-09.


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Private

Functions

Private

API details

Global variables/contants

Procedures

Private

Functions

  • bmp180_get_pressure() return sdword

    Get the current pressure. This is a blocking call. The delay is depending on
    the last selected resolution mode and can be larger than 31 ms. See datasheet.
    Pressure is returned in Pascal (Pa).
    
    

  • bmp180_get_mode() return byte

    Get the resolution mode.
    
    

  • bmp180_get_temperature() return sword

    Get the current temperature. This is a blocking call. The delay is depending
    on the last selected resolution mode and is at least 4.5 ms. See datasheet.
    Temperature is returned as a value of 0.1 degrees Celcius.
    
    

Private

Related samples

Here are the list of samples which use this library:

16f182516f1825_bmp180.jal