Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use MAX30102: Examples, Pinouts, and Specs

Image of MAX30102
Cirkit Designer LogoDesign with MAX30102 in Cirkit Designer

Introduction

The MAX30102 is a pulse oximeter and heart-rate sensor designed for non-invasive health monitoring applications. It utilizes photoplethysmography (PPG) technology to measure blood oxygen saturation (SpO2) and heart rate. The sensor integrates red and infrared LEDs, a photodetector, optical elements, and low-noise electronics in a compact package, making it ideal for wearable devices, fitness trackers, and medical monitoring systems.

Explore Projects Built with MAX30102

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
Image of Pulsefex: A project utilizing MAX30102 in a practical application
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity
Image of circuit diagram: A project utilizing MAX30102 in a practical application
This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 and MAX30100 Pulse Oximeter
Image of t: A project utilizing MAX30102 in a practical application
This circuit features an ESP32 microcontroller connected to a MAX30100 sensor, which is likely used for measuring pulse oximetry. The ESP32 is interfaced with the MAX30100 via I2C communication, as indicated by the SDA and SCL connections. Power is supplied to both the ESP32 and the MAX30100 by a 5V battery, with common ground established across the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Health Monitoring System with Bluetooth and GPS
Image of circuit diagram: A project utilizing MAX30102 in a practical application
This circuit integrates an ESP32 microcontroller with various sensors and modules, including a MAX30100 pulse oximeter, an MLX90614 infrared thermometer, a Neo 6M GPS module, and an HC-05 Bluetooth module. The ESP32 collects data from these sensors and modules via I2C and UART interfaces, enabling wireless communication and GPS tracking capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with MAX30102

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Pulsefex: A project utilizing MAX30102 in a practical application
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of circuit diagram: A project utilizing MAX30102 in a practical application
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity
This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of t: A project utilizing MAX30102 in a practical application
ESP32 and MAX30100 Pulse Oximeter
This circuit features an ESP32 microcontroller connected to a MAX30100 sensor, which is likely used for measuring pulse oximetry. The ESP32 is interfaced with the MAX30100 via I2C communication, as indicated by the SDA and SCL connections. Power is supplied to both the ESP32 and the MAX30100 by a 5V battery, with common ground established across the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of circuit diagram: A project utilizing MAX30102 in a practical application
ESP32-Based Health Monitoring System with Bluetooth and GPS
This circuit integrates an ESP32 microcontroller with various sensors and modules, including a MAX30100 pulse oximeter, an MLX90614 infrared thermometer, a Neo 6M GPS module, and an HC-05 Bluetooth module. The ESP32 collects data from these sensors and modules via I2C and UART interfaces, enabling wireless communication and GPS tracking capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Wearable health monitoring devices
  • Fitness trackers
  • Medical-grade pulse oximeters
  • Remote patient monitoring systems
  • IoT-based health solutions

Technical Specifications

The MAX30102 is a highly integrated sensor with the following key specifications:

Parameter Value
Operating Voltage 1.8V (core) and 3.3V (LEDs)
Current Consumption 600 µA (typical, during active operation)
LED Wavelengths Red: 660 nm, Infrared: 880 nm
Communication Interface I2C (7-bit address: 0x57)
Sampling Rate Programmable (up to 1000 samples per second)
Operating Temperature Range -40°C to +85°C
Package Dimensions 5.6 mm x 3.3 mm x 1.55 mm

Pin Configuration and Descriptions

The MAX30102 has 8 pins, as described in the table below:

Pin Name Pin Number Description
VIN 1 Power supply input (1.8V or 3.3V)
GND 2 Ground
SDA 3 I2C data line
SCL 4 I2C clock line
INT 5 Interrupt output (active low)
RD1 6 Red LED cathode (internally connected)
IRD1 7 Infrared LED cathode (internally connected)
NC 8 No connection

Usage Instructions

How to Use the MAX30102 in a Circuit

  1. Power Supply: Connect the VIN pin to a 1.8V or 3.3V power source and the GND pin to ground.
  2. I2C Communication: Connect the SDA and SCL pins to the corresponding I2C pins on your microcontroller. Use pull-up resistors (typically 4.7 kΩ) on both lines.
  3. Interrupt Pin: Optionally, connect the INT pin to a GPIO pin on your microcontroller to handle interrupts.
  4. LED Control: The red and infrared LEDs are internally connected and controlled by the MAX30102 firmware.

Important Considerations

  • Ambient Light: Minimize ambient light interference by enclosing the sensor in a dark housing.
  • Placement: Ensure proper skin contact for accurate readings. The sensor should be placed on a fingertip or earlobe for best results.
  • Power Management: Use low-power modes when the sensor is idle to conserve energy in battery-powered applications.

Example Code for Arduino UNO

Below is an example of how to interface the MAX30102 with an Arduino UNO to read heart rate and SpO2 data:

#include <Wire.h>
#include "MAX30105.h" // Include the MAX30102 library

MAX30105 particleSensor; // Create an instance of the sensor

void setup() {
  Serial.begin(9600); // Initialize serial communication
  Serial.println("Initializing MAX30102...");

  // Initialize the sensor
  if (!particleSensor.begin()) {
    Serial.println("MAX30102 not detected. Check connections.");
    while (1); // Halt execution if the sensor is not found
  }

  // Configure the sensor
  particleSensor.setup(); // Default settings
  particleSensor.setPulseAmplitudeRed(0x0A); // Set red LED brightness
  particleSensor.setPulseAmplitudeIR(0x0A);  // Set IR LED brightness
}

void loop() {
  // Read data from the sensor
  long redValue = particleSensor.getRed(); // Red LED value
  long irValue = particleSensor.getIR();   // IR LED value

  // Print the values to the serial monitor
  Serial.print("Red: ");
  Serial.print(redValue);
  Serial.print(" IR: ");
  Serial.println(irValue);

  delay(100); // Delay for stability
}

Notes:

  • Install the SparkFun MAX3010x Pulse Oximeter and Heart Rate Sensor Library from the Arduino Library Manager before running the code.
  • Adjust the LED brightness and sampling rate as needed for your application.

Troubleshooting and FAQs

Common Issues

  1. Sensor Not Detected:

    • Ensure the I2C connections (SDA, SCL) are correct.
    • Verify that the I2C pull-up resistors are in place.
    • Check the sensor's power supply voltage.
  2. Inaccurate Readings:

    • Ensure proper skin contact with the sensor.
    • Minimize ambient light interference by using a dark enclosure.
    • Verify that the LED brightness is appropriately configured.
  3. No Data Output:

    • Confirm that the correct I2C address (0x57) is being used.
    • Check the interrupt pin connection if interrupts are enabled.

Tips for Troubleshooting

  • Use an I2C scanner sketch to verify the sensor's address.
  • Monitor the power supply voltage to ensure it is stable.
  • Test the sensor with a known working microcontroller to rule out hardware issues.

By following this documentation, you should be able to successfully integrate and use the MAX30102 in your projects.