GithubHelp home page GithubHelp logo

Comments (8)

n-elia avatar n-elia commented on July 17, 2024

Hi ebolisa!
First of all, let me know which is your particular board, and which is your sensor (the original Maxim, or a clone?).
Then, please try to scale the y-axis, e.g., plot the Columna B only with an y-axis ranging from 18000 to 22000.
Thank you!

from max30102-micropython-driver.

ebolisa avatar ebolisa commented on July 17, 2024

Thanks for getting back to me.
I'm using the Raspberry Pi Pico and the sensor board may be a clone: https://www.pantechsolutions.net/max30102-pulse-oximeter-heart-rate-sensor-module-i2c-interface.
As for the graph, I'm using OpenOffice and I don't control it that well so I'm attaching some raw data.
data.csv
Cap
EDIT:
Updated sensor's link.

from max30102-micropython-driver.

ebolisa avatar ebolisa commented on July 17, 2024

Ok, Made progress. Had a crash course on Calc.
But how do I output in a range from 0 to 100% for Oxy. And < 200 for HR?
TIA
Cap

from max30102-micropython-driver.

n-elia avatar n-elia commented on July 17, 2024

You're very welcome.

So, as I could see in your link, this is a MAX30100, so I am not sure that this library will work. However, we can further investigate. Let's check something:

  1. The csv that you posted contains 26 points only. if I remember well, with the default settings, the sensor will provide 50 samples per second, therefore you should plot at least 200 samples (4 seconds) to see an heart signal that makes sense.
  2. You can easily check the acquisition frequency with the code proposed in the readme; please make sure to have at least 50Hz
# Get the estimated acquisition rate
acquisition_rate = sensor.getAcquisitionFrequency()
  1. How are you logging data? Is it fast enough to get all the samples?

Let me know!

from max30102-micropython-driver.

n-elia avatar n-elia commented on July 17, 2024

Nice to see that it works well!

You have to do some math to obtain SpO2 and HR. I put some hints in the last lines of the readme, here.

Please share your code if you manage to perform those computations locally, I am interested, too!

from max30102-micropython-driver.

ebolisa avatar ebolisa commented on July 17, 2024

Sorry, I posted the wrong sensor's link so, I updated my post.

from max30102-micropython-driver.

ebolisa avatar ebolisa commented on July 17, 2024

Will do. Thanks again.

from max30102-micropython-driver.

n-elia avatar n-elia commented on July 17, 2024

Fine! Then, I'm going to close this issue.

Please feel free to open a topic in the "Discussion" section if you want to look for help for implementing HR/SPO2 evaluation, or if you want to share some progresses.

Bye,
Nicola

from max30102-micropython-driver.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.