DFRobot_MAX30102 MAX30102-based Heart-rate & Oximeter Sensor Library The MAX30102 is an integrated pulse oximetry and heart-rate monitor biosensor module based on PPG ((PhotoPlethysmoGraphy). It is so small that you can just wear it on your finger or wrist for data collecting. Internally integrated 18bit ADC, the sensor supports I2C data output, which could be compatible for most controllers.
Examples included in this library: real-time display basic reading on serial monitor; display heartbeat