Project tutorial
How to use the Pulse oximeter shield  with Arduino

How to use the Pulse oximeter shield with Arduino © MIT

This project throws light on how the the pulse oximeter functions with the Arduino

  • 4 respects

Components and supplies

About this project


Using Processing - Data Visualization Software (New!)

Processing is a data visualization software, in existence since 2001, used by artists and scientists alike. It’s an open source coding framework based on Java. If you are familiar with the Arduino environment, the Processing IDE is similar and you wont have much of a learning curve to climb!

The following are the steps to run the code: ### 1. Download Processing for your operating system

Download the processing ide latest version from the link

* [MAC]

* [Linux 32-bit]

* [Linux 64-bit]

* [Windows 32-bit]

* [Windows 64-bit]

Once downloaded, unzip the archive and install the app as per your OS.

2. Download the Processing code for Pulse Oximeter visualization

a. Download the necessary files & directories or clone to your desktop from GitHub.

b. Unzipping the archive should make a folder by name AFE4400 Oximeter Shield that contains the visualization code.

c. Locate the Processing sketchbook directory on your computer. This should have been created automatically when you installed processing. Depending on your operating system, the path will be as follows:

* On Windows: c:/My Documents/Processing/

* On MAC: /Users/your_user_name/Documents/Processing/

* On Linux: /Home/your_user_name/sketchbook/

**Note:** This directory appears as "Processing" on Windows/Mac, and goes by the name "Sketchbook" on Linux. Create a subdirectory by name "libraries" if one doesn't exist already.

d. From the above mentioned "AFE4490_Oximeter-master" directory Copy/Move the contents of the AFE4490_Oximeter-master/Processing/ces_view_oximeter folder to the Processing sketchbook directory which is also mentioned above (Locate the Processing sketchbook)

e. Finally, copy the G4P directories from AFE4490_Oximeter-masterProcessinglibraries and paste them into the libraries directory of your Processing sketchbook.

f. You are all set now to get your first PPG wave form and SpO2 reading visualized from the AFE4400 Oximeter Shield!

3. Uploading Arduino Sketch For AFE4490 Oximeter Shield

a. Open the Arduino IDE to load the embedded code for AFE4490 Oximeter Shield.

b. Click on File -> Open and Browse the .ino code for Arduino from AFE4490_Oximeter-masterLibrariesProcessing_sketchIR_RED and export the application to Arduino.

4. Open Processing & launch the ces_view_oximeter

a. If Processing IDE was open, close it and reopen to refresh the libraries and sketches. The repositories are not refreshed if the IDE was open while the Sketches and Libraries were being updated.

b. Double-click any of the .pde files in the ces_view_oximeter directory to open all of the pulse oximeter code in the Processing IDE.

c. If everything done so far was good, clicking the "run" button on the top left corner of the IDE, should run the code! If it does not, make sure you installed your libraries correctly.

d. Once the GUI is running, select the port connect with pulse oximeter shield from the "SELECT PORT" dropdown as shown in the figure below ![Port Selection]

e. Once the port selection is appropriate the START button gets enabled. Click "START" to initiate visualization

f. You should see the PPG ( RED and IR) waves generated with the values obtained from the AFE4400 Oximeter Shield Breakout Board as shown below. ![PPG Wave Form in Processing]

License Information

This product is open source! Please use, reuse, and modify these files as you see fit. Please maintain attribution to Protocentral and release anything derivative under the same license.


Schematics, designs and software including Arduino libraries can be downloaded from Github:

Example PPG display in Brainbay:

Example calculated SpO2 display through a serial terminal




Created by


Are you Protocentral? Claim this project and add it to your profile.

This is mine

Posted by

Images ic1i5cbnki
Archana Vijayan
  • 2 projects

Additional contributors

  • Medical devices by Protocentral

Published on

September 8, 2016

Members who respect this project

Vaq2ri28nutcdwqcvzyzDefaultWhatsapp%20image%202016 09 19%20at%2011.22.51%20am8q2onx3csnohmhop4fmp
See similar projects
you might like

Similar projects you might like

Using the MAX30100 wearable pulse sensor with Arduino

Project tutorial by Team Protocentral

  • 21 respects

ATtiny85 Pulse Oximeter and Photoplethysmograph

Project in progress by Jeff Magee

  • 69 respects

Send and Receive Text Messages (SMS) with GSM SIM900 Shield

Project tutorial by Boian Mitov

  • 40 respects

Get Notified by Email and SMS When Your Pulse Is Abnormal

Project tutorial by Aghosh B Prasad

  • 17 respects

Connect to Blynk using ESP8266 as Arduino Uno wifi shield

Project tutorial by Nolan Mathews

  • 62 respects
Add projectSign up / Login