Skip to content

m5stack/M5Unit-HEART

Repository files navigation

M5Unit - HEART

Overview

Library for UnitHEART using M5UnitUnified.
M5UnitUnified is a library for unified handling of various M5 units products.

SKU:U029

Unit Heart is a blood oxygen and heart rate sensor. Integrated MAX30100, it offers a complete pulse oximeter and heart rate sensor system solution. This is a non-invasive blood oxygen and heart rate sensor, integrating two infrared light-emitting diodes and a photodetector. The detection principle is to use infrared LEDs to illuminate and detect the proportion of red blood cells carrying oxygen versus those not carrying oxygen, thereby obtaining the oxygen content.

SKU:U118

Hat Heart is a blood oxygen and heart rate sensor. It integrates MAX30102, providing a complete pulse oximeter and heart rate sensor system solution. This is a non-invasive blood oxygen and heart rate sensor. Its detection principle is based on infrared LED light illumination, which detects the ratio of oxygenated to deoxygenated red blood cells to determine blood oxygen levels. The sensor uses an I2C communication interface and integrates infrared LEDs, photodetectors, optical components, and low-noise electronics, with some ambient light suppression for more accurate measurements.

Related Link

See also examples using conventional methods here.

Required Libraries:

License

Examples

See also examples/UnitUnified

For ArduinoIDE settings

You must choose a define symbol for the unit you will use. (Rewrite source or specify with compile options)

  • PlotToSerial / GraphicalMeter
// *************************************************************
// Choose one define symbol to match the unit you are using
// *************************************************************
#if !defined(USING_UNIT_HEART) && !defined(USING_HAT_HEART)
// For UnitHeart (U029)
// #define USING_UNIT_HEART
// For HatHeart (U118)
// #define USING_HAT_HEART
#endif

Doxygen document

GitHub Pages

If you want to generate documents on your local machine, execute the following command

bash docs/doxy.sh

It will output it under docs/html
If you want to output Git commit hashes to html, do it for the git cloned folder.

Required

About

Library for UnitHEART using M5UnitUnified.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from m5stack/M5Template-C-CPP