{"product_id":"mikroe-3273","title":"ECG 3 Click","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eA high DC offset range allows it to be used with various electrodes, while the interrupt-based heart rate detection eliminates the need for the detection algorithm on the host MCU. A very high input impedance, coupled with the low-pass and high-pass filter options, allows user-adjustable tolerance vs accuracy factor. Embedded R-to-R detection and ECG functionalities simplify the firmware development.\u003c\/p\u003e\n\u003cp\u003eThe inputs of the biopotential channel of the MAX30003 AFE IC are protected against the electrostatic discharge (ESD) and filtered against electromagnetic interferences (EMI), primarily generated by AC mains. Sequential power-up procedure reduces the inrush current through the electrodes, while fast recovery combined with the DC coupling helps to handle large voltage offsets between electrodes after the electrosurgery or defibrillation conditions occur.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNote: ECG 3 is a development and prototyping tool. It is not intended to be used for a medical treatment of patients and other life-critical applications!\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHow does it work?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eECG 3 click is equipped with the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/add-on-boards\/click\/ecg-3\/MAX30003.pdf\"\u003eMAX30003\u003c\/a\u003e IC, an ultra-low power, single channel, integrated biopotential AFE, with the ECG and R-to-R detection functionality, from \u003ca href=\"https:\/\/www.maximintegrated.com\/en.html\"\u003eMaxim Integrated\u003c\/a\u003e. To better understand the working principles of the ECG 3 click, some knowledge about how the heart works is required. There is a useful \u003ca href=\"https:\/\/www.mikroe.com\/blog\/ecg-click-mikroplot-complete-solution-human-heart-data-analysis\"\u003elearning article\u003c\/a\u003e about ECG monitoring, which can be a good starting point.\u003c\/p\u003e\n\u003cp\u003e\u003cimg style=\"border: 0px; height: auto; line-height: inherit; vertical-align: middle;\" src=\"https:\/\/www.mikroe.com\/img\/images\/ecg-3-click-inner-img.jpg\" alt=\"ECG 3 Click\"\u003e\u003c\/p\u003e\n\u003cp\u003eElectrocardiography is the process of recording the electrical activity of the heart over a period of time, using electrodes placed on the body. These electrodes detect the small electrical changes that arise from the electrophysiological pattern of the heart muscle. ECG 3 click is used to record a single-channel electrocardiogram. The electrodes can be attached to the ECG 3 click via the 3.5mm jack. The ECG 3 uses the three-electrode system, where two electrodes are connected to the positive and negative end of the differential input of the MAX30003 (ECGP and ECGN pins), while the third electrode is connected to the GND. The Click board™ can be used with the cable and electrodes such as these: \u003ca href=\"https:\/\/www.mikroe.com\/ecg-cable\"\u003eECG\/EMG cable\u003c\/a\u003e, and \u003ca href=\"https:\/\/www.mikroe.com\/ecg-30pcs\"\u003eECG\/EMG electrodes\u003c\/a\u003e. In this case, the white electrode is the GND electrode.\u003c\/p\u003e\n\u003cp\u003eThese voltage impulses are weak by nature and in the range of just a few millivolts. Therefore, any interferences might obscure them, making them undetectable. 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. The MAX30003 is armed with several methods to reduce these interferences. However, the placement of the measurement electrodes is also crucial for the accurate readings. More about the electrodes and their placement can be found in the aforementioned\u003ca href=\"https:\/\/www.mikroe.com\/blog\/ecg-click-mikroplot-complete-solution-human-heart-data-analysis\"\u003e \u003cspan style=\"text-decoration: underline;\"\u003elearning article\u003c\/span\u003e\u003c\/a\u003e\u003cem\u003e\u003cspan style=\"text-decoration: underline;\"\u003e.\u003c\/span\u003e\u003c\/em\u003e\u003c\/p\u003e\n\u003cp\u003eThe MAX30003 IC has two differential inputs which comprise a single ECG channel. 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. All the mentioned features are mostly related to the conditioning of the input signal and protecting the IC from voltage surges, so several types of electrodes can be used. The inputs are equipped with a single-pole, high-pass (HP) EMI filter, with the cutoff frequency set to 2MHz, as the first line of defense against the interferences. A set of integrated clamping diodes prevent the ESD surges to reach the IC and damage it. The inputs are connected with the electrodes over the protective serial switches, which are disabled by default. When developing own application, a care should be taken to turn these switches ON. However, the mikroSDK library functions included with the Click board™ take care about the proper configuring and initialization.\u003c\/p\u003e\n\u003cp\u003eThe differential inputs are further amplified by an integrated low-noise, high-impedance instrumentation amplifier (IA) with the fixed gain. The IA section features yet another HP filter which helps to reject movement artifacts, which are generated by skeletal muscles. Depending on the application requirements, higher cutoff frequency will result with less accurate ECG signal, but the effects of the motion artifacts will be reduced even more. This frequency is determined by a capacitor between CAPP and CAPN pins of the MAX30003 IC, which is about 0.04Hz with the 1uF capacitor used on the ECG 3 click. The recommended range for the HP cutoff frequency is from 0.04Hz up to 4.4Hz.\u003c\/p\u003e\n\u003cp\u003eFollowing the IA section, the MAX30003 incorporates the two-pole low-pass anti-aliasing (LP) filter, with the cutoff frequency at 600Hz, which ensures good sampling quality. The programmable gain amplifier is the next section in the signal chain, allowing optimal signal amplitudes to reach the next stage - the sigma-delta 18-bit A\/D converter, which ultimately generates the heart rate readings over the SPI interface.\u003c\/p\u003e\n\u003cp\u003eOther features of the MAX30003 IC include the self-testing programmable voltage sources and no leads detection. One of the key features of the AFE is the R - R interval detection. R-wave is a part of the heart rate signal, which has the highest peak. The distance between the two peaks is closely related to the heart rate and can give a good insight into the shape of the R-wave when no plot is available. Closely matched R - R and BPM values indicate that R waves are quite sharp, without irregularities. Also, the BMP (beats per minute) is an average value, while the R - R interval represents the timing between two peaks.\u003c\/p\u003e\n\u003cp\u003eThe extensive interrupt engine can be used to trigger the host MCU from various sources, including interrupt events due to lead detection, R-R detection, fast-recovery event, FIFO buffer states, and many more. These interrupt sources can be utilized to trigger a state change on the interrupt pin (INTB) of the MAX30003 IC. This pin is active-low.\u003c\/p\u003e\n\u003cp\u003eThe MAX30003 IC requires a clock signal, which is provided by the onboard oscillator. The frequency of the oscillator is 32.768 kHz. However, the Click board™ accepts the external clock signal, over the PWM pin of the mikroBUS™, which is labeled as CLK. Regarding the voltage levels, there is a TXB0106 IC implemented on the ECG 3 click, allowing it to operate with both 3.3V and 5V MCUs. This IC is a bi-directional voltage level translator from Texas Instruments. It is a proven solution used on many different Click board™ designs, which transforms voltages of the logic signals (SPI, interrupt, clock) to 1.8V-level signals, which is acceptable for the MAX30003 IC. This allows many different MCUs to be interfaced with the ECG 3 click The logic voltage selection can be done with the onboard SMD jumper labeled as PWR SEL, while the clock source can be selected by another SMD jumper, labeled as CLK SEL.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable style=\"line-height: inherit; width: 752px;\"\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 3 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\u003eMAX30003, an ultra-low power, single channel, integrated biopotential AFE, with the ECG and R - R detection, from Maxim Integrated; TBX0106, a bidirectional level translator from Texas Instruments, AP7331, a low dropout linear regulator from Diodes Incorporated\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003eInput ESD and EMI protection, high input impedance allows various electrodes to be used, a very large common mode rejection rate of over 100 dB (CMRR), signal conditioning reduces influence of movement artifacts, can be interfaced with both 3.3V and 5V MCUs\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eSPI\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V,5V\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\u003cstrong\u003ePinout diagram\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eECG 3 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=\"line-height: inherit; width: 752px;\"\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 style=\"border: none; height: auto; line-height: inherit; vertical-align: middle; width: auto;\" 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\u003e\u003cstrong\u003eCLK\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eExternal clock\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\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\u003e\u003cstrong\u003eINT\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eInterrupt\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI chip Select\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\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI Clock\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSCK\u003c\/strong\u003e\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\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSPI Data OUT\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDO\u003c\/strong\u003e\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\u003eSPI Data IN\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDI\u003c\/strong\u003e\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\u003e3V3\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\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGround\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\u003ch3\u003eOnboard Jumpers and Settings\u003c\/h3\u003e\n\u003ctable style=\"line-height: inherit; width: 752px;\" align=\"left\"\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\u003eDescription\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\u003eJP1\u003c\/td\u003e\n\u003ctd\u003ePWR SEL\u003c\/td\u003e\n\u003ctd\u003eLeft\u003c\/td\u003e\n\u003ctd\u003eSDO\/INTB pin mode selection: left position (SDO) - SPI Serial Data OUT on SDO pin, right position (INTB) - interrupt reporting on the INT pin\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eJP2\u003c\/td\u003e\n\u003ctd\u003eCLK SEL\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003eClock source selection: left position - external (EXT), left position - onboard (INT)\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\u003cbr\u003e We provide a library for the ECG 3 click on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2599\/ecg-3-click\"\u003eLibStock\u003c\/a\u003e page, as well as a demo application (example), developed using MikroElektronika \u003ca href=\"http:\/\/shop.mikroe.com\/compilers\"\u003ecompilers\u003c\/a\u003e. The demo can run on all the main MikroElektronika \u003ca href=\"http:\/\/shop.mikroe.com\/development-boards\"\u003edevelopment boards\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLibrary Description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe library can perform a control of the ECG 3 Click board. Offers a choice to check registers, write to the registers, read ECG and RTOR Data. Also, the library performs calculations necessary to get Heart Rate in BPM value, and R - R Data in ms value. For more details check the documentation.\u003c\/p\u003e\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003euint8_t ecg3_writeReg( uint8_t regAddr, uint32_t dataIn )\u003c\/code\u003e - The function writes data to the register.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003euint8_t ecg3_readReg( uint8_t regAddr, uint32_t *dataOut )\u003c\/code\u003e - The function reads data from the register.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid ecg3_getECG( uint32_t *outECG )\u003c\/code\u003e - The function reads ECG data from the FIFO register.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid ecg3_getRTOR( uint16_t *outHR, uint16_t *outRR )\u003c\/code\u003e - The function reads Heart Rate and R - R data and calculates Heart Rate data to BPM, and R - R data to ms.\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 SPI interface and performs the all necessary configuration for the device to work properly.\u003c\/li\u003e\n\u003cli\u003eApplication Task - (code snippet) - Reads ECG Data every 8ms and sends this data to the serial plotter.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cpre\u003evoid applicationTask()\n{\necg3_getECG( \u0026amp;ecgData );\n\nplotECG();\n\n\n}\u003c\/pre\u003e\n\u003cp\u003eAdditional Functions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003evoid plotECG() - Sends ECG Data to the serial plotter.\u003c\/li\u003e\n\u003cli\u003evoid logRTOR() - Sends Heart Rate and R - R Data to the UART terminal.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cbr\u003e The full application code, and ready to use projects can be found on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2599\/ecg-3-click\"\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\u003eSPI\u003c\/code\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ccode\u003eUART\u003c\/code\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eAdditional notes and information\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\"\u003eUSB UART click\u003c\/a\u003e, \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-2-click\"\u003eUSB UART 2 click\u003c\/a\u003eor \u003ca href=\"https:\/\/shop.mikroe.com\/rs232-click\"\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\"\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\u003e \u003c\/strong\u003e\u003c\/p\u003e\n\u003cdiv style=\"margin-left: -15px;\"\u003e \u003c\/div\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400885551387,"sku":"MIKROE-3273","price":4729.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/ecg-3-click-thickbox_default-2dPrM8DqaHxXaM.jpg?v=1701961785","url":"https:\/\/mgsl.in\/products\/mikroe-3273","provider":"MG Super Labs","version":"1.0","type":"link"}