MAX30100 Pulse Oximeter

The MAX30100 is an integrated pulse oximetry and heart-rate monitor sensor.

Sensors7 blocksMicroPythonC++
MAX30100 Pulse Oximeter & Heart-Rate Sensor

At a glance

Pins and properties exactly as the circuit editor and simulator define this part. The text below explains how to use them.

Pinout

Pinout of the MAX30100 Pulse Oximeter & Heart-Rate Sensor, drawn as in the circuit editor. Select a label to see that pin in the table below.

Pins

Pins of this part
PinLabelType
VINVINPower in
SCLSCLSignal in
SDASDABidirectional
INTINTSignal out
GNDGNDGround

Properties

What you can change in the Property Inspector.

Properties of this part
PropertyRange or choicesDefault
Heart Rate40 to 180 BPM75 BPM
Blood Oxygen (SpO2)80 to 100 %98 %
Finger DetectedOn or offon
I2C Address0x570x57

The MAX30100 is an integrated pulse oximetry and heart-rate monitor sensor. It combines two LEDs (a red LED and an infrared LED), a photodetector, optimized optics, and low-noise analog signal processing to detect pulse rate (BPM) and blood oxygen saturation (SpO2).


1. Hardware Specifications

  • Operating Voltage: 1.8V to 3.3V (VCC).
  • Communication Interface: I2C (Default address 0x57 / 87).
  • LED Peak Currents: Software adjustable up to 50mA.
  • Interrupt Pin (INT): Open-drain active-LOW output. Pulls LOW when new data is ready.
  • Pin Configuration:
    • VIN / VCC: Power input (typically 3.3V).
    • SDA: I2C Data line.
    • SCL: I2C Clock line.
    • INT: Interrupt output. Connect to any digital input GPIO pin.
    • GND: Common Ground.

2. How it Works (PPG & FIFO buffers)

  • Photoplethysmogram (PPG): The sensor shines red and infrared light into a fingertip. Oxygenated blood absorbs more infrared light, while deoxygenated blood absorbs more red light. The photodiode measures the ratio of reflected light.
  • Heartbeat Detection: Each pulse cycle alters the volume of blood in the capillaries, causing a periodic wave in the reflected IR readings. The driver tracks these peaks over time, storing raw readings in a 16-sample FIFO (First-In, First-Out) buffer to prevent data loss.
  • BPM and SpO2 Calculation:
    • BPM: Calculated by measuring the interval between consecutive peak rises.

    • SpO2: Estimated by calculating the ratio of AC-to-DC amplitudes of the Red and IR signals:

      R=ACRed/DCRedACIR/DCIRR = \frac{AC_{Red} / DC_{Red}}{AC_{IR} / DC_{IR}}

      SpO2%=110−25×R\text{SpO2} \% = 110 - 25 \times R


3. Component Properties

The MAX30100 now has a real simulated component (max30100_oximeter) — drag it onto the Circuit Canvas from the Components palette. It exposes:

  • Heart Rate (bpm) — range 40–180 BPM, default 75.
  • Blood Oxygen (spo2) — range 80–100%, default 98.
  • Finger Detected (fingerPlaced) — boolean toggle, default true.
  • I2C Address (i2cAddress) — select, only one real option: 0x57. The real MAX30100 chip has no address-select pin at all (matches Section 1's fixed address) — this field exists for consistency with other sensors' Property Inspector layout, not because a different address is ever valid.

All five pins are wired: VIN/GND power the module, SDA/SCL carry real I2C pull-up resistors, INT is a real (idle-high) interrupt pin.


4. Simulator Behavior

With the component placed and the circuit running:

  • Click the optical sensor chamber (the dark rectangular window with red/IR LED dots), or the Placed/Lifted button in the toolbar (visible only during simulation), to toggle fingerPlaced. When on, the red and IR LED dots pulse in sync with the current bpm.
  • Type directly into the BPM/SpO2 number fields in the same toolbar to change bpm/spo2 live, without opening the Property Inspector.
  • A live text readout shows HR: <bpm> BPM | SpO2: <spo2>% while a finger is placed, or 🖐 No Finger Detected when not — continuously while powered, not a hover-only tooltip.

5. Supported Blockly Blocks

Drawing the blocks…

MAX30100 Pulse Oximeter — OMS Parts