oxullo / Arduino-MAX30100

Arduino library for MAX30100, integrated oximeter and heart rate sensor
GNU General Public License v3.0
192 stars 135 forks source link

Max30100 errors #92

Open iPythonezta opened 1 year ago

iPythonezta commented 1 year ago

Troubleshooting checklist

Description of the issue

I am using Max30100 for a college project to measure the heart beat and SO2 levels of the patients but I am facing several problems. Problem #1 is that the Max30100 shows values (like Heart rate: 32 bpm/m SO2 level: 95%) even if no finger is places on the sensor. Secondly it sometime begins to show very high or low values when fingers is placed like 120+ bpm and 110% SO2 level. And the third issue i am facing is that the sensor sometimes suddenly stops sending values to Serial Monitor and then I will have to reset Arduino Uno or upload the code again to get it working

Output from MAX30100_Tester example

Heart Rate: 0.00 bpm SO2 0% (no finger is placed) Heart Rate: 0.00 bpm SO2: 0% (no finger is placed) Heart Rate: 27.18 bpm SO2: 0% (still no finger is placed) Heart Rate: 34.25 bpm SO2: 0% (still no finger is placed) Heart Rate: 54.23 bpm SO2: 95% (still no finger is placed) Heart Rate: 0.00 bpm SO2 0% (still no finger is placed) Heart Rate: 25.37 bpm SO2 0% (still no finger is placed) (In short it keeps on displaying such random values when no fingers are placed)

Heart Rate: 34.43 bpm SO2 95% (finger is placed) Heart Rate: 54.32 bpm SO2 96% (finger is placed) Heart Rate: 64.20 bpm SO2 96% (finger is placed) Heart Rate: 80.30 bpm SO2 97% (finger is placed) Heart Rate: 0.00 bpm SO2 0% (finger is placed) Heart Rate: 0.00 bpm SO2 0% (finger is placed) Heart Rate: 0.00 bpm SO2 0% (finger is placed) (Eventually throws some 0 readings) Heart Rate: 53.00 bpm SO2 97% (finger is placed)

(After sometime the serial monitor stops displaying the values!!)

Details of my setup

iPythonezta commented 1 year ago

I am working on this project and I am in need of some quick fixes as we don't have a lot of time. I will really appreciate any help