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]
Rating:
Author: MIKROE
Last Updated: 2020-04-17
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Biometrics
Downloaded: 3089 times
Not followed.
License: MIT license
The ECG 6 Click is a Click board that features the MAX86150, a Reflective Heart Rate Monitor and Medical-Grade Pulse Oximeter from Maxim Integrated. The Click board contain integrated electrocardiogram, pulse oximeter, heart rate monitor sensor module.
Do you want to subscribe in order to receive notifications regarding "ECG 6 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "ECG 6 click" changes.
Do you want to report abuse regarding "ECG 6 click".
Library Description
The library provides the user with measurements from ECG sensors and PPG sensors. The user has full control of module settings and reads all registers via I2C communication.
Key functions:
void ecg6_get_sample_data( ecg6_element_t *element, uint8_t num_sample )
- Get one sample from FIFOuint8_t ecg6_ppg_default_config ( )
- Default configuration for PPG sensoruint8_t ecg6_ecg_default_config ( )
- Default configuration for ECG sensorExamples description
The application is composed of three sections :
void application_task ( )
{
ecg6_element_t sample;
ecg6_get_sample_data( &sample, 0x00 );
if ( DEMO_EXAMPLE == ECG_EXAMPLE )
{
plot_ecg_data( sample.element_1 );
}
else
{
plot_ppg_data( sample.element_1, sample.element_2 );
}
}
Additional Functions :
Note: When using ECG measurement - PPG measurement must be switched off ... Drawing speeds vary for PPG and ECG sensor.
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.