ecg6 2.0.0.0
|
ECG 6 Click is a complete solution for the development of ECG and Heart-Rate (HR) applications. It 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. The ECG 6 Click can be used for application in Fitness Assistant Devices, Wearable Devices, Smartphones, Tablet.
We provide a library for the Ecg6 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 Ecg6 Click driver.
- Initialization function.void ecg6_cfg_setup ( ecg6_cfg_t *cfg );
ECG6_RETVAL ecg6_init ( ecg6_t *ctx, ecg6_cfg_t *cfg );
void ecg6_default_cfg ( ecg6_t *ctx );
- Sends ECG sensor data to SerialPlotvoid ecg6_get_sample_data( ecg6_t *ctx, ecg6_element_t *element, uint8_t num_sample );
static void plot_ecg_data ( uint32_t ecg_data )
static void plot_ppg_data ( uint32_t ir_data, uint32_t red_data )
ECG 6 Click contain integrated electrocardiogram, pulse oximeter, heart rate monitor sensor module.
The demo application is composed of two sections :
Initialize I2C module and all necessary pins. Checking communication accuracy and running default configuration for measurement.
Measures an ECG signal or PPG sensor and draws a graph on a SerialPlot
When using ECG measurement - PPG measurement must be switched off ... Drawing speeds vary for PPG and ECG sensor.
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.