{"product_id":"mikroe-3215","title":"Heart rate 6 click","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe photo elements inside the BH1790GLC sensor are located behind the IRCUT filter, which reduces the influence of the IR spectrum of the light. There is a green filter also, narrowing down the green light responsiveness even further, which helps to achieve accurate readings, even by using common green LEDs.\u003c\/p\u003e\n\u003cp\u003eTwo LEDs are driven by the BH1790GLC sensor, which provides a constant, programmable current. The choice of LEDs is not critical at all since the integrated light filters on the sensor allow only a narrow band of green light in the range from 520nm to 560nm with 0.8X reduction in respect to the center frequency (about 540nm). The complete monolithic solution IC with the two constant current LED drivers, narrow pass-band for the green light spectrum, low power consumption, and a high integration ratio that allows a very low number of external components, make the Heart rate 6 click a perfect solution for development of various wearable health-related devices, smartphones, tablets, and similar space-constrained applications.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHeart Rate Monitoring or HRM\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWhile the blood passes through the capillary blood vessels, they expand and dilate. Their light reflectance index changes accordingly. This is the basis of the photo-plethysmogram (PPM), a method used for the volumetric measurement of an organ, or in this case - blood vessels. The heart rate signal is calculated according to the changes of the reflected green light, sensed by the PD element. The Heart Rate 6 click can provide the HRM readings by simply placing the index finger over the optical sensor.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHow does it work?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eHeart rate 6 click is equipped with the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/BH1790GLC.pdf\"\u003eBH1790GLC\u003c\/a\u003e, a monolithic integrated sensor for heart rate monitoring, from \u003ca href=\"http:\/\/rohm.com\/\"\u003eROHM Semiconductor company\u003c\/a\u003e. This IC is a highly integrated optical sensor, very well suited for performing PPM measurements. Due to the large integration scale of this sensor, as well as its low power consumption, it is perfectly suited to be used on a wearable IoT device. However, being a Click board™, Heart rate 6 click allows easy evaluation and rapid application and firmware development. \u003cbr\u003e \u003cimg src=\"https:\/\/www.mikroe.com\/img\/cms\/heart-rate-6-click-inner-img.jpg\" alt=\"\"\u003e\u003cbr\u003e Two green LEDs are driven by the integrated LED driving section of the BH1790GLC sensor, with the programmable pulsating frequency of 64Hz or 128Hz. The current through the LEDs can also be programmed in the range from 0 to 60 mA. Finally, there are two settings for the pulse duration: 0.3ms and 0.6ms. These two values affect the duty cycle of the LED pulses. Optimal readings can be achieved by balancing these three parameters: the current amount through the LED (brightness), the speed of the light pulses (LED frequency), and the pulse width (0.3ms or 0.6ms)\u003c\/p\u003e\n\u003cp\u003eThe reflected light burst is detected by a sensing element in a form of a photo-diode, sampled by a low noise 16-bit A\/D converter. The photo-diode is located behind two light filters which pass only a narrow band of green light in the range from 520nm to 560nm, with 0.8X reduction in respect to the center frequency. The top filter is an IRCUT filter, that prevents the influence of the IR light, while the second filtering layer only passes the green light. This allows even broader color range LEDs to be used, reducing the overall cost of the design. However, Heart rate 6 click uses the KingBright super bright clear green LEDs, with the spectral response that is closely matched to the passband properties of the optical filter. This allows most of the LED energy to be used, further improving the power consumption profile.\u003c\/p\u003e\n\u003cp\u003eTwo output registers contain the 16-bit measurement in a form of two 8-bit words. The upper and the lower 8-bit registers contain the measurement data, which can be retrieved over the standard I2C interface. The host MCU can read these registers in cycles of 1\/32 sec, or 1\/64 sec, depending on the BH1790GLC settings. The datasheet of the BH1790GLC contains the correct algorithms, which describe the measurement process with more details. However, the Click board™ comes with the library which contains functions that allow measurements to be performed with minimum efforts.\u003c\/p\u003e\n\u003cp\u003eThe I2C pins of the BH1790GLC sensor are routed to the respective mikroBUS™ I2C pins. The I2C bus lines are already equipped with two pull-up resistors, which together with the two external LEDs are the only components required by the BH1790GLC sensor. Pullup resistors are connected to the 3.3V power rail so that the Click board™ can be used only with MCUs that use logic levels up to 3.3V for the communication.\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\u003eThis sensor is an ideal solution for development of various wearable health-related devices, smart phones, tablets, and similar space-constrained applications.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOn-board modules\u003c\/td\u003e\n\u003ctd\u003eBH1790GLC, a monolithic integrated sensor with I2C interface for heart rate monitoring, from ROHM Semiconductor company\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003eA complete monolithic heart rate measurement solution with two constant current LED drivers, narrow pass-band for the green light spectrum, low power consumption, and a high integration ratio that allows very low number of external components, and more\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C\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\u003cstrong\u003ePinout diagram\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eHeart rate 6 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\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\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\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\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\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\u003e5\u003c\/td\u003e\n\u003ctd\u003eMISO\u003c\/td\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003e12\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSCL\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eI2C 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\u003e6\u003c\/td\u003e\n\u003ctd\u003eMOSI\u003c\/td\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003e11\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDA\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eI2C Data\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\u003eNC\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\u003cp\u003e\u003cbr\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\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\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 Heart rate 6 on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2603\/heart-rate-6-click\"\u003eLibStock page \u003c\/a\u003e, as well as a demo application (example), developed using MikroElektronika \u003ca href=\"https:\/\/www.mikroe.com\/compilers\"\u003ecompilers\u003c\/a\u003e. The demo can run on all the main MikroElektronika \u003ca href=\"https:\/\/www.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\u003eLibrary performs the control of the Heart rate 6 Click board via I2C interface. Library offers a choice to perform a device configuration and a measurement wait time period, and then can read LED Data. For more details check documentation.\u003c\/p\u003e\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003evoid uint8_t heartrate6_writeSingleByte( uint8_t regAddr, uint8_t dataIn )\u003c\/code\u003e - Function writes one byte to the register.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid uint8_t heartrate6_readBytes( uint8_t startAddr, uint8_t *dataOut, uint8_t nBytes )\u003c\/code\u003e - Function reads the desired number of bytes from the registers.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003evoid void heartrate6_getData( uint16_t *ledOffData, uint16_t *ledOnData )\u003c\/code\u003e - Function reads the LED Data as 16bit unsigned value.\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 I2C interface and performs the device configuration and reset. After that starts measurement.\u003c\/li\u003e\n\u003cli\u003eApplication Task - (code snippet) - Waits until measurement cycle is finished and data is ready for reading. Then reads the LED Data values and performs the data plotting on serial plot, or logging on uart. Note : Uart baud rate should be as high as possible, then data plotting will be more better. I2C clock also should be 100kHz or greater, up to 400kHz, to get better results. The new measurement cycle is started when command for measurement starting is sent, or when register 0x57 is read out. Also the pressure on sensor must be same for the all measurement time, if we want to get the valid results. This is very important to device can work properly.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cpre\u003evoid applicationTask()\n{\n\n\nheartrate6_waitMeasure();\n\nheartrate6_getData( \u0026amp;ledDataOFF, \u0026amp;ledDataON );\n\nplotRes( ledDataON );\n\n\n}\u003c\/pre\u003e\n\u003cp\u003eAdditional Functions :\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ccode\u003evoid plotRes( uint16_t plotData )\u003c\/code\u003e - Performs the data plotting on serial plot.\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003evoid logRes() \u003c\/code\u003e - Performs the data logging on uart.\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\/2577\/heart-rate-6-click\"\u003eLibStock \u003c\/a\u003epage.\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\u003eI2C\u003c\/code\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ccode\u003eUART\u003c\/code\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\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\u003e or \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\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\u003c\/p\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400886894875,"sku":"MIKROE-3215","price":2629.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/heart-rate-6-click-large_default-32xNvqyVIA6mm08q.jpg?v=1701961956","url":"https:\/\/mgsl.in\/products\/mikroe-3215","provider":"MG Super Labs","version":"1.0","type":"link"}