SLAAE25 May 2021 MSP430FR2355 , MSP430FR2355
As shown in Figure 5-6, this is the ADC value of photodiode signal after filtered and amplify. You can define the highest point in a period as onset and the lowest point as peak.
You need to calculate AC and DC values for the RED/IR signal, and then use the below formula to calculate the blood oxygen level.
For the heart rate, it can be calculated by the time of two onset/peak points.