Remote ECG Monitoring Using Arduino
Remote ECG Monitoring Using Arduino
By B.Sc. Students
ايمن راتب صالح مؤمل رياض عبد االمير
كرار حيدر كاظم عباس حيدر محمد
مصطفى عالء حسين حسين كريم عبد الحسين
طاهر صفاء محمد
Supervisor
Babylon, Iraq
2024 - 2023
ين الَ قُل هل يستَوِي الَّ ِذين يعلَمون والَّ ِ
ذ
َ َْ ُ َ َ َ ْ َ َْْ
ون إِنََّما يَتَذَكَّ ُر أُولُو األ ْلبَ ِ
اب يَ ْعلَ ُم َ
And
Signature
MSC.Ahmed Helmy Kadhim
Date / / 2025
Acknowledgments
2025
Table of Content
.
Abstract
Heart disease was becoming a big disease which health killer people for many
years. Therefore, this disease cannot be taken lightly. Hence, most health care
equipment and monitoring system are designed to keep track the disease.
As for the data that will be displayed on the screen, it will display the name of
the university and college, the name of the project, the name of the supervisor,
and the name of the students, in addition to the heart rate -spo2 readings.
Introduction
Chapter one Introduction
Chapter One
Overview
Internet of things (IOT) is principle of being able to manage, analysis and
control specific object at anywhere by using internet, different devices of
network are connected by means of different physical media, which is
accomplished by sensors, that receives the signal from real averment in the
world, then this data is transmitted by utilizing the internet to specific cloud to
be used by specialist for monitoring, controlling and make decisions based on
different algorithms and methods. IOT can be used widely in medical
application. For older people, who are suffered from cardio disease, real time
monitoring can provide the doctor with very important information about heart
activity, the most significant means of heart activity status is
electrocardiogram (ECG)signal,
This Monitoring patient’s vital health signs at home are very important to save
the patient’s precious life. The advancement in technology made it a simple
task for both the patients with critical heart diseases and another critical health
conditions along with their respective doctors to monitor the important health
signs at home instead of being at the hospital the whole time [1][2]. An
important health sign for patients with such conditions is the blood oxygen
saturation known as SpO2. The pulse oximeter continuously and non-
invasively monitors the level of the oxygen saturation in the blood of the
patient. The collected data from the pulse oximeter is then sent to the doctors
in their PCs. Also, with the aid of software, it sends alarm message whenever
it detects an abnormal condition such as “SpO2 level drop, the sensor being
detached weak signal and etc. Many studies where done and they highlighted
the advantages of using the pulse oximetry in monitoring the blood saturation
1
Chapter one Introduction
levels for patient with critical heart diseases. For example, Simon and Clark
reported that the use of pulse oximetry decreased the need to use arterial blood
gas analysis by 37%. Additionally, they reported that the use of the pulse
oximetry caused significant changes in the medical treatment of disorders in
the emergency rooms.
Pulse oximeter is a medical instrument that can detect heart-rate and oxygen
saturation as signatures of our level of health condition. It can be implemented
as a small device, and therefore, has been used widely in different applications.
The core theory behind the pulse oximeter is the variability of the absorption
coefficient of photons going through human tissues at different wavelength.
Since people are caring about the amount of oxygen saturation in our blood,
the specific wavelength region should be settled which is the most sensitive to
the oxygen in our blood. In our blood, oxygenated hemoglobin (Hb) and
deoxygenated hemoglobin (deoxy-Hb), which can be used to measure human
blood oxygen level, have stronger absorbers of light with wavelength in the
range of 650 nm-1000 nm (Figure 1). In this wavelength range, other layers of
human body, for instance water and fat, have a very low absorption coefficient
comparing with that of oxygenated hemoglobin and deoxygenated
hemoglobin. Also, the good news is that the light absorption of Hb and deoxy-
Hb at the two different wavelengths is different. When the light of around 650
nm wavelength is emitted to our blood, deoxy-Hb absorbs more than oxy.
2
Chapter one Introduction
1-Easy to use
4-Cost Optimization
5-Continuous Monitoring
6-Improved Accessibility
7-Remote Access.
3
Chapter one Introduction
Outlines
In addition to what explained above, this research will show the theory
part in chapter two, the practical part in chapter three, the result and
experiments in chapter four, finally this research will finish with
conclusion and future works.
4
Chapter Two
Theory Part
Chapter Two Theory Part
2 Chapter Two
Introduction
The previous chapter discuss an overview about the project, the problems
that can be solved with it, brief description about similar projects and lastly the
main goal of it.
This chapter will discuss what was used to build and achieve this project from
Arduino programming language and sensors.
Internet of Things
The Internet of Things (IoT) refers to the evolutionary stage of the internet,
which makes a global communicating infrastructure between humans and
machines. IoT is constructing the global infrastructure which will change the
fundamental aspects of our lives, from health services to manufacturing, from
agriculture to mining. IoT will offer the necessary facilities of the latest rising
artificial intelligence (AI) development[5].
Artificial Intelligence
• AI is Machine-based intelligent Decision-Making
• AI system: set of tools to emulate human intelligence by:
➢ Leaning (Data Collection)
➢ Exercising and engaging (Data Analysis)
➢ Decisions & Actions[9]
Hardware Components
4
Chapter Two Theory Part
allow for an easy attachment onto a breadboard and features a Mini-B USB
connector[10], see Figure (2.4).
2.4.2 ECG
An ECG is a paper or digital recording of the electrical signals in the heart.
It is also called an electrocardiogram or an EKG. The ECG is used to determine
heart rate, heart rhythm, and other information regarding the heart’s condition.
ECGs are used to help diagnose heart arrhythmias, heart attacks, pacemaker
function, and heart failure.
2.4.3 Oximeter
The pulse oximeter, or Pulse Ox, is an electronic device that measures the
saturation of oxygen carried in your red blood cells. Pulse oximeters can be
attached to your fingers, forehead, nose, foot, ears or toes. The device may then
be reused or disposed of.
5
Chapter Two Theory Part
Small beams of light pass through the blood in the finger, measuring the amount
of oxygen. It does this by measuring changes in light absorption in oxygenated or
deoxygenated blood.
6
Chapter Two Theory Part
The sensor is an integrated pulse oximetry and heart-rate monitor sensor solution.
It combines two LED’s, a photo detector, optimized optics, and low-noise analog
signal processing to detect pulse and heart-rate signals. It operates from 1.8V and
3.3V power supplies and can be powered down through software with negligible
standby current, permitting the power supply to remain connected at all times.
blood. As the heart relaxes, the volume of oxygenated blood also decreases. By
knowing the time between the increase and decrease of oxygenated blood, the
pulse rate is determined.
It turns out, oxygenated blood absorbs more infrared light and passes more red
light while deoxygenated blood absorbs red light and passes more infrared light.
This is the main function of the MAX30100: it reads the absorption levels for
both light sources and stored them in a buffer that can be read via I2C.
8
Chapter Two Theory Part
9
Chapter Two Theory Part
2.4.6 Breadboard
Breadboards are one of the most fundamental pieces when learning how to
build circuits. In this tutorial, you will learn a little bit about what breadboards
are, why they are called breadboards, and how to use one. Once you are done you
should have a basic understanding of how breadboards work and be able to build
a basic circuit on a breadboard[15] ,See Figure(2.12).
10
Chapter Two Theory Part
Software Components
2.5.1 Arduino
• Arduino IDE is an open-source software, designed by Arduino.cc and
mainly used for writing, compiling & uploading code to almost all Arduino
Modules.
• It is an official Arduino software, making code compilation too easy that
even a common person with no prior technical knowledge can get their feet
wet with the learning process.
• It is available for all operating systems i.e. MAC, Windows, Linux and
runs on the Java Platform that comes with inbuilt functions and commands
that play a vital role in debugging, editing and compiling the code.
• A range of Arduino modules available including Arduino Uno, Arduino
Mega, Arduino Leonardo, Arduino Micro and many more, see
Figure(2.14).
• Download from (https://www.arduino.cc)[11].
11
Chapter Two Theory Part
12
Chapter Three
System Design
Chapter Three System Design
3 Chapter Three
Introduction
The previous chapter presented an overview of Internet of things, sensors,
and all tools and environments used to implement the proposed approach. This
chapter present an overview of the proposed approach system that provide
efficient resource allocation approach and also describe the design of the
proposed system in detailed. A brief description of the steps of the research
method and the system will be included in this chapter.
The entire project mainly consists of some steps modules, as shown in the below
figures.
16
Chapter Three System Design
Methodology
An ECG Sensor with disposable electrodes attaches directly to the chest to
detect every heartbeat. The electrodes of ECG sensor will conversion heart beat
to electric signal. ECG Sensors is very light weight, slim and accurately to
measures continuous heart beat and give rate data of heart beat. This device
always uses by trained doctor and medical assistances.
Electrodes of ECG Sensor have 3 pins and connected by cable with 30 inches in
length. It is make ECG sensor easy to connect with controller and placed at the
waist or pocket. In additional, the plug-in for the cable is a male sound plug which
will make the cable to easily removed or inserted into the amplifier board. The
sensor assembled on an arm pulse and a leg pulse. All of every sensor electrode
have methods to assemble in body. So, training and tutorials are needed for user.
You can choose type of electrode to measure heartbeat.
17
Chapter Four
Conclusions and
Suggestions for the Future
Work
Chapter Five Conclusion and Future Works
4 Chapter Five
Introduction
The previous chapter we discussed the final results of the project. In this
chapter we will discuss the conclusion of the whole project and the future works.
Conclusion
Smart control systems have revolutionized the way medical devices are used,
offering increased precision, accessibility, and real-time monitoring. This project
explores the integration of Arduino-based smart control systems in medical devices,
specifically focusing on the design and development of an Arduino-powered
oximeter. The proposed system utilizes sensors to measure oxygen saturation levels
and heart rate, which are vital parameters for assessing patient health. The Arduino
microcontroller processes the sensor data and displays the information on a
connected screen for easy monitoring. The advantages of using Arduino include
cost-effectiveness, simplicity, and flexibility, allowing for easy customization and
scalability for diverse healthcare applications. The results indicate that Arduino-
based oximeters provide a viable solution for low-cost, portable, and accurate health
monitoring, contributing to personalized healthcare and continuous patient care.
Future Scope
In future work more powerful transmitters with higher range will be
used and the flexibility to use the internet to send the data to the receiving site will
be fully explored.
20
References
[1] N. singh, “Microcontroller Based Wireless Temperature And Heart Beat
Read-Out,” IOSR J. Eng., vol. 3, no. 01, pp. 01–06, 2013, doi:
10.9790/3021-03150106.
[2] “AD8232 ECG Sensor Module,” Open Pulse, 2022.
[3] T. P. Tunggal, S. A. Juliani, H. A. Widodo, R. A. Atmoko, and P. T.
Nguyen, “The design of digital heart rate meter using microcontroller,” J.
Robot. Control, vol. 1, no. 5, pp. 141–144, 2020, doi: 10.18196/jrc.1529.
[4] L. Elrayah and A. Khairelseed, “Microcontroller Based Heart Rate,” vol. 5,
no. 064053, pp. 2013–2016, 2011.
[5] L. K. Ramasamy and S. Kadry, “Internet of things (IoT),” Blockchain Ind.
Internet Things, no. May, 2021, doi: 10.1088/978-0-7503-3663-5ch1.
[6] K. K. Patel, S. M. Patel, and P. G. Scholar, “Internet of Things-IOT:
Definition, Characteristics, Architecture, Enabling Technologies,
Application & Future Challenges,” Int. J. Eng. Sci. Comput., vol. 6,
no. 5, pp. 1–10, 2016, doi: 10.4010/2016.1482.
[7] M. Kalmeshwar and A. P. D. N. P. K S, “Internet Of Things:
Architecture,Issues and Applications,” Int. J. Eng. Res. Appl., vol. 07, no.
06, pp. 85–88, 2017, doi: 10.9790/9622-0706048588.
[8] “WHAT IS IoT IoT NETWORK ARCHITECTURE AND DESIGN”.
[9] A. Intelligence et al., “4670848 Artificial intelligence system,” Robot.
Comput. Integr. Manuf., vol. 3, no. 4, p. iii, 1987, doi: 10.1016/0736-
5845(87)90065-2.
[10] A. N. Front and A. N. Rear, “Arduino Nano Specifications :,” Datasheet
Arduino Nano, vol. 0, pp. 1–10, 2018.
[11] M. Haque Bhuyan, “Design Simulation and Implementation of a Digital
Pulse Oxygen Saturation Measurement System Using the Arduino
Microcontroller,” Int. J. Biomed. Biol. Eng., vol. 15, no. 2, pp. 105–111,
2021, [Online]. Available:
21
https://www.researchgate.net/publication/349005931
[12] K. Söderby, “Liquid Crystal Displays (LCD) with Arduino | Arduino
Documentation,” Docs.Arduino.Cc. p. 2022, 2021. [Online]. Available:
https://docs.arduino.cc/learn/electronics/lcd-displays
[13] Dejan, “Arduino and HC-05 Bluetooth Module Complete Tutorial,” How
To Mechatronics. 2016. [Online]. Available:
https://howtomechatronics.com/tutorials/arduino/arduino-and-hc-05-
bluetooth-module-tutorial/
[14] “Arduino Nano Case + Cover - 3D Printable Model on Treatstock.”
[15] M. Short and E. . Joel, “How to Use a Breadboard - SparkFun Learn.”
[Online]. Available: https://learn.sparkfun.com/tutorials/how-to-use-a-
breadboard/all
[16] “Best Jumper Wires for Arduino | Arduino Buy Guide.” [Online].
Available: https://arduinogetstarted.com/hardware/best-jumper-wires-for-
arduino
[17] Anshul_Aggarwal, “Introduction to Visual Studio,” GeeksforGeeks, 2019,
[Online]. Available: https://www.geeksforgeeks.org/introduction-to-
visual-studio/
[18] V. Studio, Fundamentals of Computer Programming with C# (The
Bulgarian C# Programming Book) by Svetlin Nakov & Co.
http://www.introprogramming.info. 2013.
[19] S. Dmitrović, “Modern C++ for Absolute Beginners,” Mod. C++ Absol.
Beginners, 2023, doi: 10.1007/978-1-4842-9274-7.
[20] “Remote control Arduino - RemoteXY.” [Online]. Available:
https://remotexy.com/en/
22
23
24