Page 1 of 1

CALCULATE BPM FROM RAW DATA OF MAX30100 SENSOR

Posted: Sat Oct 19, 2024 8:44 am
by SILVESTROS
Hi to all !

I would like to calculate HEART RATE (BPM) and SpO2 (%) from raw data of a MAX30100 sensor. Is there an example in FC10 to help me for that ?
Thanks

Basil

Re: CALCULATE BPM FROM RAW DATA OF MAX30100 SENSOR

Posted: Wed Oct 30, 2024 3:03 pm
by medelec35
Hello.
Have you see this webpage?
If you look at the code, it is just timing the duration of each reading.
You can use the Component Libraries > Math > Timer component for that.
Once you have the duration in ms of time between beats you can use a calculation command icon with:

Code: Select all

beatsPerMinute = 60 / (duration / 1000.0)