You are on page 1of 6

International Journal of Pure and Applied Mathematics

Volume 119 No. 16 2018, 1863-1868


ISSN: 1314-3395 (on-line version)
url: http://www.acadpubl.eu/hub/
Special Issue
http://www.acadpubl.eu/hub/

DESIGN AND DEVELOPMENT OF IOT BASED PULSE OXIMETER

L.K.Hema1, R. Mohana Priya2 , R. Indumathi3


1
Associate Professor, 2 ,3 Assistant. Professor Gr. II,
ECE Department, Aarupadai Veedu Institute of Technology,
Vinayaka Mission’s Research Foundation, Deemed to be University, Chennai.
hemalk@avit.ac.in

ABSTRACT

=======================================================================
A pulse oximeter is a medical instrument that indirectly measures the saturation oxygen level of a
patients’ blood, i.e what proportion of the oxygen-carrying molecules in the blood (called hemoglobin)
are actually carrying oxygen. This is known as oxygen saturation or SpO2.This saturation point oxygen
level is very important to monitor while a patient is at risk for further process of medication. In our
paper we proposed to develop a pulse oximeter to measure the saturation point oxygen level and the
same would be stored in the cloud and also it is available live to the client’s hand held device (mobile
phone).In this paper, we seek to monitor a patient’s heart rate and blood-oxygen level using a pulse
oximeter. The pulse oximeter is designed using infrared and visible (red) light detection from light that
passes through a patient’s finger from an emitter. The absorption will tell when blood is moving
through the finger and how much of this is oxygen-rich. The output of this analog circuit will be fed
into an Node microcontroller, which computes the pulse and oxygen level from these numbers. The
values are uploaded to a cloud computing web host called Thingspeak from where it can be viewed.

Keywords— Pulseoximeter, Internet of Things (IoT), Thingspeak

.=======================================================================

1. INTRODUCTION will be designed that is specifically suited to


the task.
Pulse oximeters have been used in medical The sampling portion of this design requires
settings for many years. In many cases, such an infrared emitter (around 940 nm
as during an operation, in intensive care, the wavelength) and a red light emitter (around
emergency room, even an unpressurized 660 nm wavelength. The absorption of
aircraft, a person’s oxygen level may be oxyhemoglobin and the deoxygenated form
unstable and needs monitoring. In addition, differs significantly between these
from these readings, the person’s heart rate wavelengths. Therefore, using the ratio of the
can also be determined. This project is an two absorption values gives the percentage of
attempt to construct a working version of a arterial haemoglobin for oxyhemoglobin. The
pulse oximeter from a relatively cheap set of detectors do not give a very high voltage, so
parts – including a microcontroller. An off- the output from the detector needs to be
the-shelf microcontroller has enough amplified using op amps before passing into
processing power to perform the tasks the microcontroller for analysis. If not, the
required for this design; however, in any relative change will not be seen when the
commercial application, specialized hardware microcontroller makes the input a discreet
value.

1863
International Journal of Pure and Applied Mathematics Special Issue

This attempt at a pulse oximeter is fairly crude


and does not take into consideration some
important facts if it were to be used in a
serious situation. For instance, it does not
take into account other gasses in the blood
stream. If a person has been rescued from a
burning building, they may have carbon
monoxide poisoning. In order to distinguish Fig. 1 Block diagram of IoT enabled Pulse
the difference between CO and O2, absorption oximeter
at additional wavelengths must be performed.
Another example is a person suffering from It consists of the following parts.
poor gas exchange in the lungs. Their blood
may have a 100% oxygen level, but may still SPO 2 Sensor/ Pulse oximeter
be suffering from too much carbon dioxide
(CO2) that cannot be exchanged and exhaled. Pulse oximetry is based on the concept that
The microcontroller is required to perform a arterial oxygen saturation determinations can
discrete Fourier transform to determine the be made using two wavelengths, provided the
pulse. This transform will take a collection of measurements are made on the pulsatile part
data over time and extract the amplitude of of the waveform. The two wavelengths
each of the frequencies it contains. In the case assume that only two absorbers are present;
of our data, there should be a pretty distinct namely oxy haemoglobin (HbO2) and reduced
pattern of when there is blood movement. hemoglobin (Hb). These observations, proven
Therefore, we should obtain one frequency by clinical experience, are based on the
where the amplitude is much higher than any following:
other frequencies detected. This should (i) Light passing through the ear or finger will
correspond to the frequency of the pulse of the be absorbed by skin pigments, tissue,
person using the device. cartilage, bone, arterial blood, venous blood.
In most design projects, there is a trade off to (ii) The absorbance are additive and obey the
what should be done with hardware or with Beer-Lambert law:
software. In our paper, there is not much of a A = –log T = log lo/I = e D C
design comparison. The sampling and Where Io and I are incident and transmitted
amplification must be done in hardware with light intensities, e is the extinction coefficient,
analog values to obtain the correct results. For D is the depth of the absorbing layer and C is
the calculations and the video generation, we concentration.
need a device with enough processing power (iii) Most of the absorbance are fixed and do
and features to perform meet all the timing not change with time. Even blood in the
requirements. In this case, the Node MCU is a capillaries and veins under steady state
good fit at a low cost. metabolic circumstances is constant in
composition and flow, at least over short
2. PROPOSED SYSTEM periods of time.
(iv) Only the blood flow in the arteries and
The block diagram of the proposed system is arterioles is pulsatile. Therefore, only
shown in Fig 1. measuring the changing signal, measures only
the absorbance due to arterial blood and
makes possible the determination of arterial
oxygen saturation (SaO2). This is
uninfluenced by all the other absorbers which
are simply part of the constant background
signal.

1864
International Journal of Pure and Applied Mathematics Special Issue

Figure (a) shows a typical fingertip oximeter SPO2 Subsystem


probe in use whereas Fig (b) shows the The SpO2 subsystem in the MAX30100 is
construction of a typical pulse oximeter probe. composed of ambient light cancellation
This has two LEDs (light emitting diodes), (ALC), 16-bit sigma delta ADC, and
one that transmits infrared light at a proprietary discrete time filter. The SpO2
wavelength of approximately 940 nm and the ADC is a continuous time oversampling sigma
other transmitting light at approximately 660 delta converter with up to 16-bit resolution.
nm. The absorption of these select The ADC output data rate can be programmed
wavelengths of light through living tissues is from 50Hz to 1 kHz. The MAX30100
significantly different for oxygenated includes a proprietary discrete time filter to
haemoglobin (HbO2) and reduced reject 50Hz/60Hz interference and low-
haemoglobin (Hb). The absorption of these frequency residual ambient noise.
selected wavelengths of light passing through
living tissue is measured with a photo sensor. Temperature Sensor

The MAX30100 has an on-chip temperature


sensor for (optionally) calibrating the
temperature dependence of the SpO2
subsystem. The SpO2 algorithm is relatively
insensitive to the wavelength of the IR LED,
but the red LED’s wavelength is critical to
correct interpretation of the data. The
Fig 2. a. A typical finger tip pulse oximeter temperature sensor data can be used to
probe compensate the SpO2 error with ambient
b. Components of pulse oximeter probes. temperature changes.

The red and infrared LEDs within the probe LED Driver
are driven in different ways, depending on the The MAX30100 integrates red and IR LED
manufacturer. Most probes have a single drivers to drive LED pulses for SpO2 and HR
photo detector (PIN-diode), so the light measurements. The LED current can be
sources are generally sequenced on and off. programmed from 0mA to 50mA (typical
The pre processing of the photodiode and led only) with proper supply voltage. The LED
would take considerable time and resources to pulse width can be programmed from 200µs
get the desired signal. Hence we use a sensor to 1.6ms to optimize measurement accuracy
called Proto central MAX30100. The sensor and power consumption based on use cases.
contains the necessary circuits to obtain the
desired signals.The MAX30100 is an ESP8266
integrated pulse oximetry and heart-rate The ESP8266 is a low-cost WiFi chip with
monitor sensor solution. It combines two full TCP/IP stack and MCU (Microcontroller
LEDs, a photo detector, optimized optics, and Unit) capability.This small module allows
low-noise analog signal processing to detect microcontrollers to connect to a Wi-Fi
pulse oximetry and heart-rate signals. The network and make simple TCP/IP connections
MAX30100 operates from 1.8V and 3.3V using Hayes-style commands.
power supplies and can be powered down
through software with negligible standby NODE MCU
current, permitting the power supply to remain
connected at all times. The microcontroller used for interfacing the
sensor is the Node MCU. It is a lua based

1865
International Journal of Pure and Applied Mathematics Special Issue

microcontroller consisting of an ESP8266 mainly doctors, patient relations and insurance


WiFi module. This is the controller used for clients.
communicating the results to online web
server. It is an open source IoT platform. It
includes firmware which runs on
the ESP8266 WiFi from Espressif system, and
hardware, which is based on the ESP-12
module.

ARDUINO IDE

The Arduino Integrated Development


Environment -or Arduino Software (IDE) -
contains a text editor for writing code, a
message area, a text console, a toolbar with Fig 3. Hardware circuitry of IoT enabled
buttons for common functions and a series of Pulseoximeter
menus. It is used to connect the Arduino and
Genuino hardware to upload the programs and
communicate with them. The steps are as
follows
 To install and configure Arduino IDE for
ESP8266.
 Launching of ESP8266 Arduino IDE for
NODE MCU.
 The programming of ESP8266 Arduino is
carried out further.
 To enable the ESP8266 WiFi connectivity.
 To use the ESP8266 in specific
applications, we have to send request to
the web server and get the response we
need a web server.
Fig 4. Heart rate output in clients’ handheld
 To create a Web Server using ESP8266, device
include the header
<ESP8266WebServer.h>
The above Fig.4 shows the output image of
the value of heart rate lively through mobile
3. RESULT & DISCUSSION gadget.
The hardware circuitry of the IoT enabled
Pulseoximeter has several components like
power regulator, transformer, node
microcontroller, ESP8266 module and pulse
oximeter sensor. The spo2 sensor measures
and sends the oxygen level to ESP8266
module and sends that data to Thingspeak web
computing host, so the data made available in
cloud. This method helps to view the patients’
oxygen level lively in clients handheld device

1866
International Journal of Pure and Applied Mathematics Special Issue

4. Brian Benchoff. "An SDK for the


ESP8266 Wi-Fi chip". Hackaday.

5. Vowstar. "Node MCU


Devkit". Github. Node MCU Team.
Retrieved 2 April 2015.

6. Zeroday. "A lua based firmware for


wifi-soc esp8266". Github. Retrieved 2
April 2015.

7. Manan Mehta “ESP 8266: A


Breakthrough In Wireless Sensor
Networks And Internet Of Things”, 8,
Fig 5. SpO2 Output in clients’ handheld device Aug 2015, pp. 07-11.
8. MAX 30100 Pulse oximeter Data Sheet
The Fig 5 shows the output image of the SpO2
value lively through the mobile i.e., clients’
hand held device.

4. CONCLUSION

The IoT Enabled Pulse Oximeter developed


has been a relative success compared to
mainstream Pulse Oximetry and Pulse-Rate
devices. Thus our aim to make the system
accessible and portable has been proved and
tested thoroughly. With the connection with
the Internet, even remote doctors can assess
the condition of the person by checking the
result from the web. Hence, the device has
proved to be fruitful despite its challenges.

REFERENCES

1. Takatani, S. and J. Ling, 1994, Optical


oximetry sensors for whole blood and
tissue, IEEE Eng. in Med. And Biol.,
13, 3, 347.

2. Mendelson, Y, et al, 1988, Design and


evaluation of a new reflectance pulse
oximeter sensor, Medical Instrum.,
22(4), p. 167.

3. Kumar, Abhijeet et al., "Internet of


Life (IOL)." (2015). ISBN 978-93-
5156-328-0

1867
1868

You might also like