BMP 280 exact Altimeter readings.

Papabravo

Joined Feb 24, 2006
21,228
There are two approaches we use as pilots.
  1. Set the altimeter according to the local barometric pressure. (General Cross Country Flying)
  2. Set the altimeter to the height above sea level. (Prior to Aerobatic Practice or Competition)
 

Thread Starter

tiger369

Joined Sep 13, 2017
2
Thanks Papabravo.
I got following answer from Mr.Jose. For the benefit of other members -

The tutorial sample source code has the line:

Serial.print(bmp.readAltitude(1013.25)); // this should be adjusted to your local forcase

That 1013.25 value should be the local pressure at sea level in hundreds of Pa. If want to show altitude above ground level, you will need to know that for your location and write your code to calculate the altitude offset.

The sensor can't know location -- it only measures pressure. The AdaFruit library provides the altitude conversion, but being generic, it relies on several assumptions.
 
Top