TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 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 (136646 times)
  2. FAT32 Library (69857 times)
  3. Network Ethernet Library (55899 times)
  4. USB Device Library (46236 times)
  5. Network WiFi Library (41869 times)
  6. FT800 Library (41097 times)
  7. GSM click (28953 times)
  8. PID Library (26403 times)
  9. mikroSDK (26321 times)
  10. microSD click (25334 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: 4399 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

6DOF IMU 10 click

0

6DOF IMU 10 Click is a 6 Degrees-of-Freedom inertial sensor module, that features KMX62 sensor whcih consist of tri-axial magnetometer (range ±2g / ±4g / ±8g / ±16g) plus a triaxial accelerometer (±1200µT).

[Learn More]

nvSRAM 2 click

5

nvSRAM 2 Click is a compact add-on board that contains the most reliable nonvolatile memory. This board features the CY14B101Q, a 1Mbit nvSRAM organized as 128K words of 8 bits each with a nonvolatile element in each memory cell from Cypress Semiconductor.

[Learn More]

LED Driver 15 click

0

LED Driver 15 Click is a compact add-on board that simplifies the control of multiple LEDs. This board features the MP3309C, a fully integrated synchronous boost white LED driver with an I2C interface from Monolithic Power Systems. The MP3309C offers high efficiency, delivers up to 40mA of LED current, and operates from a voltage of mikroBUS™ power rails, supporting up to 8 white LEDs in series. It also features a programmable switching frequency to optimize efficiency, supports analog and PWM dimming, and has multiple built-in protection functions that protect the circuit during abnormalities.

[Learn More]