The variable is called outputType, and there are two options for setting this variable: PROCESSING_VISUALIZER and SERIAL_PLOTTER.
There is a variable in the Pulse Sensor Amped Arduino Sketch that determines how the serial output is formatted.
This Read Me will cover how to view your pulse wave and other data with the Arduino Serial Plotter. Our Pulse Sensor Mac App "Pulse Sensor Mac App"įollow the links above to learn more about the Processing Visualizer and Mac App.Our Processing Sketch "Processing Visualizer".It controls LED Pin 13.īoolean that is true whenever Pulse is found and BPM is updated. Int that holds the time interval between beatsīoolean that is true when a heartbeat is sensed. Int that holds the heart-rate value, derived every beat, from averaging previous 10 IBI values Int that holds raw Analog Input data on Pin 0, the PulseSensor's Purple Cable. Or, 0pen project in * Arduino via File > Sketchbook > PulseSensor_Amped_Arduino-Master > PulseSensorAmped_Arduino_1.5.0.ino This properly installs your files.ĭouble-click on PulseSensorAmped_Arduino_1.5.0.ino Unzip PulseSensor_Amped_Arduino-master.zip in your Documents/Arduino folder. Take the PulseSensor_Amped_Arduino-master.zip file, and move it to your Documents/Arduino folder. Tech Note: Employ's Arduino's Interrupt, to keep "time", and calculate BPM and IBI.Ĭlick the Clone or Download button above and download the zip, or if you are a github user, clone this repo, or fork it!.Use this output for our Processing Visualizer App, our Pulse Sensor Mac App, or your project! Serial.print's the Signal, BPM, and IBI.Calculates User's IBI, the Interval Between Beats.Calculates User's BPM, Beat-Per-Minute."Fancy Fade Blink" an LED on Pin 5, to a User's Live HeartBeat.Blinks LED on Pin 13 to a User's Live Heartbeat.Getting Advanced Code / PulseSensor & "Arduino" This code has been superseded Please use our new PulseSensor Playground Library