Pressure sensors for hydraulics and inert gases