AFE4490_Oximeter icon indicating copy to clipboard operation
AFE4490_Oximeter copied to clipboard

Fix IR and RED values interpretation from Arduino

Open RVillani opened this issue 7 years ago • 2 comments

Hi, folks!

I'm using your shield and scripts for a medical application. Thanks a lot for them!

I've fixed a bug on the final SpO2 value displayed on the Processing software.

IR and RED values are sent from Arduino in that order and were being read as RED and IR by the Processing script. That changed the final SpO2 value to about 75% in a healthy person, whereas the standard is about 95%. It was also inverting the variation on the oxygen levels, eg., by holding your breath the value was raising instead of lowering as it should. Now it varies as expected.

RVillani avatar Jun 06 '17 22:06 RVillani

Hello Rodrigo, Thanks for your contribution, we truly appreciate your time and effort to make the algorithm better. We will review the code and merge it. Thanks again,

VenkateshBhat avatar Jun 07 '17 04:06 VenkateshBhat

Thank YOU guys for making it open source ^_^

RVillani avatar Jun 07 '17 06:06 RVillani