TOP Contributors

  1. MIKROE (2652 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 (136633 times)
  2. FAT32 Library (69841 times)
  3. Network Ethernet Library (55891 times)
  4. USB Device Library (46227 times)
  5. Network WiFi Library (41863 times)
  6. FT800 Library (41087 times)
  7. GSM click (28945 times)
  8. PID Library (26402 times)
  9. mikroSDK (26317 times)
  10. microSD click (25329 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 3 click

Rating:

4

Author: MIKROE

Last Updated: 2019-07-30

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: Biometrics

Downloaded: 4919 times

Not followed.

License: MIT license  

Heart rate 3 click is a mikroBUS add-on board whose functionality is determined by two components: an OSRAM’s SFH7050 pulse oximetry and heart rate monitoring module, and a TI AFE4404 (analong-front-end) IC specialized for bio-sensing.


No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Heart rate 3 click" changes.

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

Do you want to report abuse regarding "Heart rate 3 click".

  • mikroSDK Library 2.0.0.0
  • Comments (2)
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 3 click back and front pictures.

Heart rate 3 click back and front pictures.

Front and back pictures of Heart rate 3 click.

View full image

Library Description

The library covers all the necessary functions that enables the usage of the Heart rate 4 Click board. It initializes and defines the I2C bus driver and drivers that offer a choice for writing and reading and setting a new value.

Key functions:

  • void heartrate3_defaultConfig() - Function is used to apply the default configuration.
  • uint32_t heartrate3_readLed2ValReg() - Function is used to read from LED2VAL register.
  • uint32_t heartrate3_readAled2ValReg() - Function is used to read from ALED2VAL register.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes I2C module, LOG and GPIO structures, sets INT pin as input and RST and PWM pins as output.
  • Application Initialization - Initalizes I2C driver, applies default settings, and makes an initial log.
  • Application Task - This example demonstrates the use of Heart rate 3 board. It is set in default mode, and reads reflected red, green and ir values and displays the results on USART terminal.
void applicationTask()
{
    led2Val = heartrate3_readLed2ValReg();
    LongToStr( led2Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    aled2Val = heartrate3_readAled2ValReg();
    LongToStr( aled2Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    led1Val = heartrate3_readLed1ValReg();
    LongToStr( led1Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    aled1Val = heartrate3_readAled1ValReg();
    LongToStr( aled1Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    led2Aled2Val = heartrate3_readLed2Aled2ValReg();
    LongToStr( led2Aled2Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    led1Aled1Val = heartrate3_readLed1Aled1ValReg();
    LongToStr( led1Aled1Val, logTxt );
    mikrobus_logWrite( logTxt, _LOG_LINE );

    mikrobus_logWrite( "----------------------", _LOG_LINE );
    Delay_ms( 100 );
}

Other mikroE Libraries used in the example:

  • I2C
  • UART
  • Conversions

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.

Heart rate 3 click

Heart rate 3 click

Heart rate 3 click schematic.

View full image

ALSO FROM THIS AUTHOR

eFuse click

0

Fuse Click is a compact add-on board that contains a programmable electronic power breaker. This board features the STPW12, an integrated electronic power breaker optimized to monitor the input power from STMicroelectronics. Connected in series to the power rail, it can disconnect the electronic circuitry on its output if the power consumption overcomes the programmed limit. The intervention of the protection is communicated to the MCU through a signal on the fault pin. The device can also be enabled/disabled through a dedicated Enable pin with a direct PWM mode, which can be achieved through an external PWM signal.

[Learn More]

Pollution click

0

Pollution click carries the VOC gas sensor and has high sensitivity to organic gases such as methanal (also known as formaldehyde), benzene, alcohol, toluene, etc.

[Learn More]

Load Cell 6 click

0

Load Cell 6 Click is a compact add-on board representing a weigh scale solution. This board features the MAX11270, a high-performance 24-bit delta-sigma ADC that achieves excellent 130dB SNR while dissipating an ultra-low 10mW from Maxim Integrated, now part of Analog Devices. This SPI-configurable ADC sample rates up to 64ksps allow precision DC and AC measurements, with integral non-linearity guaranteed to 4ppm maximum. The MAX11270 offers a 6.5nV/√Hz noise programmable gain amplifier with gain settings between 1x to 128x. Optional buffers are also included to isolate the signal inputs from the switched capacitor sampling network, which allows the MAX11270 to be used with high-impedance sources without compromising the available dynamic range.

[Learn More]