Skip to content

hawkw/biophone_viz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

Processing Visualization & PulseSensor

Picture

Upload Arduino Sketch To Your Microcontroller

Before running this program, you have to upload our Pulse Sensor Arduino Sketch to your Arduino board of choice. For details on how to do that, go here, and follow the READ_ME tutorial. In order for your Arduino board to talk to the Pulse Sensor Amped Visualizer, you will need to change a variable in the Arduino code. The variable is called outputType, and by default it is set to SERIAL_PLOTTER. You need to change it to PROCESSING_VISUALIZER. To make this change, go to the main tab of the Arduino Sketch, and change the variable declairation on line 37 as shown below.

outputType declariation

Then, upload the Arduino Sketch and your board is ready to send data the way our Processing Visualizer likes to get it!

Installation

  1. Click the Clone or Download button above and download the zip, or if you are a github user, clone this repo, or fork it!
  2. Unzip the download, and take the folder called PulseSensorAmpd_Processing_150 and place it in your Documents/Processing folder.
  3. Then open or restart Processing to access the code through your Sketch folder. Select File > Sketchbook... open sketchbook

Then select PulseSensorAmped_Processing_150

select sketch

The Sketch will launch, and you will be prompted to select the USB port associated with your Arduino board. The list of available ports with auto-update when you plug/unplug USB cables. Use the Refresh Serial Ports button to update the ports list if you don't see your Arduino. Usually, your Arduino port is at the top of the list! Once you select the right port, you will start seeing hearbeat data!

select port

About

Processing code for pulse wave visualization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 51.5%
  • Processing 48.5%