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
CALCULATE BPM FROM RAW DATA OF MAX30100 SENSOR
-
- Posts: 123
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 13, 2022 9:04 pm
- Has thanked: 32 times
- Been thanked: 2 times
-
- Matrix Staff
- Posts: 1956
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 626 times
- Been thanked: 657 times
Re: CALCULATE BPM FROM RAW DATA OF MAX30100 SENSOR
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:
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)
Martin