I am testing MPL3115A2 sensor to measure altitude. I can able to read the altitude value. I have monitored the altitude over 24 hours in a same place, height varies from 0 to 50 meter. How to calibrate the accuracy . Altitude keep on varying . I have attached log for reference.
Original Attachment has been moved to: Altitude_sensor.zip
The MPL3115 is a pressure sensor which converts pressure to altitude using a standard atmospheric model. With a "back of the envelope" calculation, 1 atmosphere is about 10,000m so a 50m change is just 0.5% change. You're probably just seeing atmospheric pressure changes.