Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAX30100 Library Beat Detection Values Calculation #87

Open
Fatihalparslan opened this issue Feb 15, 2022 · 0 comments
Open

MAX30100 Library Beat Detection Values Calculation #87

Fatihalparslan opened this issue Feb 15, 2022 · 0 comments

Comments

@Fatihalparslan
Copy link

Hello i try to develop a heart beat detection function which measure from wrist for max30101. I saw your MAX30100 Beat Detector.h library could you send me your source document/tutorial which base of defines below

#define BEATDETECTOR_INIT_HOLDOFF 2000 // in ms, how long to wait before counting
#define BEATDETECTOR_MASKING_HOLDOFF 200 // in ms, non-retriggerable window after beat detection
#define BEATDETECTOR_BPFILTER_ALPHA 0.6 // EMA factor for the beat period value
#define BEATDETECTOR_MIN_THRESHOLD 20 // minimum threshold (filtered) value
#define BEATDETECTOR_MAX_THRESHOLD 800 // maximum threshold (filtered) value
#define BEATDETECTOR_STEP_RESILIENCY 20 // maximum negative jump that triggers the beat edge
#define BEATDETECTOR_THRESHOLD_FALLOFF_TARGET 0.3 // thr chasing factor of the max value when beat
#define BEATDETECTOR_THRESHOLD_DECAY_FACTOR 0.99 // thr chasing factor when no beat
#define BEATDETECTOR_INVALID_READOUT_DELAY 2000 // in ms, no-beat time to cause a reset
#define BEATDETECTOR_SAMPLES_PERIOD 10 // in ms, 1/Fs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant