A new method using respiratory rate and temperature as the guides for optimal pacing is proposed. A pacemaker was fabricated which senses these two parameters simultaneously. The pacemaker functions by calculating the cardiac rate, which would be derived from the respiratory rate and the blood temperature. The higher of the two rates is adopted as the cardiac pacing rate, i.e., at which stimuli will be delivered. The operation was tested in a mongrel dog with complete atrioventricular block. After the induction of anesthesia, a thermistor temperature probe was inserted into right atrium and a respiratory rate sensor was attached around the chest. After administration of a pyrogenic drug, both respiratory rate and blood temperature increased. The pacing rate was increased from 178 beats/minute(bpm) at 36.4 degrees C, blood temperature, and 26.5 acts/minute(apm), respiratory rate, to 233 bpm at 40.1 degrees C and 40.0 apm. Cardiac output was increased from 2.15 liters/minute(l/pm) at the beginning to 2.50 l/pm at maximum. The transition of the guide from respiratory rate to temperature was observed at about 38 degrees C.