Power supply source (9V DC wall adapter or battery with a clip)
Besides, a USB cable (not shown in the picture above) is also required to upload the firmware from PC to the Uno32 board.Where to Buy Easy Pulse Sensor?US customers buy here
The OLED display on the Basic I/O Shield is driven through SPI interface. This requires the JP4 jumper on chipKIT Uno32 board be placed on the RG9 position so that the SPI SS function is available on Pin 10. Read our tutorial Exploring the chipKIT Uno32 for more details on jumper functions and settings on the Uno32 board. The following picture shows the required jumper settings on Uno32 board for this project.
Now plugin the Basic I/O shield on top of the Uno32 board and connect the Easy Pulse sensor power supply and the analog PPG output pins to the I/O shield as shown in the following figure.
The Easy Pulse board is powered with 3.3V power supply from the I/O board header pins. The analog pulse output from Easy Pulse is connected to analog pin A1 of Uno32 through headers available on the I/O shield. The analog pin A0 of Uno32 may not be used for feeding Easy Pulse output because it is already hard-wired to the potentiometer output on the I/O shield. The following picture shows the complete setup of this project.
Project sketchThe firmware of this project is based on the same algorithm as used in out previous project PC-based heart rate monitor. The algorithm used by the PC application before is now implemented in the firmware of Uno32. The following flowchart shows the algorithm used to compute the pulse rate. For more detail on this algorithm, visit the PC-based heart rate monitor project.
The PPG waveform and the pulse rate (in beats per minute, BPM) are both displayed on the OLED screen of the I/O shield. The Uno32 sketch uses the chipKIT I/O Shield library to display data on the OLED. The complete sketch along with the required library routines is available for download through the following link.
Unzip the downloaded sketch folder and upload the sketch named P3_Uno32_PulseMeter.pde to the Uno32 board.
Demonstration
Sensor unplugged
PPG waveform and Pulse Rate displayed on the OLED screen
After the sketch is uploaded, power the Uno32 board through a DC wall adapter or any other external power supply that could be used to power the Uno32 board. Using USB power source is not recommended as some USB ports do not supply enough current for Easy Pulse sensor, in which case the performance of the sensor would be poor. When the sensor is unplugged, the range of ADC would not exceed 50 counts (described in the algorithm) and the pulse meter displays “No Pulse Signal” message on the OLED screen as shown below.Now wear the Easy Pulse sensor on a finger tip and adjust the P1 potentiometer on the Easy Pulse to 1/4th position from left. The PPG waveform and the pulse rate should now display on the screen. The screen is refreshed in every 3 seconds. If the PPG signal appears clipped at the peak values, consider decreasing the gain of the filter circuit on the Easy Pulse board. This can be done by rotating the P1 potentiometer counterclockwise. Similarly, if you see the “No Pulse Signal” message even after wearing the sensor, you should consider increasing the gain by slightly turning the potentiometer clockwise. Read the Easy Pulse document for more details on the function of P1 and P2 potentiometers of Easy Pulse.
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.