ecg4 2.0.0.0
|
ECG 4 Click is a complete solution for the development of ECG and Heart-Rate (HR) applications, based on the BMD101, a specialized bio-signal sensing System-on-Chip (SoC).
We provide a library for the Ecg4 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 Ecg4 Click driver.
- Initialization function.void ecg4_cfg_setup ( ecg4_cfg_t *cfg );
ECG4_RETVAL ecg4_init ( ecg4_t *ctx, ecg4_cfg_t *cfg );
void ecg4_module_reset ( ecg4_t *ctx );
- Function powers up or down control of LDO (Low Drop Out).
void ecg4_enable_ldo_ctrl ( ecg4_t *ctx, uint8_t state );
int32_t ecg4_generic_read ( ecg4_t *ctx, char *data_buf, uint16_t max_len );
This example reads and processes data from ECG 4 clicks.
The demo application is composed of two sections :
Initializes the driver, sets the driver handler and enables the click board.
Reads the received data and parses it on the USB UART if the response buffer is ready.
Use the Serial Plot application for data plotting.
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.