8 years, 12 months ago.

Altitude

How to calculate Altitude and make pressure readings more accurate?

Question relating to:

BMP180 Pressure/Temperature Sensor library pressure, sensor, Temperature

2 Answers

8 years, 12 months ago.

You can get more accurate pressure measurement (though slower) by using BMP180_OSS_ULTRA_HIGH_RESOLUTION instead of the default BMP180_OSS_NORMAL : int Initialize(float altitude = 0.F, int overSamplingSetting = BMP180_OSS_NORMAL);

As for absolute altitude you need two measures in order to do the computation.Have a look at section 3.6 of the BMP180 documentation for the formula: http://developer.mbed.org/media/uploads/spiridion/bst-bmp180-ds000-09.pdf

Accepted Answer
8 years, 12 months ago.

The datasheet (BMP180) , page 16: 3.6 Calculating absolute altitude presents a simple formula
Wikipedia https://en.wikipedia.org/wiki/Pressure_altitude gives a clean explanation of the "standart altitude"
To get a accurate reading , read 3.3.1 for the internal sampling rate of the BMP180 and program your own oversampling. ( compute the mean value of several samples)