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

MAX30100 ? #7

Open
titithebad opened this issue Oct 21, 2020 · 8 comments
Open

MAX30100 ? #7

titithebad opened this issue Oct 21, 2020 · 8 comments

Comments

@titithebad
Copy link

titithebad commented Oct 21, 2020

Hello !

Does the script work woth MAX30100 chip ?

I try it but nothing happen. No red light is on...

Regards

@vrano714
Copy link
Owner

Hi.

I think it does not work with MAX30100.

Searching on github showed this: https://github.com/mfitzp/max30100
How about trying this one?

I hope you successfully make your sensor work.

@titithebad
Copy link
Author

Hin

Thanks. Finally I bought a max30102.

The red light is now on but the value are false 👍

pi@rpi-medical:~/max30102-tutorial-raspberrypi $ python test.py
Channel: 1, address: 0x57
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(150, True, 71.26890599999999, True) ==> only these values
(-999, False, -999, False)
(-999, False, -999, False)
(20, True, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)
(-999, False, -999, False)

Do you know why ?

Regards

@vrano714
Copy link
Owner

You successfully made the sensor turn on. That's good. 👍

There can be many reasons for that.
Finger placement is most likely.
Your finger should be steady on the sensor.
Because the sensor has to read blood flow, put your finger softly for blood to flow normally.

Saving the raw sensor values and plotting them may help.
HR/SpO2 calculation uses peak detection.
If the plotting is too flat, peak detection cannot work.

In my opinion, max30102 sensor is susceptible to environmental factors such as finger placement, thickness of the skin and so on. 🤔
Please try several times to find the optimal way of placing finger.

@titithebad
Copy link
Author

Can you tell me the electrical connection you made with your Rpi please ?

@vrano714
Copy link
Owner

Here's the connection:

pizero-sensor-connection

Pin order of the sensor may be different with yours. Please refer to pin names.

(I think there is no problem in connection because you can see red light from the sensor and retrieve some values)

@titithebad
Copy link
Author

So, no problem with the connexion... How can I do to have more values for calculating the HR et Sp02 ?

@titithebad
Copy link
Author

Another question, how do you put your finger on the sensor ?

@vrano714
Copy link
Owner

vrano714 commented Nov 7, 2020

more values

How about referring to "Running Continuously" (in README.md)?

put your finger

I put my index finger, like when touching a fingerprint reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants