RCWL 0530 (MAX30100 pulsemeter and heart beat detector i2c reading problem

hi eveyone im trying to build a pulsemeter with max30100 module . but it doesnt work properly.
here it is the code, schematic and other things GitHub - oxullo/Arduino-MAX30100: Arduino library for MAX30100, integrated oximeter and heart rate sensor

the circuit didnt work with those instructions in that link. first of all , it doesnt work with 3.3v . it couldnt turn the red led on. then i connected Vin to 5v .after that i got the first results. the red led turned on. and also i used two pull up resistors for scl and sda pins.

now , my problem is when i put my finger on the sensor it doesnt detect the beats .
it shows " Heart rate:0.00bpm / SpO2:0% ". but when i pull my finger back (i keep my finger on the sensor but there are about 2 or 3 cms between my finger and the sensor) it starts to detect the beats. values are not right but it can detect the beat anyway.
here they are ,some results :
"Heart rate:81.67bpm / SpO2:95%
Beat!
Heart rate:77.89bpm / SpO2:95%
Heart rate:77.89bpm / SpO2:95%
Beat!
Heart rate:88.38bpm / SpO2:95%
Beat!
Beat!
Heart rate:150.46bpm / SpO2:95%
Heart rate:150.46bpm / SpO2:95%
Heart rate:0.00bpm / SpO2:0%
Beat!
Beat!
Heart rate:139.43bpm / SpO2:0%
Beat!
Heart rate:148.61bpm / SpO2:95%
Beat!
Heart rate:142.83bpm / SpO2:95%
Heart rate:142.83bpm / SpO2:95%
Beat!
Heart rate:92.51bpm / SpO2:0%
Heart rate:92.51bpm / SpO2:0%
Beat!
Heart rate:67.55bpm / SpO2:0%
Heart rate:67.55bpm / SpO2:0%
"
normally it was supposed to detect my heart beats while im keeping my finger on the sensor.but i have to hold my finger above the sensor.maybe it is because the voltage .but i dont know where i should change to adapt it for 5v (on the code or circuit )
honestly i dont know what to do right now, i tried to do my best but i couldn't find the problem.can anyone help me to fix this up ? i need to finish this project as soon as possible.i need someone who have used this sensor before or who have come across with this problem.

these are my photos of my circuit



No one can help? :confused:

Hi Ghostmanzero, I just ordered one of those pulse oximetry sensors also so I'll be keeping an eye on this thread. I havent worked with it yet, but looking at the Max30100 datasheet, found here:

https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf

I note that on the detector module pic, there are pins for RD and IRD. On the datasheet, page 8,
RD and IRD is for red led cathode and infrared led cathode. I wonder if the intensity can be adjusted through
those RD and IRD pins...

A couple of updates...
Take a look at the 4th comment on this page, suggests resistors needed from RD and IRD...

On this advertisement page, the seller shows the schematic of the Max30100 module.
Note that RD and IRD go nowhere!

https://www.aliexpress.com/item/NEW-MAX30100-Heart-Rate-Pulse-Sensor-Oximeters-Pulse-Rate-Sensor-Module-For-Medical/32722011102.html?spm=2114.01020208.3.96.0eH6ZI&ws_ab_test=searchweb0_0,searchweb201602_1_10065_10130_10068_433_434_10136_10137_10138_10060_10062_10141_10056_10055_10054_301_10059_10531_10099_10530_129_10103_10102_10096_10052_10144_10053_10050_10107_10142_10051_10143_10526_10529_10084_10083_10080_10082_10081_10110_10111_10112_10113_10114_10037_10078_10079_10077_10073_10070_10122_10123_10124-10531,searchweb201603_6,afswitch_1,ppcSwitch_4_ppcChannel,single_sort_0_default&btsid=187bb3b2-97a4-4073-95b9-62f46750745b&algo_expid=faf77588-1518-42e5-a566-be5162043833-11&algo_pvid=faf77588-1518-42e5-a566-be5162043833