MAX30102 Heart Beat Sensor Detects Finger But Not Pulse

Hello, I'm currently working on a stress detection watch and just got a heart beat module for my project. I've followed many YouTube videos, and according to them, my code and wiring is correct. But for some reason unknown, it will trigger the led display when I put my finger on the sensor, but the BPM reads as 0 almost everytime. There are rare occasions where it will read out so measurement, but my finger would be hovering over the sensor.

Why are you sure your wiring and code are correct? How are you powering the device? How did you get the 1.8 volt supply for the processor?

Schematic and code, please.

Paul

Hi Paul, I'm almost certain the wiring and code are correct because I copied it directly from YouTube examples, plus the circuit works on detecting the finger but not the pulse. I'm currently powering the device with the 5 volts running from my PC usb port. (I'm new to all this so I don't understand the last question sorry). Aside from the buzzer not being in my project, this is what my schematic looks like:

https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjIz8f2kqbiAhUSsJ4KHSn5AekQjRx6BAgBEAU&url=https%3A%2F%2Fcreate.arduino.cc%2Fprojecthub%2FSurtrTech%2Fmeasure-heart-rate-and-spo2-with-max30102-c2b4d8&psig=AOvVaw0liamoAQHLAdBx7YVGdROa&ust=1558305204963635

Are you sure you are not using a breakout board with other stuff, like voltage regualtors, etc. rather than the MAX30102 itself.

It runs on 1.3 volts and the led is max at 5 volts.

Paul

I'm pretty sure the sensor is getting the 1.3 volts at least from the 5v pin on the arduino. The screen seems which is also using the same arduino 5v pin seems to be fully powered.

ThePatrioticPug:
I'm pretty sure the sensor is getting the 1.3 volts at least from the 5v pin on the arduino. The screen seems which is also using the same arduino 5v pin seems to be fully powered.

Did you buy the chip from a distributor or from the manufacturer? if not, please supply a link to the source and hopefully some documentation.

Paul

After reading the user questions and the author responses, it seems there are two different programs because of limited memory space. One gives the oxygen value and the other gives the BPM. Is this true?

Paul

Yes, there is an example code for oxygen sensing and a code for bpm.

Here is the link to the sensor I bought, hope it helps!