Pressure sensor with frequency output