I am using MAX30102 spo2 sensor for my POC with following config setting.

fs = 1kz
ADC = 16 bit resolution

I want to detect the peak of the pulse but only for human.

I have checked your algorithm “”.
But it is related to heart rate calculation and there are some hardcoded values which are not described properly.

I have used buffer of size 1000 and checking the values there. Even if we place any object we are getting values. Need to differentiate ADC count for human presence and or any other object.


Please post your complete code.