A pressure / vacuum sensor and method, comprising: driving a MEMS piezoresistive resonator (8) into resonant vibration, applying Joule heating to the resonator (8); and sensing a variable parameter that varies in response to the tendency of the resonant frequency (fo) to depend upon the temperature of the resonator (8), the temperature thereof depending upon the pressure. The variable parameter may be the resonant frequency of the resonator (8), or a change therein, or may be derived from a feedback loop, being for example a time integrated feedback signal (82) or a reading (94) of the sense current (22), the loop keeping the resonant frequency constant in opposition to the above mentioned tendency. A reference MEMS capacitive resonator (62) may be located in the vicinity of the resonator (8) for compensating purposes.