-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Troubleshooting checklist
- I read the README (on master) thoroughly
- I ran the MAX30100_Tester and I'm going to paste the output down below
- I filled in all the details of my setup down below
The GY-MAX30100 sensor gives wrong values for heart rate - the values are mostly to big, sometimes it gives non-zero values even when I'm not touching the sensor. I changed the IR led current to pox.setIRLedCurrent(MAX30100_LED_CURR_7_6MA) and this way it gives 0 when I dont touch the sensor but it still gives large value for HR.
Tester Output:
Initializing MAX30100..Success
Enabling HR/SPO2 mode..done.
Configuring LEDs biases to 50mA..done.
Lowering the current to 7.6mA..done.
Shutting down..done.
Resuming normal operation..done.
Sampling die temperature..done, temp=0.00C
WARNING: Temperature probe reported an odd value
Press any key to go into sampling loop mode
I connected the sensor to an Arduino MEGA 2560
Vin- 3.3V
GND-GND
SCL-SCL
SDA-SDA
Output :
Heart rate:119.47bpm / SpO2:95%
Beat!
Beat!
Heart rate:144.82bpm / SpO2:96%
Beat!
Beat!
Beat!
Beat!
Heart rate:186.02bpm / SpO2:95%
Beat!
Beat!
Beat!
Beat!
Heart rate:227.04bpm / SpO2:94%
Beat!
Arduino IDE version 2.0.3
I got the zip archive from the master branch and added to arduino library
this is the sensor I used - https://www.sigmanortec.ro/senzor-puls-optic-gy-max30102?gclid=CjwKCAjw04yjBhApEiwAJcvNoe6ep7EQXLRGdOR0HxnFfKtAWjC-iBOqamjsQUAgWZ4-ppDLwpj9ohoChpAQAvD_BwE