The altimeter is a type of aneroid barometer that uses pressure to calculate altitude and atmospheric pressure.