Hi,
My application requires measuring the altitude with 0.5m to 1m accuracy. So, I am using the BMP280 sensor to calculate the altitude. The sensor is connected to the NODEMCU(ESP8266) and data read using the I2C interface in Arduino IDE. But while testing the altitude varies to 20m even though the sensor is kept at someplace over a period of time(around 6hrs). PFA for the code and image which shows the variation in altitude (MIN and MAX). Please suggest some solution in order to get the required functionality.