A barometer is a device for measuring atmospheric pressure. The pressure of the air is affected by weather systems and also changes with altitude, decreasing with increasing height as there is progressively less air pressing down. A barometer can therefore be used to estimate altitude or, more commonly, to provide information that helps in forecasting the weather. An aneroid barometer is based on a flexible metal compartment or diaphragm containing air at reduced pressure, connected to a needle that points to a calibrated circular scale. When air pressure increases it pushes the diaphragm inwards and when it decreases the diaphragm moves outwards; these movements determine the position of the needle on the scale, giving an indication of the pressure.Â
Reference : https://www.allthescience.org