A modern MEMS implementation of the mercury-based one due to the Italian physicist and mathematician Evangelista Torricelli, nowdays something smaller and energy-efficient device and easier to interface with. Altimeter and Temperature monitor as well.

End Of Post