Search found 3 matches

by Euzikial
Thu Mar 10, 2022 5:17 am
Forum: Programs, Libraries and Tools
Topic: Altitude with BMP180
Replies: 4
Views: 4390

Re: Altitude with BMP180

I do not know which driver you use, but in my driver I use: p = 44330 * (1.0 - math.pow(self.pressure / self._baseline, 0.1903)) where _baseline is the actual pressure at sea level, which will change all the time. You get that pressure typically from the weather reports, which tell you this "normal...
by Euzikial
Thu Mar 10, 2022 2:53 am
Forum: Programs, Libraries and Tools
Topic: Altitude with BMP180
Replies: 4
Views: 4390

Re: Altitude with BMP180

Thank you for your input. I will look into it. And yes I do update QNH (local baro pressure at sea level) every two hours.
I will update the formula and see what happens
by Euzikial
Wed Mar 09, 2022 8:05 am
Forum: Programs, Libraries and Tools
Topic: Altitude with BMP180
Replies: 4
Views: 4390

Altitude with BMP180

So it turns out that BMP180.py driver calculates altitude wrongly as it is showing me that I live on a mountain (870+ meters) while im almost sitting at the beach p = -7990.0*math.log(self.pressure/self.baseline) i have changed it to p = (44331.5 - 4946.62 *self.pressure**(0.190263) using the part o...