Stand-alone Heart Rate Meter

Summary of Stand-alone Heart Rate Meter


This article outlines building a standalone heart rate meter using the Easy Pulse mikro sensor, mikroElektronika's Clicker 2 for PIC18FJ board, and an OLED W click board. The system reads PPG waveforms via a PIC18F87J50 microcontroller to calculate beats per minute by detecting peaks in the signal.

Parts used in Stand-alone Heart Rate Meter:

  • Easy Pulse mikro sensor
  • Clicker 2 for PIC18FJ board
  • OLED W click board
  • PIC18F87J50 microcontroller
  • mikroBus sockets
  • USB bootloader
  • Source code (mikroC Pro for PIC)
  • HEX file

This instructable describes how to build a stand-alone heart rate meter using Easy Pulse mikro sensor and mikroElektronika‘s clicker 2 for PIC18FJ board. An OLED W click board is also used to display the heart beat rate in beats per minute (BPM). The above figure shows all the things you would need to build this project.

https://youtu.be/XSP30JYRGPQ

Step 1: Setup, Firmware, and Output

https://youtu.be/XSP30JYRGPQ

The clicker 2 development board features Microchip’s powerful 8-bit PIC18F87J50 microcontroller, preprogrammed with an USB bootloader, and two mikroBus sockets to receive add-on boards. For this demo project, the OLED W click board is inserted into socket 1 and Easy Pulse mikro to socket 2, as shown below.

The firmware for this project can be downloaded from the following link. It contains both the source code (written in mikroC Pro for PIC) and HEX file.
Clicker2_PulseMeter_EasyPulse_Firmware

The flow diagram shown here describes how the pulse rate is computed from the PPG waveform. The PIC microcontroller reads in 600 analog samples of the PPG waveform at 5 millisecond sampling interval and finds three consecutive peaks in the PPG waveform. The pulse rate can then be computed from the time interval between any two successive peaks.

Source: Stand-alone Heart Rate Meter

Quick Solutions to Questions related to Stand-alone Heart Rate Meter:

  • What components are needed to build this project?
    You need an Easy Pulse mikro sensor, a Clicker 2 for PIC18FJ board, and an OLED W click board.
  • How does the system display the heart beat rate?
    The OLED W click board displays the heart beat rate in beats per minute (BPM).
  • Which microcontroller is used in the Clicker 2 board?
    The board features Microchip's powerful 8-bit PIC18F87J50 microcontroller.
  • Where should the boards be inserted on the development kit?
    The OLED W click board is inserted into socket 1 and the Easy Pulse mikro into socket 2.
  • How many analog samples does the microcontroller read?
    The PIC microcontroller reads in 600 analog samples of the PPG waveform.
  • At what interval are the samples taken?
    The samples are taken at a 5 millisecond sampling interval.
  • How is the pulse rate computed from the waveform?
    The system finds three consecutive peaks in the PPG waveform and computes the rate from the time interval between successive peaks.
  • Can I download the firmware for this project?
    Yes, the firmware containing source code and HEX files can be downloaded from the provided link.

About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.