Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
Altitude
How to calculate Altitude and make pressure readings more accurate?
Question relating to:
2 Answers
9 years, 8 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
9 years, 8 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)