0% found this document useful (0 votes)
246 views6 pages

Measure Heart Rate and SpO2 With MAX30102 Using Arduino UNO

This document discusses using the MAX30102 sensor module with an Arduino UNO to measure heart rate and blood oxygen saturation (SpO2) levels. The MAX30102 module uses light sensors and LEDs to measure heart rate by detecting changes in light absorption as blood flows, and measures SpO2 by comparing absorption of red and infrared light which varies with oxygen levels. The MAX30102 is connected to an Arduino UNO via I2C to output heart rate and SpO2 data to serial monitor or other displays.

Uploaded by

Ashik Sam S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
246 views6 pages

Measure Heart Rate and SpO2 With MAX30102 Using Arduino UNO

This document discusses using the MAX30102 sensor module with an Arduino UNO to measure heart rate and blood oxygen saturation (SpO2) levels. The MAX30102 module uses light sensors and LEDs to measure heart rate by detecting changes in light absorption as blood flows, and measures SpO2 by comparing absorption of red and infrared light which varies with oxygen levels. The MAX30102 is connected to an Arduino UNO via I2C to output heart rate and SpO2 data to serial monitor or other displays.

Uploaded by

Ashik Sam S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Measure Heart Rate and SpO2 with

MAX30102 Using Arduino UNO

Abstract:
A digital pulse oximeter and heart rate sensor is an electronic
device which can measure the heart rate of a person by measuring the
difference between oxygen rich and oxygen less blood. Not only heart
rate, this device can also measure the concentration of oxygen in
blood. The MAX30102 is a popular sensor module used to measure
heart rate and SpO2 (blood oxygen saturation) levels .The steps to in-
terface the MAX30102 sensor with an Arduino UNO microcontroller
for heart rate and SpO2 measurements. The tutorial includes connect-
ing the MAX30102 sensor module to the Arduino UNO, installing the
MAX30105 library in the Arduino IDE, uploading the example code,
and observing the heart rate and SpO2 values in the Serial Monitor.
This information can be utilized for various health monitoring and fit-
ness tracking applications, with due consideration of the manufac-
turer's guidelines and consultation with a medical professional for ac-
curate medical measurements.
Introduction:
Interface MAX30102: pulse oximetry and heart rate monitor module
with Arduino UNO board, and then make a project for measuring
BPM using this module + OLED display and a Buzzer.

BPM are the "beats per minute" and they are around 65-75 while rest-
ing for a normal person, athletics may have lower than that, and the
SpO2 is the Oxygen saturation level, and for a normal person it's
above 95%.

The MAX30102 can be found in different modules, I have a


WAVGAT version, it's not a problem as long as the IC is
MAX30102.

Components:
 Adafruit OLED 128x32
 Buzzer
 MAX30102 High-Sensitivity Pulse
 Arduino UNO

Benefits and Features :


 Heart-Rate Monitor and Pulse Oximeter Sensor in LED Reflect-
ive Solution
 Tiny 5.6mm x 3.3mm x 1.55mm 14-Pin Optical Module
 Integrated Cover Glass for Optimal, Robust Performance
 Ultra-Low Power Operation for Mobile Devices
 Programmable Sample Rate and LED Current for Power Sav-
ings
 Low-Power Heart-Rate Monitor (< 1mW)
 Ultra-Low Shutdown Current (0.7µA, typ)
 Fast Data Output Capability
 High Sample Rates
 Robust Motion Artifact Resilience
 High SNR
 -40°C to +85°C Operating Temperature Range

MAX30102 Module Hardware Overview


The module features the MAX30102 – a modern (the successor to
the MAX30100), integrated pulse oximeter and heart rate sensor IC,
from Analog Devices. It combines two LEDs, a photodetector, op-
timized optics, and low-noise analog signal processing to detect
pulseoximetry(SpO2)and heartrateHR) signals.Behind the window
on ne side, the MAX30102 has two LEDs – a RED and an IR LED.
On the other side is a very sensitive photodetector. The idea is that
you shine a single LED at a time, detecting the amount of light shin-
ing back at the detector, and, based on the signature,

How MAX30102 Pulse Oximeter and Heart Rate Sensor-


Works?
The MAX30102, or any optical pulse oximeter and heart-rate sensor
for that matter, consists of a pair of high-intensity LEDs (RED and
IR, both of different wavelengths) and a photodetector. The
wavelengths of these LEDs are 660nm and 880nm, respectively.
The MAX30102 works by shining both lights onto the finger or ear-
lobe (or essentially anywhere where the skin isn’t too thick, so both
lights can easily penetrate the tissue) and measuring the amount of re-
flected light using a photodetector. This method of pulse detection
through light is called Photoplethysmogram.

The working of MAX30102 can be divided into two parts: Heart Rate
Measurement and Pulse Oximetry (measuring the oxygen level of the
blood).

Heart Rate Measurement


The oxygenated hemoglobin (HbO2) in the arterial blood has the
characteristic of absorbing IR light. The redder the blood (the higher
the hemoglobin), the more IR light is absorbed. As the blood is
pumped through the finger with each heartbeat, the amount of reflec-
ted light changes, creating a changing waveform at the output of the
photodetector. As you continue to shine light and take photodetector
readings, you quickly start to get a heart-beat (HR) pulse reading.

Pulse Oximetry
Pulse oximetry is based on the principle that the amount of RED and
IR light absorbed varies depending on the amount of oxygen in your
blood. The following graph is the absorption-spectrum of oxygenated
hemoglobin (HbO2) and deoxygenated hemoglobin (Hb).

As you can see from the graph, deoxygenated blood absorbs more
RED light (660nm), while oxygenated blood absorbs more IR light
(880nm). By measuring the ratio of IR and RED light received by the
photodetector, the oxygen level (SpO2) in the blood is calculated.

On-Chip Temperature Sensor


The MAX30102 has an on-chip temperature sensor that can be used
to compensate for the changes in the environment and to calibrate the
measurements.This is a reasonably precise temperature sensor that
measures the ‘die temperature’ in the range of -40˚C to +85˚C with an
accuracy of ±1˚C.

Wiring up a MAX30102 Module to an Arduino


That we know everything about the module, we can begin hooking it
up to our Arduino!Start by connecting the VCC pin to the power sup-
ply, 3V-5V is fine. Use the same voltage that your microcontroller lo-
gic is based off of. For most Arduinos, that is 5V. For 3.3V logic
devices, use 3.3V. Now connect GND to common ground.

Connect the SCL pin to the I2C clock pin and the SDA pin to the I2C
data pin on your Arduino. Note that each Arduino Board has different
I2C pins which should be connected accordingly. On the Arduino
boards with the R3 layout, the SDA (data line) and SCL (clock line)
are on the pin headers close to the AREF pin. They are also known as
A5 (SCL) and A4 (SDA).

You might also like