Semester Project Report
Semester Project Report
Semester Project Report
Group members:
Abdul Nabi
Tahir Saleem
Afaque Ali
December 2019
1
Table of Contents
Abstract: .........................................................................................................................................................3
Introduction: ...................................................................................................................................................3
Medical uses of ECG: ...................................................................................................................................4
SYSTEM ARCHTECTURE ..........................................................................................................................4
Electrodes: ......................................................................................................................................................5
ECG Module (AD8232): ................................................................................................................................5
Arduino Microcontroller Uno: .......................................................................................................................6
DESIGN OF THE SYSTEM..........................................................................................................................7
Arduino Software ...........................................................................................................................................7
Flowchart of the program ...............................................................................................................................8
WORKING OF THE SYSTEM .....................................................................................................................9
RESULT AND DISCUSSION.......................................................................................................................9
CONCLUSION ............................................................................................................................................10
FUTURE SCOPE .........................................................................................................................................10
REFERENCE ...............................................................................................................................................11
2
Abstract:
Heart diseases are becoming a big issue since the last few decades and many people die
because of certain health problems. Therefore, heart disease cannot be taken lightly. By
analyzing or monitoring the ECG signal at the initial stage this disease can be prevented. So, we
present this project, i.e. ECG Monitoring with AD8232 ECG Sensor & Arduino with ECG Graph.
The AD8232 is a neat little chip used to measure the electrical activity of the heart. This
electrical activity can be charted as an ECG or Electrocardiogram. Electrocardiography is used to
help diagnose various heart conditions.
This project describes the design of a simple Electrocardiogram (ECG) monitoring system using
AD8232 and Arduino Microcontroller. The system gets the pulse input using Ag/Cl 3-lead
electrodes placed on the arms and right leg of the patient under inspection. The model
comprehends ECG module (AD8232) which is used for signal conditioning of the input pulse
from the patient’s body and viewed on Serial Monitor Window as the ECG waveform. Thus,
conditioned signal is also processed by the microcontroller Arduino Uno to control and transmit
the function of ECG wave to monitor and Displaying the condition of the ECG wave in LCD
display whether it is a normal ECG or Abnormal.
So, in this project, we will interface AD8232 ECG Sensor with Arduino and observe the ECG
signal on a serial plotter or Processing IDE.
Introduction:
At the present time, people suffering from heart diseases are increasing at an alarming rate.
The ECG is one of the medical kits that can measure the heartbeat per unit time, convert it into
a signal and display the data on a display device. An ECG is a recording of the electrical activity
on the body surface generated by the heart muscles. ECG information is collected by electrodes
placed at selected locations on the patient’s body. It is the best way to monitor and diagnose
abnormal rhythms of the heart muscles, mainly abnormal rhythms caused by damage to the
3
conductive tissue that carries electrical signals. It is possible to be in cardiac arrest with a
normal ECG signal (a condition known as pulseless electrical activity). Electrocardiogram (ECG)
is one of the frequently used and accurate methods for monitoring the electrical activity of the
heart. ECG is a high-priced equipment and its use for the measurement of the heart rate only
below an economic level. Low-cost devices are available in the form of wrist watches for the
instantaneous measurement of the heart rate. Such devices can give accurate data but they are
expensive. Most hospitals and diagnostic centers in India use incorporated devices designed to
measure the heart rate, temperature, and blood pressure of the patient. Although such devices
are valuable, their cost is usually uneconomical. This report presents the design of an ECG
monitoring system.
SYSTEM ARCHTECTURE
Figure.1 represents the block diagram of the proposed system. It consists of the Electrodes
which are placed on the Left Arm, Right Arm and Right leg of the patient’s body. The input is
taken from the human body and then it is transmitted to ECG module (AD8232). The ECG
module processes the data and it produces the continuous analog values according to the input
given by the electrodes to the Arduino microcontroller. The Bluetooth module is connected to
the Arduino microcontroller for transmission purpose. On the other side, we have Android
Application on our mobile for the reception of ECG signal.
4
Figure 1: Block Diagram of Our System
Electrodes:
3-lead Ag/Cl Electrodes transform bio-medical signals into electrical voltage. The voltage lies in
between 1 mV ~ 5 mV. The pair of sensors are placed on the right arm (RA), left arm (LA) and
right leg (RL) of the patient (see Figure 2).
5
filter is tightly coupled with the instrumentation amplifier design to allow both large gain and
high-pass filtering in a first stage,
thereby saving money and space.
6
DESIGN OF THE SYSTEM
Here we have described briefly the hardware are an implementation of the system. The
hardware part depicts briefly about the ECG monitoring circuit system parts such as Ag/Cl
electrodes and ECG module. Figure.6 depicts the circuit diagram of the interfacing between ECG
module and Arduino Uno.
Here, The ECG module is getting three inputs from the human body using 3-lead electrodes.
The ECG module (AD8232) has Instrumentation Amplifier and High pass filter for the working
purpose. After, processing the inputs, It produces the single output. This output is given to the
Arduino Uno Microcontroller with the help of the Analog pins.
Arduino Software
The Arduino provides the Arduino Integrated Development Environment (IDE), which is a
platform Independent Application written in Java. It originated from the IDE for the languages
Processing and Wiring. It includes a code editor with features such as text cutting and pasting,
searching and replacing text, syntax highlighting automatic indenting, brace matching and
provides simple one-click mechanisms to compile and upload programs to an Arduino board. It
7
also has a message area, a text console, a toolbar with buttons for common functions and a
hierarchy of operation menus. The ECG wave is displayed on the Serial Monitor.
The flow starts from getting inputs from the ECG module. After, getting the input, the
microcontroller checks whether all three inputs are given properly. If anyone of the inputs is not
8
detected well, the system will send the signal to the LCD. After getting the signal the LCD will
display “The ECG is Abnormal” or else It simply displays “The ECG is normal”.
The system gets the input bio-metric signals from the human body using 3-lead electrodes.
After processing all the three inputs, the ECG module produces the single analog output. It was
given to the Arduino Microcontroller. Arduino is the responsible for the remaining operations. It
checks whether all the three inputs are received properly. If there is any problem while getting
the input it sends the signal to LCD then the LCD shows “It is Abnormal” or else it shows
“Normal”. This is the working of the system.
9
CONCLUSION
This project mainly concentrated on energy efficient and cost-effective. This system can be
easily understood by the patient. When compared to the high-cost monitoring systems, It is
more efficient.
FUTURE SCOPE
This system is for the Real-time Monitoring purpose. We can enhance this system by
transmitting the ECG wave using IoT to Doctors or Analysts. We can build an Android
Application for monitoring with more proficient.
10
REFERENCE
[1] Braunwald E. (Editor), Heart Disease: A Textbook of Cardiovascular Medicine, Fifth
Edition, p. 108, Philadelphia, W.B. Saunders Co., 1997. ISBN 0-7216-5666-8.
[2] Naazneen M. G., Sumaya Fathima, Syeda Husna Mohammadi, Sarah Iram L. Indikar,
Abdul Saleem, Mohamed Jebran " Design and Implementation of ECG Monitoring and
Heart Rate Measurement System” Volume 2, Issue 3, May 2013, pp. 2319-5967
[3] Varsha Wahane and P. V. Ingole "An Android-based wireless ECG monitoring system”
Volume 5, Issue 8, June 2015, pp.1398-2375.
11