Hi! I'm having a few issues with coding my pulse sensor.
I used the A_PulseSensor06
code. I am relatively new to programming, so im not entirely sure what most of the code does.
Essentially, for my project i am using 3 LED's one connected to pin 13 that blinks at the rate of the heart rate, and the other two on pins 12 & 11 to light up depending on the value returned from the sensor. I know i do not need half of the code, as my project is very basic in comparison with the pulse sensor code im using.
The LED on pin 13 blinks erratically and im sure it's not correctly blinking at the rate of my heart beat. Secondly the LED's connected to pins 11 & 12 light up erratically i place the pulse sensor on my finger.
The values returned from the pulse sensor are high between 600-1000 so i used quite high ranges, i am unsure whether the values being returned from the pulse sensor are correct or not.
I have modified the code slightly to add the LED's in and added ranges in.
Any help would be greatly appreciated! Many Thanks in advance!