aromring / MAX30102_by_RF

Arduino C code for MAX30102 pulse oximetry sensor (MAXIM Integrated, Inc.)
166 stars 73 forks source link

HR always -999 or invalid while wearing sensor on wrist. #26

Closed AAJAY5 closed 3 years ago

AAJAY5 commented 3 years ago

I have checked/verified listed below thing before raising issue.

Thanks, Have a good day.

assembly Sensor_On_Wrist_V1.xlsx Sensor_On_Finger.xlsx

aromring commented 3 years ago

Your spreadsheet does not contain plots of raw signals. Please fix this issue and resubmit. If you need context, display the README page at https://github.com/aromring/MAX30102_by_RF/blob/master/README.md and scroll down to "HOW TO REPORT BUGS".

AAJAY5 commented 3 years ago

Your spreadsheet does not contain plots of raw signals. Please fix this issue and resubmit. If you need context, display the README page at https://github.com/aromring/MAX30102_by_RF/blob/master/README.md and scroll down to "HOW TO REPORT BUGS".

I have updated sheet for sensor on finger as well as sensor on wrist with charts. Can you please look at that and let me know is everything is okay or not?

aromring commented 3 years ago

Excellent. Now you know why I want people to draw charts before submitting bug reports: I wanted you to see for yourself that the quality of signal is dismal when sensor is placed on wrist (IR in particular). Don't expect any algorithm to read good HR from poor signals. I don't think the sensor was designed for wrist - but to be sure contact MAXIM.

AAJAY5 commented 3 years ago

Thanks....

AAJAY5 commented 3 years ago

I have updated sketch with web socket and graph plot for every 100 readings. So, graph automatically updates @4s. So, after 1-2 minutes sensor gives reading/HR value on wrist. But on even finger movement reading get unstable and takes 1-2 minutes to get stable.

on_wrist

aromring commented 3 years ago

Awesome, thank you for sharing! Indeed, motion artifacts always interfere, even when the sensor is on a fingertip. Wrists are much worse because of all the moving tendons under the skin. I wonder how Apple Watch and other "fitness sensors" deal with these problems?

AAJAY5 commented 3 years ago

Motion artifacts affect play important role in PPG. I have added accelerometer to hardware. I am just informing here because i wanted to contribute. Currently i am just co-relating things with accel data. I have attached screen shot for the same. If you have any info about this please let me know/share. reading with accel

aromring commented 3 years ago

Mighty interesting! Thank you for sharing. I did think about adding an accelerometer to mitigate the effect of motion artifacts, but I've never had sufficient motivation to do it. Besides, it's not that obvious how to do it. Accelerometer measures the movement of the whole arm/body, while motion artifacts are mainly caused by wrist tendons that move fingers/hand. The two may or may not be correlated...

AAJAY5 commented 3 years ago

I have purchased MAX30105 sensor. Is that algorithm is valid for the same green led instead of red one? Any changes for green led?

aromring commented 3 years ago

I have no idea. I've never used MAX30105.

AAJAY5 commented 3 years ago

I have no idea. I've never used MAX30105.

Okay. Thanks...