The sole purpose of this project is to measure ECG of heart beat of a person. Some other objectives of the project includes:
Heart diseases are a big threat for human beings for the past few decades, many people
are dying because of heart problems. It is considered as one of the major problems in the
current biomedical Industry. By analyzing or monitoring the ECG signal at an initial
stage, heart diseases can be identified and prevented.
It is good news for us that people can be aware of different types of heart diseases
instantly in a very efficient way. People can regularly check their heart conditions
without taking the burden of going to hospitals.
The AD8232 is an integrated signal conditioning block used for showing the ECG.
What is ECG?
ECG stands for electrocardiogram. It records the electrical activity of the heart at rest. A
doctor usually advices to have an ECG after the patient is diagnosed with high blood pressure.
Because, high blood pressure may cause some damage to the heart or blood vessels.
Function of ECG:
There are enormous operations of ECG. These are listed below as follows:
❖ A prior heart attack.
❖ Cholesterol clogging up the heart’s blood supply.
❖ Abnormal heart rhythms.
❖ Enlargement of one side of the heart.
❖ And many more....
Hardware Part:
For this purpose, we have used the AD8232 heart rate sensor.
Detailed description of the AD8232 ECG sensor:
❖ The AD8232 is an integrated signal conditioning block for ECG .
❖ It is designed to extract, amplify, and filter small bio-potential signals in the presence of
noisy conditions.
❖ This design allows for an ultralow-power analog-to-digital converter (ADC) or an
embedded microcontroller to acquire the output signal easily.
Software Part:
❖ For the software part, we have used MATLABsoftware.
❖ This software mainly shows the output of the electrical signal generated in the
heart of the sample person/patient on which we are going to do in the experiment
❖ The graph will be in real time showing the output waveform in the serial plotter of
the MATLAB software.
Code:
Below there is shown a sample of the MATLAB code that we have used for this project. Mail me at inilock@gmail.com to get the project code.
x=0;
for i=1:1000
b=readVoltage(a,'A0');
👇👇Download the full code from below button link: 👇👇
ECG sensor picture:
Heart rate detection system schamatic:
Demo Video for the Project: