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

Differences in measures #8

Open
kz3ko opened this issue Nov 12, 2020 · 2 comments
Open

Differences in measures #8

kz3ko opened this issue Nov 12, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@kz3ko
Copy link

kz3ko commented Nov 12, 2020

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
Copy link
Author

kz3ko commented Nov 12, 2020

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.

@vrano714
Copy link
Owner

Hi kz3ko,

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

@vrano714 vrano714 added the bug Something isn't working label Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants