Jumper, thanks for helping!

All you said is right, I can use the ADC raw data to deploy the chute and actually my intent is to deploy 50m below maximum height. About the formula, I had to "simplify" it because height is not linear with respect to pressure variation so, this equation fits reasonably well for 2000m and I don´t want use polynomial equations in the code. Other aspect is the Vref value, I am using Vref=Vdd and the sensor output is 4.8V maximum, this difference was taken into account on that equation.

But, using the raw data to deploy will (or should) solve all those issues. I just thought the PIC could handle this task, as it is not doing anything else than that. I´ll modify tge code to work with raw data and then I´ll let you know!

Thanks a lot!