{"product_id":"mikroe-3427","title":"ECG 4 Click","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNote: ECG 4 is a development and prototyping tool. It is not intended to be used for medical treatment of patients and other life-critical applications!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe BMD101 SoC integrates all the necessary components, so there are very few external parts required. An analog front-end section of the BMD101 SoC features an HP filter, a 16-bit A\/D converter, and a low-noise amplifier (LNA), allowing it to properly sample bio-signals, which are in magnitudes of µV. The raw data is further processed by powerful filtering DSPs, allowing clean and accurate HR and ECG readings over the UART interface. This makes the ECG 4 click an ideal solution for development of a wide range of single-channel ECG and HR-related applications, including heart rate monitoring applications, fitness applications, ECG bio-authentication, and similar.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWhat is ECG?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eECG or the electrocardiography is a process of recording the electrical activity of the heart over time, using electrodes placed on the body. These electrodes detect small electrical changes that arise from the electrophysiological pattern of the heart muscle. ECG 4 click is used to record a single-channel electrocardiogram. The electrodes can be attached to the ECG 4 click via the 3.5mm jack. The ECG 4 click uses a three-electrode system, where two electrodes are connected to the positive and negative differential inputs of the BMD101 (SEP and SEN pins), while the third electrode is connected to the GND. The Click board™ can be used with electrodes such as these: \u003ca href=\"https:\/\/www.mikroe.com\/ecg-cable\" target=\"_blank\"\u003eECG\/EMG cable\u003c\/a\u003e, and \u003ca href=\"https:\/\/www.mikroe.com\/ecg-30pcs\" target=\"_blank\"\u003eECG\/EMG electrodes\u003c\/a\u003e. In this case, the white electrode is the GND electrode. You can watch a \u003ca href=\"https:\/\/www.youtube.com\/watch?v=l15Yw2S4Veo\" target=\"_blank\"\u003evideo\u003c\/a\u003e about the electrodes and their placement, or read about it in this \u003ca href=\"https:\/\/www.mikroe.com\/blog\/ecg-click-mikroplot-complete-solution-human-heart-data-analysis\" target=\"_blank\"\u003eLet’s learn blog article\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHow does it work?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe main component of the ECG4 click is the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/BMD101.pdf\" target=\"_blank\"\u003eBMD101\u003c\/a\u003e, a highly integrated specialized bio-signal sensing System-on-Chip (SoC), from \u003ca href=\"http:\/\/neurosky.com\/\" target=\"_blank\"\u003eNeuroSky\u003c\/a\u003e, a company specialized in the production of heart monitoring-related ICs and applications. This IC is the third generation of bio-sensors from this company and it features the complete HR and ECG system on a chip: the analog front-end (AFE) section contains very precise and low-noise instrumentation amplifier (LNA), which allows very low bio-signals generated by the heart to be amplified enough for the 16-bit ADC to be able to sample them.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/www.mikroe.com\/img\/images\/ECG-4-click-inner-img.jpg\" alt=\"Mikroe Sensors ECG 4 Click\"\u003e\u003c\/p\u003e\n\u003cp\u003eThese voltage impulses are weak by nature and in the range of just a few millivolts, even microvolts. Therefore, any external interferences might obscure them. These interferences might be induced in the human body itself, or they might appear as the result of the activity of other muscles, such as skeletal muscles. Therefore, the input signal from the electrodes is processed by several filtering sections, both in the analog (HP filter at the input), and digital domain (LP filter at 100 Hz and BP filter for removing the 50\/60 Hz hum from the mains). However, the correct placement of the measurement electrodes is crucial for accurate readings. More about the electrodes and their placement can be found in the aforementioned blog article.\u003c\/p\u003e\n\u003cp\u003eECG 4 click allows several types of electrodes to be used. It supports both stainless-steel and silver-chloride electrode types. The electrodes are used to perform differential measurement of the voltage generated by the heart. Therefore, the heart can be monitored from a single plane only - the coronal plane. However, this is quite enough for the fitness, heart rate monitoring and similar applications. The 3.5mm electrodes connector is further protected by two TVS diodes, which prevent electrostatic discharge (ESD) through the SoC, and the Click board™ itself. The absence of the electrodes is detectable by the BMD101, which turns the sensor OFF if there is approximately 19 to 25 M? between the electrodes.\u003c\/p\u003e\n\u003cp\u003eThe BMD101 SoC uses the UART interface for the communication. The UART interface works at 57600 baud rate and has 64 bytes of TX FIFO. It uses the 8-1-1 configuration (1 start bit, 8 data bits, 1 stop bit), allowing communication beyond the host microcontroller. The UART interface could be used with any of the USB to UART clicks, allowing the PC or smartphone to process and display the HR and ECG data. More information about the UART interface can be found in the datasheet of the BMD101 SoC. However, provided mikroSDK library offers ready-made functions which speed up the software development process.\u003c\/p\u003e\n\u003cp\u003eThere is a CS pin on the BMD101 SoC, which is routed to the CS pin of the mikroBUS™. This pin should be set to a HIGH logic level in order to activate the internal power supply. The RESET pin is routed to the mikroBUS™ RST pin. Setting it to a LOW logic level will trigger a RESET of the BMD101.\u003c\/p\u003e\n\u003cp\u003eThis Click board™ is designed to be interfaced with 3.3V MCUs. A proper voltage translator circuit is required if using it with 5V MCUs.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eType\u003c\/td\u003e\n\u003ctd\u003eBiomedical\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eApplications\u003c\/td\u003e\n\u003ctd\u003eECG 4 click is an ideal solution for development of heart rate monitoring applications, fitness applications, for the ECG bio-authentication, and similar applications.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOn-board modules\u003c\/td\u003e\n\u003ctd\u003eBMD101, a highly integrated specialized bio-signal sensing System-on-Chip (SoC), from NeuroSky.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003eESD and EMI protection of the inputs, compatible with several types of electrodes, electrode absence detection, a flexible UART-based interface, signal conditioning reduces influence of movement artifacts, simplified design with the complete bio-sensing System-on-Chip (SoC).\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eUART\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eClick board size\u003c\/td\u003e\n\u003ctd\u003eM (42.9 x 25.4 mm)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003ePinout Diagram\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eECG 4 Click\u003c\/strong\u003e corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\u003ctable style=\"width: 549px;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth colspan=\"4\"\u003e\u003ca href=\"http:\/\/www.mikroe.com\/mikrobus\/\"\u003e\u003cimg src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" alt=\"Mikrobus logo.png\"\u003e\u003c\/a\u003e\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eAN\u003c\/td\u003e\n\u003ctd\u003ePWM\u003c\/td\u003e\n\u003ctd\u003e16\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eChip Reset\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eRST\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003eRST\u003c\/td\u003e\n\u003ctd\u003eINT\u003c\/td\u003e\n\u003ctd\u003e15\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eChip Enable\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eCS\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3\u003c\/td\u003e\n\u003ctd\u003eCS\u003c\/td\u003e\n\u003ctd\u003eRX\u003c\/td\u003e\n\u003ctd\u003e14\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eTX\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eUART Transmit\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e4\u003c\/td\u003e\n\u003ctd\u003eSCK\u003c\/td\u003e\n\u003ctd\u003eTX\u003c\/td\u003e\n\u003ctd\u003e13\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eRX\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eUART Receive\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003ctd\u003eMISO\u003c\/td\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003e12\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e6\u003c\/td\u003e\n\u003ctd\u003eMOSI\u003c\/td\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003e11\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower Supply\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e3.3V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e7\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e Ground\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003e9\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eOnboard Settings And Indicators\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eLabel\u003c\/th\u003e\n\u003cth\u003eName\u003c\/th\u003e\n\u003cth\u003eDefault\u003c\/th\u003e\n\u003cth\u003e Description\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePWR\u003c\/td\u003e\n\u003ctd\u003ePWR\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003ePower LED indicator\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCN1\u003c\/td\u003e\n\u003ctd\u003e3.5mm JACK\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e3.5mm electrodes connector\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eSoftware Support\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWe provide a library for the \u003cstrong\u003eECG 4 Click\u003c\/strong\u003e on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2712\/ecg-4-click\" target=\"_blank\"\u003eLibStock\u003c\/a\u003e page, as well as a demo application (example), developed using MikroElektronika \u003ca href=\"https:\/\/www.mikroe.com\/compilers\" target=\"_blank\"\u003ecompilers\u003c\/a\u003e. The demo can run on all the main MikroElektronika \u003ca href=\"http:\/\/shop.mikroe.com\/development-boards\" target=\"_blank\"\u003edevelopment boards\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLibrary Description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe library performs the ECG and Real-time Heart Rate measurements. For more details check documentation..\u003c\/p\u003e\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003evoid ecg4_response_handler_set( void ( *handler )( uint8_t*, uint8_t*, uint8_t*, uint8_t* ) )\u003c\/code\u003e - Function sets handler on the function that should be performed, for example, function for results logging.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid ecg4_uart_isr( void )\u003c\/code\u003e - Function performs the uart interrupt routine, reads a data from uart rx buffer and makes a response from the BMD101 device.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003eT_ECG4_RETVAL ecg4_responseReady( void )\u003c\/code\u003e - Function returns 1 when response is ready for reading, or 0 if is not ready.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eExamples description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe application is composed of the three sections :\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSystem Initialization - Initializes peripherals and pins.\u003c\/li\u003e\n\u003cli\u003eApplication Initialization - Initializes UART interface, performs a reset of the device and powers up control of Low Drop Out (LDO).\u003c\/li\u003e\n\u003cli\u003eApplication Task - (code snippet) - Always checks does response ready and, when is ready, processes a response. Note : The Sound library is used to play sound on buzzer every time when R interval on the ECG signal happened. The Sound Play command can make a delay time which is necessary for play command to be performed. If you don't need to make sound on buzzer, please disable the Sound Init and Sound Play functions.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cpre\u003evoid applicationTask()\n{\nresp_ready = ecg4_responseReady();\n\nif (resp_ready == _ECG4_RESPONSE_READY)\n{\nprocessResponse();\n}\n}\n\n\u003c\/pre\u003e\n\u003cp\u003eAdditional Functions :\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003einterrupt - Always checks does new data ready for reading from uart rx buffer, and if is it true reads one byte data from uart and makes a response sequence.\u003c\/li\u003e\n\u003cli\u003eplotData - Sends a desired data (Raw Data) to the serial plotter.\u003c\/li\u003e\n\u003cli\u003elogData - Sends data to the uart terminal and shows results.\u003c\/li\u003e\n\u003cli\u003emakeResponse - Pars a response to the buffer.\u003c\/li\u003e\n\u003cli\u003eprocessResponse - Processes a parsed response and makes a decide where response will be showed.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe full application code, and ready to use projects can be found on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2712\/ecg-4-click\" target=\"_blank\"\u003eLibStock\u003c\/a\u003e page.\u003c\/p\u003e\n\u003cp\u003eOther mikroE Libraries used in the example:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ccode\u003eConversions\u003c\/code\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ccode\u003eUART\u003c\/code\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ccode\u003eSound\u003c\/code\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eAdditional notes and informations\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eDepending on the development board you are using, you may need \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-click\" target=\"_blank\"\u003eUSB UART click\u003c\/a\u003e, \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-2-click\" target=\"_blank\"\u003eUSB UART 2 click\u003c\/a\u003e or \u003ca href=\"https:\/\/shop.mikroe.com\/rs232-click\" target=\"_blank\"\u003eRS232 click\u003c\/a\u003e to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika \u003ca href=\"https:\/\/shop.mikroe.com\/compilers\" target=\"_blank\"\u003ecompilers\u003c\/a\u003e, or any other terminal application of your choice, can be used to read the message.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eMIKROSDK\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis click board is supported with \u003ca href=\"https:\/\/www.mikroe.com\/mikrosdk\"\u003emikroSDK\u003c\/a\u003e - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2249\/mikrosdk\"\u003eLibStock\u003c\/a\u003e and installed for the compiler you are using.\u003cbr\u003e \u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400895545627,"sku":"MIKROE-3427","price":3679.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/ecg-4-click-large_default-22xtpJexCp4A5J97.jpg?v=1701962910","url":"https:\/\/mgsl.in\/products\/mikroe-3427","provider":"MG Super Labs","version":"1.0","type":"link"}