Altimeter
The barometric height sensor uses a barometer (usually of the aneroid type) which is set to 'zero' height at mean sea level (or any other height that is known as a starting point). The scale on the barometer is calibrated for a 'standard' atmosphere thus allowing a decrease in pressure to be converted on the scale to an increase in height.