Open DarkDaemon1 opened 4 years ago
I found solution, that increase time for other functions twice. I slow down sample rate to 50Hz.
I've added in MAX30100_PulseOximeter.h
void setSamplingRate(SamplingRate sr);
in MAX30100_PulseOximeter.cpp
void PulseOximeter::setSamplingRate(SamplingRate sr)
{
hrm.setSamplingRate(sr);
}
And then use
pox.setSamplingRate(MAX30100_SAMPRATE_50HZ);
It is not perfect solution, but it fits to my project
I have also seen this issue, its due to light from tubelight or CFL or LED light falling into Senosr.
Troubleshooting checklist
Description of the issue
When I add delay more than 30ms in loop with pox.update(), I get wrong pulse data with big delta or zero data. When I add delay more than 80ms in dump function with 1s perion, I get phantom pulse data without finger. So, it is not possible to use this library in any serious project with other functions, which take a lot of processor time. Anyone know the solution?
Output from MAX30100_Tester example
Details of my setup