TOP Contributors

  1. MIKROE (2663 codes)
  2. Alcides Ramos (358 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 (137076 times)
  2. FAT32 Library (70222 times)
  3. Network Ethernet Library (56094 times)
  4. USB Device Library (46407 times)
  5. Network WiFi Library (42028 times)
  6. FT800 Library (41372 times)
  7. GSM click (29109 times)
  8. mikroSDK (26551 times)
  9. PID Library (26487 times)
  10. microSD click (25483 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 9 click

Rating:

5

Author: MIKROE

Last Updated: 2019-11-29

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Biometrics

Downloaded: 2612 times

Not followed.

License: MIT license  

The Heart Rate 9 click is a Click boardâ„¢ which features PIC16F1779 8-bit MCU and SFH 7060 heart rate and pulse oximetry monitoring sensor. This Click boar employs a very sensitive analog front-end IC with high dynamic range, which ensures accurate and reliable readings.

No Abuse Reported

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

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

Do you want to report abuse regarding "Heart Rate 9 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 9 click

Heart Rate 9 click

Native view of the Heart Rate 9 click board.

View full image
Heart Rate 9 click

Heart Rate 9 click

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

View full image

Library Description

Initializes and defines UART bus driver, and defines driver's functions for reading Heart Rate data uses Heart Rate 9 clicks.

Key functions:

  • uint8_t heartrate9_read_byte() - Read Single Byte
  • uint8_t heartrate9_byte_ready() - Check for new byte received/li>

Examples description

The application is composed of three sections :

  • System Initialization - Initializes UART module
  • Application Initialization - Initializes Driver init and logs instructions on commands and format of response data
  • Application Task - Waits for valid user input and executes functions based on set of valid commands
void applicationTask()
{
    char hr9_rx_data;
    char console_rx_data;
    
    uint8_t hr9_drdy_flag;
    uint8_t console_drdy;

    console_drdy = UART_Rdy_Ptr( );

    if ( console_drdy != 0 )
    {
        console_rx_data = UART_Rd_Ptr( );
        
        if ( ( console_rx_data == 's' ) || ( console_rx_data == 'S' ) )
        {
            mikrobus_logWrite( " >> [s or S] - START << ", _LOG_LINE );
            start_app_flag = 1;
        }
        
		if ( ( console_rx_data == 'b' ) || ( console_rx_data == 'B' ) )
        {
            mikrobus_logWrite( " >> [b or B] - BREAK << ", _LOG_LINE );
            start_app_flag = 0;
        }
        
		if ( ( console_rx_data == 'h' ) || ( console_rx_data == 'H' ) )
        {
            mikrobus_logWrite( " >> [h or H] - HELP << ", _LOG_LINE );
            heartrate9_help( );
        }
    }
    
    if ( start_app_flag == 1 )
    {
        hr9_drdy_flag = heartrate9_byte_ready( );

        if ( 1 == hr9_drdy_flag )
        {
            hr9_rx_data = heartrate9_read_byte( );
            mikrobus_logWrite( &hr9_rx_data, _LOG_BYTE );
        }
    }
}


Commands : 'S or s' - Start logging 'B or s' - Break logging 'H or h' - Help

Additional Functions :

  • void heartrate9_help() - commands and response data help

Other mikroE Libraries used in the example:

  • UART

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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

Silent Step 4 click

0

Silent Step 4 Click is a compact add-on board representing a completely integrated step motor driver solution. This board features the TMC2240, a smart integrated stepper driver from Analog Devices. The driver is based on a 256 micro-steps built-in indexer, two fully integrated H-Bridges, and non-dissipative integrated current sensing (ICS). The two H-Bridges can drive motors of up to 36V and 3A at max.

[Learn More]

ADC 6 click

0

ADC 6 click is an advanced 24bit multichannel analog to digital converter (ADC), with 8 fully differential or 15 single ended/pseudo differential sampling inputs, and very flexible routing capabilities. The click board has two 2x10 pin headers, used both to configure the device and connect the input channels.

[Learn More]

NDIR CO2 click

0

NDIR CO2 click is an advanced integrated CO2 gas sensor system, which is able to measure an absolute CO2 concentration, by utilizing the CDM7160 integrated sensor.

[Learn More]