Heart Rate and Blood Oxygen (SpO2)

../../../../_images/heart_rate_spo2_sensor.png

Overview

Can be used for fingertip measurement, not suitable for wrist measurement.

Technical Specifications

Operating voltage: VCC 3.3V -5V

Module dimensions: 24*48mm

Mounting: 2 plastic building block compatible through-holes

Data type: Heart rate 30–200 BPM, blood oxygen (SpO2) 30%-100%

Heart rate accuracy: +1-5bpm (static), +/-10bpm (dynamic)

Pin Definition

Pin

Definition

GND

Ground

VCC

Power

SCL

I2C clock

SDA

I2C data

Example Code

Press the mPython Board A button to start measurement, place your finger on the sensor

from mpython import *

from bluebit import MAX30102

max30102 = MAX30102()

def on_button_a_pressed(_):
    max30102.measurement()
    print(max30102.ir_D)
    print(max30102.ir_D)

button_a_event_pressed = on_button_a_pressed
../../../../_images/heart_rate_spo2.png