WorldFamousElectronics / PulseSensor_Amped_Arduino

PulseSensor Arduino code for BPM and Processing-Visualizer
MIT License
238 stars 206 forks source link

Can u please fix this problem in coding of pulse sensorr #43

Closed SharanTheStar closed 7 years ago

SharanTheStar commented 7 years ago

When i am running the code iam getting no output in processing visualizer it showing a single wave continusely going but giving pulse 0 and bpm 0 And i tried serial plotter too by changing the output type in main but it showing the waves going on even i removed my finger Plz anyone help me..

biomurph commented 7 years ago

Please give me more information. What Arduino board are you using? Verify that you have uploaded the code to your board. Can you share a screen shot of what the Visualizer or Plotter look like?

SharanTheStar commented 7 years ago

Thank you for the reply.I am using arduino uno.and the interrupt code is not working

SharanTheStar commented 7 years ago

Thank you for the reply.I am using arduino uno.and the interrupt code is not working

SharanTheStar commented 7 years ago

Thank you for the reply.I am using arduino uno.and the interrup

SharanTheStar commented 7 years ago

img_20170303_132630 I am getting output what i initialized in the code

SharanTheStar commented 7 years ago

screenshot_2017-03-03-13-46-09 This is the output I am getting in the serial plotter continuously even without my finger in the sensor i guess codes are correct. Do i have to change anything in the IDE to enable interrupt programming. I checked the interrupt code too for the timer2. Plz help me

SharanTheStar commented 7 years ago

I think i have a problem with interrupt code. The codes inside the interrupt setup() is not getting compiled and running. But it showing no errors when compiling.

SharanTheStar commented 7 years ago

Thank you for the prompt reply. I tried the code in this website. But not working for me. Do I have to update any thing in the arduino ide ?.i am using arduino uno.bellow I have attached the plotter visuals.It continuously giving same without my fimgers in sensor

Thanks inadvance On 01-Mar-2017 9:09 PM, "Joel Murphy" notifications@github.com wrote:

Please give me more information. What Arduino board are you using? Verify that you have uploaded the code to your board. Can you share a screen shot of what the Visualizer or Plotter look like?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WorldFamousElectronics/PulseSensor_Amped_Arduino/issues/43#issuecomment-283375271, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_HKoSCVSbkzhY03SEs6TO_8mBXgdaQks5rhZFDgaJpZM4MPoVa .

joelSensor commented 7 years ago

Hi, I am pretty sure that the interrupt code is being compiled. If it was not, you would get an error. Please do a couple of things: First, verify that you are connecting the Pulse Sensor purple wire to the A0 pin on the arduino Uno. Also, please send a picture of the Pulse Sensor when it is plugged in.

SharanTheStar commented 7 years ago

Thank you for the reply Here is my attachment of sensor Thank you so much for your great help. On 03-Mar-2017 10:02 PM, "Joel Murphy" notifications@github.com wrote:

Hi, I am pretty sure that the interrupt code is being compiled. If it was not, you would get an error. Please do a couple of things: First, verify that you are connecting the Pulse Sensor purple wire to the A0 pin on the arduino Uno. Also, please send a picture of the Pulse Sensor when it is plugged in.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WorldFamousElectronics/PulseSensor_Amped_Arduino/issues/43#issuecomment-284001748, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_HKkQVWOCPzsaKBVDbo-zM836ZXXmEks5riECRgaJpZM4MPoVa .

SharanTheStar commented 7 years ago

Thank you so much .... I got the output. There was a problem with my sensor only. When i tried with another one i got the result . Once again thank you for your great and timely help

biomurph commented 7 years ago

I never saw the picture that you send of the Pulse Sensor. You say that there was a problem with it? I would like to figure out what the problem was.

SharanTheStar commented 7 years ago

Thank you so much. I connected wrongly and also there was a problem with my sensor. I found out what the problem was. I got the output. On 04-Mar-2017 8:04 PM, "Joel Murphy" notifications@github.com wrote:

I never saw the picture that you send of the Pulse Sensor. You say that there was a problem with it? I would like to figure out what the problem was.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/WorldFamousElectronics/PulseSensor_Amped_Arduino/issues/43#issuecomment-284155085, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_HKqetveoMRN2gxKiu7xO_FXiIoadhks5riXaNgaJpZM4MPoVa .

biomurph commented 7 years ago

Great!