TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136875 times)
  2. FAT32 Library (70000 times)
  3. Network Ethernet Library (55999 times)
  4. USB Device Library (46305 times)
  5. Network WiFi Library (41923 times)
  6. FT800 Library (41206 times)
  7. GSM click (29012 times)
  8. PID Library (26423 times)
  9. mikroSDK (26396 times)
  10. microSD click (25386 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

Heart Rate 5 click

Rating:

5

Author: MIKROE

Last Updated: 2018-05-17

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Biometrics

Downloaded: 4411 times

Not followed.

License: MIT license  

Heart Rate 5 click is the optical biosensor Click board which can be used for the heart-rate monitoring (HRM), as well as the peripheral capillary oxygen saturation monitoring (SpO2).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Heart Rate 5 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Heart Rate 5 click" changes.

Do you want to report abuse regarding "Heart Rate 5 click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Heart Rate 5 click

Heart Rate 5 click

Native view of the Heart Rate 5 click board.

View full image
Heart Rate 5 click

Heart Rate 5 click

Front and back view of the Heart Rate 5 click board.

View full image

Library Description

The library provides generic functions for communicating with the Click board.

Key functions:

  • void heartrate5_hwReset() - Function for doing a hardware reset on a click board.
  • void heartrate5_init() - Initializes the click board for communication.
  • uint32_t heartrate5_getLed2_aled2val(void) - Test if the finger is placed on the sensor.
  • uint32_t heartrate5_getAled1val(void) -  Get the raw pulse analog value that will be displayed on MikroPlot.

Examples Description

The demo application is composed of three sections:

  • System Initialization - Initializes GPIO, I2C and log structures.
  • Application Initialization - Configures the micro controller for communication and initializes the click board. Also the start signal is sent to the MikroPlot application.
  • Application Task - This section shows how the data is processed and sent to the MikroPlot application.
     
void applicationTask()
{
 uint32_t sensorValue;

 if(heartrate5_getLed2_aled2val() < 10)
 {
 if(flag==1)
 {
 sensorValue=heartrate5_getAled1val();
 mikroPlot(ms_counter,sensorValue);
 flag=0;
 }
 }
 else
 {
 ms_counter=0;
 }
}

Additional functions:

  • void mikroPlot(uint32_t ms_count, uint32_t measurement) - Functions that prepares and sends data to the MikroPlot application.

mikroE Libraries used in the example:

  • Conversions Library
  • C_String Library
  • I2C Library
  • UART Library

Additional notes and information

Depending on the development board you are using, you may need USB UART click,  USB UART 2 click or  RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

Environment 3 click

0

Environment 3 Click is a compact add-on board that contains a four-in-one environmental measurement solution. This board features BME688, a first gas sensor with Artificial Intelligence (AI), and integrated high-linearity/high-accuracy pressure, humidity, and temperature sensors from Bosch Sensortech. The BME688 can detect Volatile Organic Compounds (VOCs), Volatile Sulfur Compounds (VSCs), and other gases such as carbon monoxide and hydrogen in part per billion (ppb) range. It provides absolute temperature accuracy, typical of ±1°C, and best performance when operated within the pressure, temperature, and humidity range of 300-110hPa, 0-65°C, and 10-90%RH.

[Learn More]

EasyPIC6 Examples

5

Examples for EasyPIC 6 development system

[Learn More]

DAC 7 click

0

DAC 7 click carries the AD5624R 12-bit buffered Digital-to-Analog Converter that converts digital value to the corresponding voltage level using external voltage reference.

[Learn More]