WorldFamousElectronics / PulseSensor_Amped_Arduino

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

Pulse sensor output question #4

Closed sabdolla closed 9 years ago

sabdolla commented 9 years ago

Hi, I have a question about the output, the serial monitor read-out window continuously outputs things (e.g. s502, s503, etc.), even when my finger is not in the pulse.

Should I only pay attention to the top bar that ranges from 50 to 140? Are the units BMP?

Also, I am wondering if I can run the visualization code for mac or is it specific to windows?

Thank you,

Sara

yurygitman commented 9 years ago

screen800x500

Good Question.

The Mac App is suppose to look like above screen grab. The "Serial Monitor Read-Out" window just runs a "live log" of everything Arduino is saying via Serial communication. So, you can expect to see an rapid roll of numbers that are "Pre-fixed with a Letter". this

screen shot 2015-07-20 at 11 06 06 am

The Letter identifies "what that number means". "S" Means "Signal" "B" Means "BPM Number" "Q" is the "Heart-rate Variability Number

For example: "S511" or "S###" is the raw Signal number for the Pulse Sensor. It's simply the intesty of light the optical sensor literally sees.

The Serial Monitor Read-Out" window is a live data feed from Arduino to the Mac App. When it's moving too fast to read that's good! :+1:

The below Image shows No Communication between your Arduino/Pulse Sensor and the Mac App. That's bad. :-1:

screen shot 2015-07-20 at 11 13 08 am
yurygitman commented 9 years ago

*Should I only pay attention to the top bar that ranges from 50 to 140? Are the units BMP?

Yes, you basically are looking at the:

When the BPM number is Red, that's a reliable BPM for the wearer.

screen shot 2015-07-20 at 11 18 55 am

When when BPM number is "outside a realistic human BPM" the number is "visible but grey-ed out".

Does that make it clearer?

sabdolla commented 9 years ago

Yes, thank you so much. Can I also see the actual signal by running the visualization code?

yurygitman commented 9 years ago

Yes, there is an ASCII Visualizer in the Arduino Software Itself.
Works on: Mac, Windows, Linux :boom: asciiviz-1

To Turn On ASCII Visualizer:

// Regards Serial OutPut  -- Set This Up to your needs
  static boolean serialVisual = true;   // Set to 'false' by Default. 
screen shot 2015-07-22 at 11 36 32 am
sabdolla commented 9 years ago

Thanks, I set it to false and it worked, very nice. What I had in mind is running the processing visualization app (http://pulsesensor.com/pages/processing-visualization). Can this app run on mac? Thanks again, Sara

yurygitman commented 9 years ago

Yes. The Processing App runs on Mac, Win, Linux too.

xueting123456 commented 6 years ago

Hi, hello. I saw your information on GitHub. Do you have the code to calculate the peak time difference through 2 pulse sensors?