How to calculate Altitude from Pressure read from LPS22HB sensor ?
I'm using Hypsometric formula to Calculate Altitude by using Pressure & Temperature.
( Source Code used to read the sensor https://github.com/stm32duino/LPS22HB )
The Pressure value & Temperature are not in Sync.. Temperature Increases irrespective of Air temperature, which in turn causes wrong altitude value.
When Move upside Pressure & temp should decrease.. But only pressure decrease & temp remain same or increase.
What is the best way to calculate Altitude ?
How to do OPC ??
Thanks In Advance.
