BPM inconsistency

HI,

I have a new problem concerning my heart rate. The BPM is inconsistent and doesn't stop increasing.
Can you please help me and make it work better.

Pulse_sensor___lcd_test.ino (7.65 KB)

What hardware are you using? What values do you get? How high does the value rise?

..and sparkfuns programmer may help you to set this up correctly.
I see there are two example programs written fot their pulse sensor

I'm using the Pulse Sensor Amped. The readings I get are stable when I keep my finger on the sensor, but when I remove it the readings increase and increase.

I have tried all types of code for the sensor, but the current one works best.

Thanks for the help,
Heathen

The readings I get are stable when I keep my finger on the sensor, but when I remove it the readings increase and increase.

But as far as I know the sensor isn't expected to provide correct results if the finger is removed, is it? Do you want to be able to detect the absence of a finger to be measured?

I'm using the Pulse Sensor Amped.

The one from Adafruit? Is it so hard to copy/paste a link to that stuff in your post?