Hello:
How altitude is calculated by taking atmospheric pressure and temperature, with a BME280 sensor?
or if know the formula for calculating altitude
Thanks
Altitude with BME280
-
- Posts: 7
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 2:57 am
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: Altitude with BME280
Hello.
I used
The pressure is taking into account the temperature within the BME280.
I used
Code: Select all
Altitude = Pressure/ 1013.25
Altitude = 1 - pow (Altitude, (0.190284))
Altitude = Altitude * 145366.45
Martin