Search found 3 matches

by robm
Thursday 19 January 2017 11:40
Forum: Temperature and Weather
Topic: BME280 on Raspberry showing incorrect values
Replies: 5
Views: 3080

Re: BME280 on Raspberry showing incorrect values

I added this to my Python code:

Code: Select all

altitude = 625 # My local altitude
pressure_sea = pressure_sensor / pow(1 - (0.0065 * altitude) / (temperature_sensor + 0.0065 * altitude + 273.15), 5.257)
by robm
Thursday 19 January 2017 11:15
Forum: Temperature and Weather
Topic: BME280 on Raspberry showing incorrect values
Replies: 5
Views: 3080

Re: BME280 on Raspberry showing incorrect values

I am living near Madrid at an altitude of 625m. The air pressure giving by the sensor is the air pressure at this altitude.
To calculate the air pressure at sea level we must use the formula (see attachment).
So P0 = 1018.70 hPa which makes more sense.

Regards,
Rob
by robm
Thursday 19 January 2017 9:16
Forum: Temperature and Weather
Topic: BME280 on Raspberry showing incorrect values
Replies: 5
Views: 3080

BME280 on Raspberry showing incorrect values

Hello: I purchased the SparkFun Atmospheric Sensor Breakout - BME280 and is showing me incorrect values for the pressure. https://www.sparkfun.com/products/13676 The sensor is hooked up with my Raspberry PI 3 using the I2C interface. I tried several programs: C program with the official Bosch driver ...