Protocentral / AFE4490_Oximeter

This pulse oximetry shield from ProtoCentral uses the AFE4490 IC to enable your Arduino to measure heart rate as well as SpO2 values.
https://www.protocentral.com/biomedical/996-afe4490-pulse-oximeter-shield-kit-for-arduino-642078949425.html
Other
46 stars 27 forks source link

Ratio Question #11

Closed bpk323 closed 4 years ago

bpk323 commented 4 years ago

Hi,

Would someone be able to explain the line of code (line 436) below and why the numerator is multiplied by 100? Also, possibly what the dc_max represents on the actual PPG signal?

an_ratio[n_i_ratio_count]= (n_nume*100)/n_denom ; //formular is ( n_y_ac *n_x_dc_max) / ( n_x_ac *n_y_dc_max)

Thank you