In this case, the method consists of computing a cardiovascular rate of the person each minute. A preprocessing
step is needed to perform an amplification of the signal and a hardware filtering to eliminate noise. Many algorithms
had been investigated to choose the best fit method for the microcontroller [6, 7, 13].The QRS pulse has higher energy,
a heart pulse can be detected within higher variation in energy between Q-R and R-S wave as illustrated in Figure 1.a.
The rate counter, representing the number of pulses during one minute, is incremented at detection of a QRS pulse.
Moreover, we keep in memory times between successive pulses to detect any recurrence of Atrial fibrillation, the
QRS pulse is then compared with two references representing Bradycardia and tachycardia for adult or children. These
referenced values were taken by statistical computation. The adult normal heart rate is in the range of 70 and 90 beats,
while that of an infant is in the range of 100 and 170 beats per minute at rest.