max30102-tutorial-raspberrypi icon indicating copy to clipboard operation
max30102-tutorial-raspberrypi copied to clipboard

Differences in measures

Open kz3ko opened this issue 4 years ago • 2 comments

Hi! Im using your code and the problem i have is that my results in IR and RED data are somehow swapped i guess? I mean, in logs you've uploaded IR result is around 20k higher than RED one, but when i take a measure I get higher values in RED data. I observed it when i tried to get spo value manually by dividing ac and dc currents. When i inverted R factor i got a proper value almost everytime. I also check the MAX30102 modes. In hr mode only red light should be turned on, in spo mode both should be turned on. But when i turn the hr mode i see no light. The light apperas only in spo mode. This fact would confirm that signals are inverted or something i guess? Because red light is visible and ir is not for us. What do you think?

kz3ko avatar Nov 12 '20 18:11 kz3ko

Commit 3f7b69a will fix this bug.

My results are same as u had before this change, the difference is my settings are same as yours after. Im confused now.

kz3ko avatar Nov 12 '20 19:11 kz3ko

Hi kz3ko,

I will check the datasheet of MAX30102 for RED/IR data order.

vrano714 avatar Dec 25 '20 08:12 vrano714