The subject of the invention is a device for monitoring patient's vital functions, in particular for measuring respiratory and heart rate. This is achieved by using a piezoelectric transducer which also forms with measuring electrode a measuring capacitor. In addition, a comparator capacitor is used to increase resistance to changes in the measuring conditions.