Skip to content

MAX30100 — Heart rate / SpO₂

I2C address 0x57 (87). Supported through the GUI sensor logger / ALLSENSORS helpers rather than a standalone connect() module in guess_sensor().

Using the logger API

from eyes17 import eyes
p = eyes.open()

# Via internal LOGGER (same backend as the desktop sensor tool)
log = p.sensors   # ALLSENSORS.LOGGER instance attached at open
log.MAX30100_init()
print(log.MAX30100_all())   # [IR_delta, Red_delta] after baseline

Place a fingertip gently on the sensor. Expect a few seconds before the running average baseline stabilizes.

Configuration (logger methods)

Method Role
MAX30100_set_red_led(n) Red LED current index 0–15
MAX30100_set_ir_led(n) IR LED current index 0–15
MAX30100_set_rate(rate) Sample-rate field
MAX30100_set_pulse(conf) Pulse width / ADC resolution

Raw FIFO bytes can also be read with p.I2C.readBulk(0x57, 0x05, 4).

See also the pulse sensor project for related biomedical logging.