In this system, the micro switch (SW) is connected to the ground (GND) for adult patient and to logic ‘1’ (Vcc) for
children. By reading the micro switch position, the system loads the corresponding references such as normal heart
beat rate, tachycardia and bradycardia rate. Implementation of the system on a single-chip microcontroller reduces the
overall weight and power consumption of the hardware required in the measurement, diagnosis and storage of ECG
signals. In the software, we implemented a procedure that computes the energy and the variation of P wave to detect
some anomaly in Atrial fibrillation. In addition, this system is quite reliable compared with magnetic recording system.
This design may also measure other human health parameters such as temperature, and blood pressure. The data is
transmitted as a packet to the host computer for further diagnosis