Design and Implementation of a Wireless Health Monitoring System for Real-Time Patient Data Using ESP32
Design and Implementation of a Wireless Health Monitoring System for Real-Time Patient Data Using ESP32
Malaysia
Abstract— In line with Fourth Industrial Revolution (IR4.0) oxygen saturation [2]. Devices leveraging IoT technology
technology, wireless communication is becoming essential in can transmit this data wirelessly to healthcare providers,
many modern applications, including health monitoring. As facilitating remote health monitoring and timely medical
people lead increasingly busy lives and the elderly population interventions. For instance, devices equipped with sensors
grows, there is a rising need for efficient patient health
like the MAX30102 for pulse and oxygen levels, DS18B20
monitoring systems. Many individuals neglect regular medical
check-ups due to time constraints or the misconception that they for body temperature, and Global Positioning System (GPS)
are healthy if they don't feel sick. This study aims to develop a for location tracking provide comprehensive health data that
reliable health monitoring system to encourage proactive health can be sent to cloud storage for further analysis and
management. By using sensors connected to an ESP32 immediate action in case of emergencies [6]. This approach
microcontroller, the system captures vital signs such as oxygen not only enhances the quality of healthcare by providing
saturation and body temperature, transmitting the data to a accurate and real-time data but also reduces the need for
server via Wi-Fi. This real-time data is then displayed on a frequent hospital visits, thus saving time and costs for patients
smartphone application, enabling continuous and convenient and healthcare systems alike.
health monitoring for patients and general users.
Specific applications of these technologies are varied and
Keywords—wireless communication, health monitoring, impactful. For example, a smart jacket equipped with a
oxygen sensor, body temperature sensor, ESP32 microcontroller. Peltier module and various sensors can help regulate body
temperature for individuals with hyperthermia or
hypothermia [7]. Similarly, portable health monitoring kits
I. INTRODUCTION that include pulse rate sensors, temperature sensors, and
Health monitoring devices play a crucial role in modern Electrocardiogram (ECG) monitors, allow doctors to monitor
healthcare by providing real-time monitoring of patients remotely, offering immediate medical attention when
physiological parameters, enabling early detection of health necessary [4], [8]. The integration of these systems with
issues, and facilitating proactive management of chronic cloud platforms like Blynk, enables the seamless
conditions. Remote health monitoring, which involves transmission of health data to medical practitioners for real-
monitoring patients' health status outside traditional time analysis, enhancing patient care even further. The
healthcare settings using technology-enabled devices, offers combination of IoT and wearable technology not only
numerous benefits. It enhances patient access to healthcare facilitates continuous health monitoring but also supports
services, improves convenience, and reduces healthcare- proactive health management, especially for vulnerable
related costs. Additionally, remote monitoring enables early populations such as the elderly or those with chronic
detection of health issues, personalized care plans, and conditions [3], [5]. Overall, these developments signify a
optimized resource utilization. paradigm shift towards more accessible, efficient, and
With recent advances in Internet of Things (IoT) and personalized healthcare solutions.
wireless sensor networks, many attempts have been made to The objective of the proposed project involves on
deliver patient data remotely without going to the hospital [1]. measure the percentage level of oxygen by using the
In recent years, there has been significant progress in the MAX30102 sensor and body temperature using GY-906-
development of health monitoring devices, driven by BCC Non-Contact Infrared Temperature Sensor Module by
advancements in smart sensing technologies and the Internet develop a health monitoring system using Espressif Systems
of Things (IoT) [1], [2], [3], [4], [5]. These innovations have ESP32 (ESP32) and Blynk app and monitor the health system
enabled the creation of systems that allow for continuous, through Blynk apps on smart phone in real-time.
real-time monitoring of various physiological parameters
such as heart rate, blood pressure, body temperature, and
II. METHODOLOGY
A. Project Framework
The system's inputs include the power source, pulse
oximeter (MAX 30102), and body temperature sensor (GY-
906), while the outputs are two Light Emitting Diode (LED),
Liquid Crystal Display (LCD) and a smartphone application
called Blynk. The ESP32 Wi-Fi module, which operates at
3.3V DC, serves as the system's controller. The hardware
component requires an ESP32 Wi-Fi module and sensors for
measuring oxygen levels and body temperature as illustrated
in Fig. 1.
150
Authorized licensed use limited to: Tsinghua University. Downloaded on May 06,2025 at 06:58:44 UTC from IEEE Xplore. Restrictions apply.
2024 IEEE 15th Control and System Graduate Research Colloquium (ICSGRC), 17 Aug 2024, Shah Alam, Selangor, Malaysia
and provides an output signal. The GY-906 sensor is widely III. RESULT AND DISCUSSION
used in applications such as temperature monitoring in
industrial processes, HVAC systems, medical devices, and Installing the Blynk application on a smartphone and
consumer electronics. connecting it to the same Wi-Fi network as the ESP32
microcontroller lets users receive real-time health updates.
C. Health Monitoring Factor The ESP32 collects data from the sensors and sends it to the
Blynk app, where it is displayed in a simple, user-friendly
Normal oxygen saturation (SpO2) levels range from 95% format. Fig. 5 shows a typical dashboard setup in the Blynk
to 100% for both adults and children. Levels below 95% app, displaying body temperature and oxygen levels. This
indicate hypoxemia, which may lead to symptoms like setup makes vital health information easy to access and allows
shortness of breath [10]. Severe hypoxemia, below 80-85%, users to design their own monitoring interfaces creatively. Fig.
can result in brain damage. Cyanosis, a bluish discoloration of 6 and Fig. 7 show the results obtained during prototype
the skin or mucous membranes, may occur when SpO2 drops testing. When the system detects normal health conditions, a
below 67%. Normal SpO2 levels for newborns and children green LED illuminates, and the measured values are displayed
are typically 97% and above, while levels around 95% can be on both the LCD screen and the user's smartphone. Similarly,
normal for those over 70. when an abnormal health condition is detected, a red LED
As individuals age, particularly those over 64, they may lights up, indicating the issue. The corresponding
measurements are again displayed on both the LCD screen
encounter challenges in swiftly adapting to sudden
and the smartphone. This visual and digital feedback ensures
temperature changes. Their capacity to retain body heat that users can easily monitor their health status in real-time,
diminishes, often resulting in lower average body providing clear and immediate indications of normal or
temperatures compared to younger adults. The generally abnormal conditions.
accepted normal body temperature falls within the range of
The prototype encounters difficulty when accurately
36.1°C (97°F) to 37.2°C (99°F) for adults, marking a
measuring oxygen saturation levels near the normal range
departure from earlier assumptions [11]. Conversely,
(95% and above), as its maximum measurable value is capped
children exhibit variability in body temperature, typically at 95%. Consequently, to facilitate analysis, the normal range
ranging around 36.4°C (97.52°F). Both adults and children for oxygen saturation levels using the prototype has been
can experience fever if their temperature exceeds 38°C designated as 90% to 95%. Likewise, for body temperature
(100.4°F). Conversely, if body temperature drops below measurements, the prototype operates within the range of 36.1
35°C (95°F), it can precipitate hypothermia, constituting a °C to 37.2 °C. If either measurement falls outside these
medical emergency. Left untreated, hypothermia can lead to predetermined ranges, the prototype indicates a potential
severe consequences, including brain damage and cardiac health concern.
failure, due to its disruption of vital organ function, such as
the heart and nervous system.
D. Circuit connection
Fig. 4 illustrates the central role of the ESP32
microcontroller in the data transmission process. The ESP32
is responsible for sending data collected from the user’s
finger via an oxygen sensor and a body temperature sensor.
Additionally, the figure highlights the inclusion of an LCD
within the system. This LCD serves the purpose of displaying
the same data that is transmitted to a smartphone connected
to the system via Wi-Fi. The smartphone, when connected,
will receive, and display the sensor data in real-time, ensuring
consistent and synchronized information between the LCD
and the smartphone interface. This setup allows for
continuous monitoring and easy access to vital health metrics
both on the device itself and on a mobile platform.
151
Authorized licensed use limited to: Tsinghua University. Downloaded on May 06,2025 at 06:58:44 UTC from IEEE Xplore. Restrictions apply.
2024 IEEE 15th Control and System Graduate Research Colloquium (ICSGRC), 17 Aug 2024, Shah Alam, Selangor, Malaysia
152
Authorized licensed use limited to: Tsinghua University. Downloaded on May 06,2025 at 06:58:44 UTC from IEEE Xplore. Restrictions apply.
2024 IEEE 15th Control and System Graduate Research Colloquium (ICSGRC), 17 Aug 2024, Shah Alam, Selangor, Malaysia
REFERENCES
[1] A. D. Acharya and S. N. Patil, “IoT based Health Care Monitoring
Kit,” in Proceedings of the 4th International Conference on
Computing Methodologies and Communication, ICCMC 2020,
Institute of Electrical and Electronics Engineers Inc., Mar. 2020,
pp. 363–368. doi: 10.1109/ICCMC48092.2020.ICCMC-00068.
[2] C. P. Prasanth, R. Prakash, E. Rufus, and Z. C. Alex, “Design and
Development of Cloud Based Mobile Health Monitoring System,”
in 3rd IEEE International Virtual Conference on Innovations in
Power and Advanced Computing Technologies, i-PACT 2021,
Institute of Electrical and Electronics Engineers Inc., 2021. doi:
10.1109/i-PACT52855.2021.9696526.
[3] S. Saravanakumar and T. Saravanan, “24/7 Elder Person’s Health
Monitoring System by Internet of Things,” in 4th International
Conference on Emerging Research in Electronics, Computer
Science and Technology, ICERECT 2022, Institute of Electrical
and Electronics Engineers Inc., 2022. doi:
10.1109/ICERECT56837.2022.10060250.
[4] L. Ru et al., “A Detailed Research on Human Health Monitoring
System Based on Internet of Things,” Wirel Commun Mob
Comput, vol. 2021, 2021, doi: 10.1155/2021/5592454.
[5] U. Aakesh, Y. Rajasekaran, Sabarivani, and T. Sudhakar, “Review
on Healthcare Monitoring and Tracking Wristband for Elderly
People using ESP-32,” in Proceedings - 5th International
Conference on Smart Systems and Inventive Technology, ICSSIT
2023, Institute of Electrical and Electronics Engineers Inc., 2023,
pp. 523–529. doi: 10.1109/ICSSIT55814.2023.10061134.
[6] A. Jayathilake, J. Ranasinghe, D. Perera, S. Bartholomeusz, S.
Rathnayake, and D. Ganegoda, “Accurate Stress Detection for
Developers: Leveraging Low-Cost IoT Devices (ESP32 and
MAX30102) to Analyze Heart Rate Variability via an External
Mouse,” in ICAC 2023 - 5th International Conference on
Advancements in Computing: Technological Innovation for a
Sustainable Economy, Proceedings, Institute of Electrical and
Electronics Engineers Inc., 2023, pp. 89–94. doi:
10.1109/ICAC60630.2023.10417345.
[7] K. Gowrishankar, M. R. Rashmi, and S. Deivasigamani,
“Development of a Wearable Diagnostic and Therapeutic Device
for Hypo and Hyperthermic Patients,” in Proceedings -
International Conference on Technological Advancements in
Computational Sciences, ICTACS 2023, Institute of Electrical and
153
Authorized licensed use limited to: Tsinghua University. Downloaded on May 06,2025 at 06:58:44 UTC from IEEE Xplore. Restrictions apply.