ecg2 2.0.0.0
|
ECG 2 click contains ADS1194 16-bit delta-sigma analog-to-digital converters from Texas Instruments, a built-in programmable gain amplifier (PGA), an internal reference, and an onboard oscillator.
We provide a library for the ECG 2 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 from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for ECG 2 Click driver.
ecg2_cfg_setup
Config Object Initialization function. ecg2_init
Initialization function. ecg2_default_cfg
Click Default Configuration function. ecg2_read_an_pin_value
ECG 2 read AN pin value function. ecg2_send_command
ECG 2 send command function. ecg2_read_channel_data
ECG 2 read data channel function. This is an example that demonstrates the use of the ECG 2 Click board.
The demo application is composed of two sections :
Initializes SPI and UART communication, configures INT pin as INPUT, RST pin as OUTPUT, CS pin as OUTPUT and PWM pin as OUTPUT. Initializes SPI driver, initializes ECG2 click, sends START and RDATAC opcodes.
Captures readings from channel and plots data to serial plotter.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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. UART terminal is available in all MikroElektronika compilers.