ECG GSR Click Board
ECG GSR Click Board
The ECG/GSR Click Board™ is a compact add-on board representing a complete solution for developing ECG and GSR applications. This board features the AS7030B, a vital sign sensor based on Photoplethysmography (PPG) and Electrocardiogram (ECG) operations from AMS-AG. This vital-sign sensor features a low noise analogue front end, a single device integrated optical solution, a synchronous demodulator, and skin temperature and resistivity measurements by providing an interface to external NTC. This Click Board™ is suitable for remote medical diagnostic equipment applications, such as disposable patches for blood oxygen saturation (SpO2) and electrocardiogram (ECG) measurement.
The ECG/GSR Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
NOTE: the ECG/GSR Click Board™ is a development and prototyping tool. It is not intended to be used for patients' medical treatment and should not be used to diagnose or treat any conditions.
Software Support
We provide a library for the ECG/GSR Click Board™ and a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from compilers IDE(recommended way), downloaded from our LibStock, or found on the mikroE Github account.
Library Description
This library contains an API for the ECG/GSR Click Board™ driver.
Key Functions
void ecg_gsr_cfg_setup ( ecg_gsr_cfg_t *cfg );
- Config Object Initialization function.ecg_gsr_err_t ecg_gsr_init ( ecg_gsr_t *ctx, ecg_gsr_cfg_t *cfg );
- Initialization function.void ecg_gsr_default_cfg ( ecg_gsr_t *ctx );
- Click Default Configuration function.
Example Description
The ECG/GSR Click Board™ is made for PPG, ECG and GSR, equipped with ultra-low power, multi-channel, integrated biopotential AFE and EFE.
ecg_gsr_err_t application_task( void ) { // ------------------------------------------------------------ // Check the presence of the ECG GSR Click by reading device ID. // ------------------------------------------------------------ ecg_gsr_read_dev_id(&ecg_gsr, ECG_GSR_ID_REG, &dev_id , 1); if ( dev_id != ECG_GSR_DEV_ID ) { return ecg_gsr_init_error; } // ------------------------------------------------------------ // Enable desired functionality of the ECG GSR Click. // ------------------------------------------------------------ if ( ecg_gsr_cfg.click_functionality == DEFAULT_ECG_GSR_CLICK_FUNCTIONALITY ) { ecg_gsr_get_oxygen_saturation(); } else if ( ecg_gsr_cfg.click_functionality == ENABLE_HEARTRATE_FUNCTIONALITY ) { ecg_gsr_get_heartrate(); } else if ( ecg_gsr_cfg.click_functionality == ENABLE_GALVANIC_SKIN_RESPONSE_FUNCTIONALITY ) { ecg_gsr_get_galvanic_skin_response(); } else { return ecg_gsr_init_error; } return ecg_gsr_ok; }
The complete application code and ready-to-use projects can be installed directly from compilers IDE(recommended) or found on the LibStock page or MikroE GitHub account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ECG_GSR
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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.
MIKROSDK
The ECG/GSR Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
ECG GSR Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.