(Solved): 4) Fig. P-4 shows a PQRST complex in an ECG. We want to design a microcontroller-based system to me ...
4) Fig. P-4 shows a PQRST complex in an ECG. We want to design a microcontroller-based system to measure the heart rate (beats per minute) by generating a sequence of interrupt from a sequence of PQRST (each PQRST interrupts microcontroller). (a) Can this signal be applied directly to the interrupt pin of a microcontroller? Explain. (b) Suppose after the appropriate conditioning it is connected to the interrupt pin of a microcontroller. To measure heart beats per minute, there are two methods: (i) measuring the time between two consecutive interrupts (and calculating the heart rate) with I millisecond accuracy, or (ii) the number of interrupts in one minute are counted (which is equal to heart beats per minute). Compare these two methods for accuracy and measurement speed (how fast the heart rate is measured and updated). Which method is the real hear beats per minute? ?? a Fig. P-4