Skip to content

MAX30100 Library Beat Detection Values Calculation #87

Description

@Fatihalparslan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions