Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse sensor not working correctly with arduini Pro mini #58

Open
shadowwalkersteam opened this issue Aug 23, 2017 · 8 comments
Open

Pulse sensor not working correctly with arduini Pro mini #58

shadowwalkersteam opened this issue Aug 23, 2017 · 8 comments

Comments

@shadowwalkersteam
Copy link

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?

@beingmachine
Copy link

beingmachine commented Aug 23, 2017

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..

@shadowwalkersteam
Copy link
Author

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
Copy link
Author

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

@shadowwalkersteam
Copy link
Author

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
Copy link
Author

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

@biomurph
Copy link
Contributor

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

@shadowwalkersteam
Copy link
Author

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

@biomurph
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants