Skip to content
Description

HEART is build with MAX30100..

MAX30100 is a complete pulse oximetry and heartrate sensor system solution designed for the demanding requirements of wearable devices. The MAX30100 provides very small total solution size without sacrificing optical or electrical performance. Minimal external hardware components are needed for integration into a wearable device.

  • How do we use this Unit to test the heart rate and ? Put your finger on the detection area.

  • What is the communication protocol between M5 core and this unit? I2C.

Product Features

  • Programmable Sample Rate and LED Current for Power Savings
  • Ultra-Low Shutdown Current (0.7µA, typ)
  • Advanced Functionality Improves Measurement Performance
  • High Sample Rate Capability
  • Fast Data Output Capability
  • GROVE interface
  • Software Develop platform: Arduino
  • Two Lego-compatible holes

Kit includes

  • 1x HEART Unit
  • 1x Grove Cable
Documents
Learn

Example

Arduino IDE

To get the code, please click here.

/*     Install MAX30100lib Library first.      MAX30100_RawData.ino */ #include <Wire.h> #include "MAX30100.h"  #define SAMPLING_RATE   MAX30100_SAMPRATE_100HZ #define IR_LED_CURRENT  MAX30100_LED_CURR_50MA #define RED_LED_CURRENT MAX30100_LED_CURR_27_1MA // set HIGHRES_MODE to true only // when setting PULSE_WIDTH to MAX30100_SPC_PW_1600US_16BITS #define PULSE_WIDTH MAX30100_SPC_PW_1600US_16BITS #define HIGHRES_MODE    true  // new a object MAX30100 sensor;  void setup() {     Serial.begin(115200);     Serial.print("Initializing MAX30100..");     if (!sensor.begin()) {         Serial.println("FAILED");         for(;;);     } else {         Serial.println("SUCCESS");     }     sensor.setMode(MAX30100_MODE_SPO2_HR);     sensor.setLedsCurrent(IR_LED_CURRENT, RED_LED_CURRENT);     sensor.setLedsPulseWidth(PULSE_WIDTH);     sensor.setSamplingRate(SAMPLING_RATE);     sensor.setHighresModeEnabled(HIGHRES_MODE); }  void loop() {     uint16_t ir, red;     sensor.update();     while (sensor.getRawValues(&ir, &red)) {         Serial.print(ir);         Serial.print('\t');         Serial.println(red);     } } 

More information

Schematic

PinMap

M5Core(GROVE A)GPIO22GPIO215VGNDHEART UnitSCLSDA5VGND

 

The Mini Heart Rate Unit (MAX30100) appears in the following collections:

SKU M5-U029