Final Internship Report
Final Internship Report
BELAGAVI - 590018
Internship Report
On
Conducted in
Certificate
This is to certify that the Internship work entitled “Real-time Heart Rate and SpO2
Analysis using MAX30100 with NodeMCU8266 and Python Data Logging” is a Bonafide
work carried out by ADITYA S (IJT20EC001) in partial fulfillment for the award of the
degree of Bachelor of Engineering in Electronics and Communication Engineering of
Visvesvaraya Technological University, Belagavi during the academic year 2023-2024. It is
certified that all corrections/suggestions indicated for internal assessment have been
incorporated in the report and deposited in the department library. The project report has been
approved as it satisfies the academic requirement in respect of the Internship work prescribed
above-said degree.
External Viva:
Name of the Examiner Signature with Date
1.
2.
CERTIFICATE FROM COMPANY
DECLARATION
I hereby declare that the Internship work entitled, “Real-time Heart Rate and SpO2
Analysis using MAX30100 with NodeMCU8266 and Python Data Logging”, which is
submitted in partial fulfillment for the award of the degree Bachelor of Engineering from
Visvesvaraya Technological University, Belagavi is an authentic record of Bonafide work
carried out by me at CIIRC®., Bangalore during the academic year 2023-2024.
The satisfaction that accompanies the successful completion of any task would be incomplete
without the mention of the people who made it possible, whose constant guidance and
encouragement were the reason for the successful completion.
I owe my success to and wish to express our heartfelt gratitude to Dr. Krishna
Venkatesh, Director of CIIRC®.
I owe my success to and wish to express our heartfelt gratitude to our beloved Principal,
Dr. K Gopalakrishna, Jyothy Institute of Technology who has been a constant source of
inspiration and light.
I sincerely thank Mr. Keshava Gowtham NS, Research Engineer, for the constant
guidance, encouragement, support, and invaluable advice without which the Internship
project would not have become a reality.
I sincerely thank Mr. Gowtham C, Research Engineer, for the constant guidance,
encouragement, support, and invaluable advice without which the Internship project would
not have become a reality.
I would like to express gratitude and respect to all teaching and non-teaching staff
who have rendered help, encouragement, and intellectual influence during the course of the
work. I am very much indebted to our parents and friends for their moral support and
encouragement to achieve higher goals and for every support they gave us.
ADITYA S
ii
ABSTRACT
This internship work presents a comprehensive health monitoring system leveraging the integration of a
MAX30100 sensor with a NodeMCU8266 microcontroller. The system enables real-time tracking of
vital signs, including heart rate and oxygen saturation (SpO2) levels. Data is transmitted to a Python
program for visualization through dynamic plotting. Additionally, the program facilitates secure storage
of heart rate data in an Excel spreadsheet, allowing for long-term trend analysis. With applications
ranging from remote patient monitoring to fitness tracking, this project showcases a versatile solution
for personalized health assessment and wellness management.
ii
TABLE OF CONTENTS
ACKNOWLEDGEMENT i
ABSTRACT ii
TABLE OF CONTENTS iii & iv
LIST OF FIGURES v
LIST OF TABLES vi
iii
CHAPTER 6: CONCLUSION AND IMPACT OF INTERNSHIP 17-18
6.1 CONCLUSION & IMPACT OF INTERNSHIP 17-18
REFERENCE 19
APPENDICES 20-24
APPENDIX SUPPORTING DATA SHEETS 20-24
iv
LIST OF FIGURES
v
LIST OF TABLES
NodeMCU866
MAX30100 module
vi
Real-time Heart Rate and SpO2 Analysis using MAX30100 with NodeMCU8266 and Python Data Logging
CHAPTER 1
ORGANISATION AND DEPARTMENT
The “Centre for Incubation, Innovation, Research and Consultancy (CIIRC®), is a joint
initiative between Sri Sringeri Sharada Peetham, Sringeri, and Jyothy Institute of Technology
(JIT), Bengaluru. CIIRC® has emerged with a promise of ushering in a new philosophy by
bringing for the first time on the same platform the diverse components of science, engineering,
business orientation, and skill development with emphasis on innovation, incubation, and
research leading to successful entrepreneurship. The understanding of all these three aspects
thus forms the core of academic & research erudition at CIIRC, JIT, and market research
alongside business planning forms the basis of the enterprise component. The essential outcome
of any academic pursuit apart from imparting knowledge should be to enable the students to
become readily employable or create their own industries, firms, or enterprises. Hence an IEDC
Centre has been established to nurture and hone the skills of budding entrepreneurs. CIIRC being
a multidisciplinary research Centre aims to bring together complementary streams of activities
for the benefit of society.
The domains envisaged at CIIRC are Water, Health, Energy, Environment, Agriculture, Food,
and Homeland Security addressing societal and environmental needs. Towards this, a platonic
relationship is being built with a number of companies and institutions within the country and
outside India.
To support the same research labs have been established in the vistas of:
The Centre is equipped with sophisticated instruments such as SEM, XRD, HPLC, DSC, TGA,
FT-IR, Lyophilize, GC, Electrochemical Workstations, PCR, BSC–L2, ELISA, BET SA,
Battery Tester, Climatic Chamber, and others.
Currently, there are ongoing projects funded by DST, DRDO, DOS, UGC-DAE, DBT, DIC, and
BIRAC and a few more in the pipeline are being positively considered for funding. The Faculty-
Researchers have collaborations and ties with Institutions and Organizations at the Individual
and Institutional levels both within and outside the country. Identifying the capability of CIIRC,
ISRO has set up the IRNSS Satellite Receiving Station at the campus. The members at the Centre
have been globally recognized with several laurels such as Commonwealth, Hungarian, DBT,
Ramalinga Swamy Fellowship, Honeywell Silver Plaque, Most Innovative Enterprise, and
others.
At the Affordable Medical Devices and Sensors Laboratory, broad interdisciplinary research
efforts on biosensors and biomedical devices are being carried out by blending the biological
world of living systems with an electronic interface that amalgamates scientists and engineers
who are passionate and committed to offering optimal solutions to the social eco-system. The
focus of the research is on the development of novel Nano and micro-technology-based sensing
approaches for medical diagnostics in collaboration with academic, clinical, and industrial
partners from both India and abroad. In addition, the team also uses nano-bioelectronic
approaches for building, modeling, and interfacing device prototypes. On the other hand, the
laboratory also works on rapidly developing areas such as biomimetic systems, assay
development, biological chemistry, and biomaterials for various applications in biomedical and
therapeutic areas.
PROJECTS:
Development of Affordable IoT-Based Soil Health Monitoring System for the Increased Crop
Production – SSPS.
CHAPTER 2
Real-time Heart Rate and SpO2 Analysis using MAX30100 with
NodeMCU8266 and Python Data Logging
2. INTRODUCTION
The MAX30100 is an integrated pulse oximetry and heartrate monitor sensor solution. It combines two
LEDs, a photodetector, optimized optics, and low-noise analog signal processing to detect pulse oximetry
and heart-rate signals.
CHAPTER 3
DESCRIPTION OF INTERNSHIP
1. Design of Reflectance Pulse Oximeter and BPM using the Max30100 Sensor in Early
Detection of Hypoxemia in Patients with Cardiovascular Disorders
Abstract:
Blood oxygen saturation meter is a tool used to monitor the state of oxygen saturation in the
blood and also the patient's heart rate (BPM) and to assist in the physical assessment of the
patient without going through blood gas analysis. Oxygen saturation measuring devices
usually use the difference in the wavelengths of red and infrared led light that will be
captured by the photodiode. The purpose of this research is to make a pulse oximeter
equipped with a display of SPO2, BPM values and an additional SP02 signal. The design of
this measuring instrument uses the MAX30100 sensor, the minimum system circuit of
Arduino ATmega328p and OLED (Organic Light-Emitting Diode). Data from the
MAX30100 sensor enters the I2C pin on the minimum Arduino system, then the
microcontroller is processed to produce the percentage of SPO2 value, BPM value, and SPO2
signal which is then displayed on the OLED. The test is done by comparing the module with
standard measuring instruments which produces the largest % error of 0.81% for Spo2 and
0.87% for BPM. The error presentation is obtained from factor measurements, if there is
finger movement it will cause a large error.
4. Measurement device for detecting oxygen saturation in blood, heart rate, and
temperature of human body
Abstract:
The progress of science and technology must be able to help resolve human medical problems
for human survival. In this study, integrated measurement of oxygen saturation in the blood,
heart rate and temperature of the human body have been made into one tool whose
measurement results are displayed directly on the LCD display on a measuring instrument
and an Android Smartphone. This tool uses Arduino Nano as its Microcontroller, Bluetooth
as wireless serial communication with Android smartphone, Android Application Made with
MIT App Inventor, MAX30100 sensor is used to measure blood oxygen saturation and heart
rate, and MLX90614 sensor to measure body temperature. Testing Measurements that have
been made are calibrated with Industrial standard measuring instruments (Oximeters) and
digital thermometers. The result is that the accuracy of the tool reaches 99.62% for blood
oxygen saturation measurements, 97.55% for heart rate, and 99.62% for body temperature
when compared with industry standard devices. Android applications have been successfully
installed on 5 types of smartphones with different brands and specifications. The Bluetooth
range of a measuring device for a smartphone in maximum data transfer is 29 meters without
a hitch and a maximum of 21.5 meters with obstacles.
saturation, or fetal oxygen saturation monitoring. So the reflective type oxygen saturation
detection system gradually has become main flow of development. Based on the principle of
oxygen saturation measurement, this paper introduces a blood oxygen saturation detection
system design scheme based on the integrated chip MAX30100, which can simplify the
circuit design, reduce system footprint, reduce the designing time and system power
consumption. Through introduces the system hardware and software structure, signal
processing methods and other aspects of the study to achieve the fingertip pulse signal
acquisition and noise reduction processing. Through practical test, the system prototype
machine realizes the function of pulse oxygen saturation detection.
3.2 METHODOLOGY
CHAPTER 4
HARDWARE DESIGN
4.1.1 MAX30100
The MAX30100 module is a compact, integrated pulse oximetry and heart-rate sensor.
It combines two LEDs, a photodetector, optimized optics, and low-noise analog signal
processing to detect pulse and blood oxygen levels.
Operating Voltage:
The MAX30100 module operates within a voltage range of 1.8V to 3.3V.
Temperature Range:
The module is designed to function reliably across a wide temperature range, from -40°C to
+85°C.
Key Features:
Applications:
Technical Specifications:
Functional Overview:
The module emits light from the LEDs into the skin and measures the amount of light
absorbed or reflected.
The photodetector senses this light and converts it into an electrical signal.
The analog front-end processes the signal and converts it into a digital format.
By analyzing the pulsatile component of the signal, the module can determine the
heart rate.
Blood Oxygen Measurement (SpO2):
By comparing the absorption of red and infrared light, the module can estimate the
blood oxygen saturation.
I²C Communication:
This allows for configuration settings, data retrieval, and control of the module.
Integration Considerations:
Proper placement and alignment of the module on the skin for accurate readings.
Compact and integrated solution for pulse oximetry and heart-rate sensing.
Limitations:
Performance may be affected by factors like skin tone, ambient light, and motion
artifacts.
Introduction:
The NodeMCU ESP8266 is an open-source IoT (Internet of Things) platform based on the ESP8266 Wi-Fi
module.
Microcontroller:
It is equipped with the ESP8266 microcontroller, which is a low-cost, low-power, and highly integrated Wi-
Fi chip.
Wi-Fi Connectivity:
The ESP8266 provides built-in Wi-Fi connectivity, allowing it to connect to Wi-Fi networks and
communicate with other devices over the internet.
Programming Language:
It supports programming in Java script and C++ (using the Arduino IDE), making it accessible to a wide
range of developers.
NodeMCU Firmware:
The NodeMCU firmware is a custom firmware that runs on the ESP8266. It abstracts much of the low-level
details and provides a simple, high-level interface for programming.
GPIO Pins:
It has a number of General-Purpose Input/Output (GPIO) pins that can be used to interface with sensors,
actuators, and other electronic components.
USB-to-Serial Interface:
The NodeMCU module typically includes a USB-to-Serial converter, which allows easy programming and
communication with a computer.
Power Supply:
It operates on a wide range of voltages (typically 3.3V), but it's important to note that it is not 5V tolerant.
Voltage level shifting may be required for interfacing with 5V devices.
Flash Memory:
The ESP8266 on the NodeMCU board comes with built-in flash memory for storing program code and
data.
Application Areas:
It is widely used in IoT projects, home automation, sensor monitoring, remote control applications, and
more.
Cost-Effective:
NodeMCU ESP8266 boards are relatively inexpensive, making them accessible for hobbyists, students, and
professionals on a budget.
Alternative Firmware:
Besides NodeMCU firmware, other custom firmware options are available, such as Arduino core for
ESP8266, Micro Python, and more, providing flexibility in development.
It can be integrated with popular IoT platforms and services like MQTT, Blynk, ThingSpeak, and more for
seamless communication and control.
The NodeMCU ESP8266 is a versatile and cost-effective platform that has played a significant role in the
proliferation of IoT applications and projects. Its ease of use, extensive community support, and Wi-Fi
capabilities make it a popular choice for a wide range of applications.
NAME DESCRIPTION
3V3 3V Input/Output
GND Ground
D0 General purpose input/output (SCL Connection)
D1 General purpose input/output (SDA Connection)
D2 General purpose input/output (INT Connection)
Table 4.3: Pins which are used to connect with MAX30100 module
CHAPTER 5
SOFTWARE IMPLEMENTATION
5.1 KiCad
KiCad is an open-source electronic design automation (EDA) software suite used for creating
schematics and printed circuit boards (PCBs). It provides a set of tools for designing and
documenting electronic circuits and their corresponding PCB layouts. Here are some key aspects of
KiCad:
Schematic Capture: KiCad allows users to create electronic schematics, which represent the logical
connections between different electronic components (such as resistors, capacitors, integrated
circuits, etc.). This step is crucial for planning and understanding the circuit before moving on to the
PCB layout.
PCB Layout: Once the schematic is complete, users can switch to the PCB layout editor. This is
where components are arranged on a virtual board, and traces (conducting pathways) are drawn to
connect them. The software helps in positioning components, routing connections, and performing
design rule checks.
Component Libraries: KiCad comes with a large library of electronic components, but users can
also create custom components or import libraries from other sources. This allows for a wide range
of flexibility in designing various types of circuits.
3D Viewer: KiCad includes a 3D viewer that allows users to visualize their PCB designs in three
dimensions. This helps in identifying potential physical conflicts and understanding how the final
PCB will look.
Gerber File Generation: Once the PCB design is complete, KiCad can generate Gerber files. These
files are used by PCB fabrication houses to manufacture the physical board.
BOM (Bill of Materials) Generation: KiCad can generate a BOM, which is a list of all the
components used in the design along with their quantities. This is crucial for sourcing and
assembling the actual circuit.
Open-Source and Community-Driven: Being open-source, KiCad benefits from a large and active
community of developers and users. This leads to regular updates, bug fixes, and the availability of
a wealth of resources and tutorials.
Integration with External Tools: KiCad supports integration with other EDA tools and file
formats, which can be useful when collaborating with teams using different software.
Free of Cost: KiCad is completely free to use, making it an attractive option for hobbyists, students,
and professionals who may not have access to expensive commercial EDA software.
CHAPTER 6
CONCLUSION & IMPACT OF INTERNSHIP
➢ Learnt PCB designing using Ki-Cad via Udemy course, the certification course
included the following
➢ During designing a system for real time analysis of heart rate & Spo2 values using MAX30100
Sensor interfaced to NodeMCU 8266 in python, following concepts were learnt:
i. Gained hands-on experience in working with the MAX30100 sensor, understanding its
functionalities, and successfully interfacing it with the NodeMCU 8266.
ii. Developed a robust Python script to capture real-time sensor data and implemented effective
communication between the sensor and the NodeMCU.
iii. Strengthened my Python programming skills by writing code for data acquisition,
processing, and transfer to Microsoft Excel for visualization.
iv. Implemented efficient error handling and data parsing techniques to ensure the reliability of
the real-time plotting system.
vi. Successfully utilized Microsoft Excel as a visualization tool to represent real-time data,
showcasing my ability to leverage existing tools for practical applications.
vii. Implemented dynamic plotting techniques to provide a clear and concise representation of
the sensor data over time.
viii. Developed strong problem-solving skills by addressing challenges encountered during the
project, such as connectivity issues and data synchronization problems.
ix. Applied effective troubleshooting strategies to ensure the smooth functioning of the real-
time plotting system.
REFERENCE
1. Pulse Oximeter and Heart-Rate Sensor IC for Wearable Health - Datasheet of MAX30100
2. Performance assessment of MAX30100 SpO2/heartrate sensor by Kerim Bedri , Biyomedikal
Mühendisligi Bölümü, Yeditepe Üniversitesi, Istanbul, Türkiye.
3. Max 30100/30102 Sensor Implementation to Viral Infection Detection Based On Spo2 and Heartbeat
Pattern by Dr. B. Annapurna, Asha Priyadarshini Manda, A. Clement Raj, Dr. R. Indira, Dr. Pratima
Kumari Srivastava, Dr. V. Nagalakshmi.
4. Design of Reflectance Pulse Oximeter and BPM using the Max30100 Sensor in Early Detection of
Hypoxemia in Patients with Cardiovascular Disorders by Chiu-Hua Huang and Jia-Wei Guo.
5. Prototype of Body Temperature and Oxygen Saturation Monitoring System Using DS18B20 and
MAX30100 Sensors based on IOT by Izhangghani , Irmayatul Hikmah and Slamet Indriyanto, Institut
Teknologi Telkom Purwokerto.
6. Measurement device for detecting oxygen saturation in blood, heart rate, and temperature of human body
by E A Suprayitno, M R Marlianto and M I Mauliana.
7. Implementing pulse oximeter using MAX30100 by Raivis Strogonovs.
8. Special Study of Earlobe Pulse Oximeter Using MAX30100 for Detecting SpO2 and Heart Beat by Tina
Esmaeiliazad.
9. Reflective type blood oxygen saturation detection system based on MAX30100 by Jiaxi Wan ,Yuhua Zou
, Ye Li and Jun Wang.
10. Development of a Low-cost Arduino-based Patient Monitoring System for Heartrate, Oxygen
Saturation and Body Temperature Parameters by Juan Karnadi , Ibnu Roihan , Astha Ekadiyanto , R A
Koestoer.
APPENDIX