How to control a servo by using a Gyro sensor?

Hi RalfOfzo, why do not you use an altitude sensor, and just check the height difference. It will be positive in the ascent, null when reaching the maximum and negative in the descent, then you will be able to deploy your parachute.