PulseSensor_Amped_Arduino icon indicating copy to clipboard operation
PulseSensor_Amped_Arduino copied to clipboard

Pulse sensor not working correctly with arduini Pro mini

Open shadowwalkersteam opened this issue 8 years ago • 8 comments

Pulse sensor is not working correctly with arduino Pro Mini 5v version. It is showing values even when there is no finger touched. LED13 blinks or sometimes Turn on and remains constant when there is no finger attached to pulse sensor. Please help me how i can configure it according to Pro Mini 5v version? What changes should i do in timer interrupt?

shadowwalkersteam avatar Aug 23 '17 04:08 shadowwalkersteam

It is showing values even when there is no finger touched

Tried removing pulse sensor at this time.? if the LED still blinks then it might be problem in the Arduino..

why don't you try with different Arduino's like UNO and Mega.? Moreover i would suggest you to use isolated power source OR battery power source - That means connect your Arduino to battery powered computer like laptop (when not charging), and have a test..

beingmachine avatar Aug 23 '17 09:08 beingmachine

I'm connecting it with laptop. Even my device is using battery so i also checked it by removing USB and run it on DC battery supply

shadowwalkersteam avatar Aug 23 '17 11:08 shadowwalkersteam

No the LED didn't blink when i removed the pulse sensor..

shadowwalkersteam avatar Aug 23 '17 11:08 shadowwalkersteam

I'm making a wearable pulse monitor that's why i can't use UNO i have limited and that is the reason i'm using Pro mini

shadowwalkersteam avatar Aug 23 '17 11:08 shadowwalkersteam

Should i edit the timer interrupt or should i switch to timer2? As the the pulse sensor code is compatible with arduino UNO by default

shadowwalkersteam avatar Aug 23 '17 11:08 shadowwalkersteam

The default code should work with the ProMini 5V. It's the same processor as the UNO. If you're seeing blinks when there is no finger on the pulse sensor, then that is just noise. Try a couple of things. In the Interrupt.ino file, change the variable called 'thresh' to a higher number on line 9 and line 95.

Also, you can try our new PulseSensor library https://github.com/WorldFamousElectronics/PulseSensorPlayground and see if that gives you better results

biomurph avatar Aug 23 '17 13:08 biomurph

Ok i'll try it.. 1 more thing as there is nothing connected on pin 5 of arduino pro mini. What will be the effect of fade?? As arduino pro mini has LED on pin 13 and pin 5 is free nothing is connected there

shadowwalkersteam avatar Aug 23 '17 13:08 shadowwalkersteam

If nothing is connected there then you will not see anything happen. pin 13 LED should still blink with your heartbeat

biomurph avatar Aug 23 '17 13:08 biomurph