heartrate3
2.0.0.0
|
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.
We provide a library for the HeartRate3 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for HeartRate3 Click driver.
heartrate3_cfg_setup
Config Object Initialization function. heartrate3_init
Initialization function. heartrate3_default_cfg
Click Default Configuration function. heartrate3_check_data_ready
Function is used to check data ready flag. heartrate3_write_data
Function is used to write 32-bit data into register. heartrate3_read_24bit
Function is used to read 24-bit value from register. The demo application shows reflected red, green and ir values.
The demo application is composed of two sections :
Initalizes Click driver, resets the device, applies default settings and makes an initial log.
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.
We recommend using the SerialPlot tool for data visualizing.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
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.