{"id":11519,"date":"2016-07-04T22:28:59","date_gmt":"2016-07-05T02:28:59","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=11519"},"modified":"2016-10-10T22:04:39","modified_gmt":"2016-10-11T02:04:39","slug":"easy-pulse-mikro","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/easy-pulse-mikro\/","title":{"rendered":"Easy Pulse mikro &#8211; A mikroBus compatible pulse sensor"},"content":{"rendered":"<p><strong>Easy Pulse mikro<\/strong> is a new addition to our Easy Pulse Sensor series. The word\u00a0<strong>mikro<\/strong>\u00a0signifies that it&#8217;s an <strong>add-on board<\/strong> in <strong><a href=\"http:\/\/www.mikroe.com\/mikrobus\/\" target=\"_blank\">mikroBus<\/a> form factor<\/strong>, which enables easy integration with <strong><a href=\"http:\/\/www.mikroe.com\" target=\"_blank\">mikroElektronika<\/a><\/strong>&#8216;s numerous development boards. Similar to\u00a0our original\u00a0<strong><a href=\"http:\/\/embedded-lab.com\/blog\/?p=7336\" target=\"_blank\">Easy Pulse V1.1<\/a><\/strong>\u00a0and\u00a0<strong><a href=\"http:\/\/embedded-lab.com\/blog\/introducing-easy-pulse-plugin-breadboard-friendly-arduinochipkit-compatible-pulse-sensor\/\" target=\"_blank\">Easy Pulse Plugin<\/a><\/strong>, it also operates on the principle of transmittance photoplethysmography applied to a fingertip using infrared sensors. <strong>Easy Pulse mikro<\/strong>\u00a0provides all necessary instrumentation and amplification on board to detect the cardiovascular pulse signal from the fingertip. The output is a nice and clean analog PPG waveform that is routed to the AN pin of the mikroBus connector. Currently, you can buy this sensor from our <strong><a href=\"https:\/\/www.tindie.com\/products\/rajbex\/easy-pulse-mikro\/\" target=\"_blank\">Tindie Store<\/a><\/strong> in United States and\u00a0<a href=\"http:\/\/www.elecrow.com\/cooperated-designers-embedded-lab-c-127_128.html\" target=\"_blank\"><strong>Elecrow\u00a0Store<\/strong><\/a>\u00a0in China.<\/p>\n<div id=\"attachment_11521\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro10.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11521\" class=\"size-full wp-image-11521\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro10.jpg\" alt=\"aa\" width=\"1200\" height=\"922\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro10.jpg 1200w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro10-580x446.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro10-1024x787.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-11521\" class=\"wp-caption-text\"><strong>Easy Pulse mikro<\/strong>: A DIY pulse sensor based on transmittance photoplethysmography<\/p><\/div>\n<p><!--more--><\/p>\n<p><strong>Features<\/strong><\/p>\n<ul>\n<li>Compatible with mikroBus socket.<\/li>\n<li>Filtered and amplified analog PPG signal output (range: 0-3.3V).<\/li>\n<li>On board potentiometer for adjusting amplifier gain, if needed (rotate clock-wise for increasing the gain).<\/li>\n<li>On board LED for indicating the heart beat. It flashes synchronously with the heart beat on detecting the pulse from fingertip.<\/li>\n<\/ul>\n<div id=\"attachment_11531\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseFeatures.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11531\" class=\"size-medium wp-image-11531\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseFeatures-580x285.jpg\" alt=\"Easy Pulse mikro features\" width=\"580\" height=\"285\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseFeatures-580x285.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseFeatures.jpg 945w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11531\" class=\"wp-caption-text\"><strong>Easy Pulse mikro<\/strong> features (click to enlarge)<\/p><\/div>\n<p>The following figure shows an\u00a0actual PPG output waveform from Easy Pulse mikro. The pulse rate (or heart beat rate) can be computed from the time duration between any two peaks in the signal. This is\u00a0described in more detail in a\u00a0demo application provided later in this article.<\/p>\n<div id=\"attachment_11527\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/PulseWaveForm1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11527\" class=\"size-medium wp-image-11527\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/PulseWaveForm1-580x255.jpg\" alt=\"Easy Pulse mikro output PPG waveform\" width=\"580\" height=\"255\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/PulseWaveForm1-580x255.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/PulseWaveForm1.jpg 711w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11527\" class=\"wp-caption-text\">Easy Pulse mikro output PPG waveform<\/p><\/div>\n<p><span style=\"color: #ff0000;\"><strong>Important note:<\/strong><\/span> While operating the pulse sensor, make sure the sensor connector is inserted well and pushed all the way into the audio jack as shown below. During operation, the hand must be in a relaxed position and resting on some solid support for achieving reliable PPG data.<\/p>\n<div id=\"attachment_11522\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro7.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11522\" class=\"size-medium wp-image-11522\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro7-580x412.jpg\" alt=\"Correct plugin of the sensor\" width=\"580\" height=\"412\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro7-580x412.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro7.jpg 800w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11522\" class=\"wp-caption-text\">Correct way of inserting the sensor connector in to\u00a0the board and wearing the sensor on the fingertip.<\/p><\/div>\n<p><strong>Demo application<\/strong><\/p>\n<p>The following demo application shows how to build a stand-alone pulse meter using Easy Pulse mikro and <strong>mikroElektronika<\/strong>&#8216;s <strong><a href=\"http:\/\/www.mikroe.com\/pic\/clicker-2-pic18fj\/\" target=\"_blank\">clicker 2 for PIC18FJ<\/a><\/strong> board. An <strong><a href=\"http:\/\/www.mikroe.com\/click\/oled-w\/\" target=\"_blank\">OLED W click<\/a><\/strong> board is also used to display the pulse rate in <em>beats per minute<\/em> (<strong>BPM<\/strong>). Following figure shows all the things you would need to build this project.<\/p>\n<div id=\"attachment_11524\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11524\" class=\"size-medium wp-image-11524\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup2-580x391.jpg\" alt=\"Standalone pulse meter using \" width=\"580\" height=\"391\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup2-580x391.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup2-1024x691.jpg 1024w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup2.jpg 1137w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11524\" class=\"wp-caption-text\">Stand-alone pulse meter using OLED W click, clicker 2 for PIC18FJ, and Easy Pulse mikro sensor<\/p><\/div>\n<p>The <strong>clicker 2<\/strong> development board features\u00a0Microchip\u2019s powerful 8-bit PIC18F87J50 microcontroller, preprogrammed with an USB bootloader, and two mikroBus sockets to receive add-on boards. For this demo project, the OLED W click board is inserted into socket 1 and Easy Pulse mikro to socket 2, as shown below.<\/p>\n<div id=\"attachment_11525\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup4.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11525\" class=\"size-medium wp-image-11525\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup4-580x435.jpg\" alt=\"Inserting OLED W click and Easy Pulse mikro into the clicker 2 board\" width=\"580\" height=\"435\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup4-580x435.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup4-1024x768.jpg 1024w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/setup4.jpg 1200w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11525\" class=\"wp-caption-text\">Inserting OLED W click and Easy Pulse mikro into the clicker 2 board<\/p><\/div>\n<p>The firmware for this project can be downloaded from the following link. It contains both the source code (written in mikroC Pro for PIC) and HEX file.<\/p>\n<p><strong><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/Clicker2_PulseMeter_EasyPulse.zip\">Clicker2_PulseMeter_EasyPulse_Firmware<\/a><\/strong><\/p>\n<p>The following flow diagram describes how the pulse rate is computed from the PPG waveform. The PIC microcontroller reads in 600 analog samples of the PPG waveform at 5 millisecond sampling interval and finds three consecutive peaks in the PPG waveform. The pulse rate can then be computed from the time interval between any two successive peaks.<\/p>\n<div style=\"width: 594px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2014\/01\/algorithm.jpg\" alt=\"\" width=\"584\" height=\"625\" \/><p class=\"wp-caption-text\">Algorithm to compute heart beat rate<\/p><\/div>\n<div id=\"attachment_11533\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro5.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11533\" class=\"size-medium wp-image-11533\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro5-580x444.jpg\" alt=\"uu\" width=\"580\" height=\"444\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro5-580x444.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/07\/EasyPulseMikro5.jpg 800w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-11533\" class=\"wp-caption-text\">Pulse rate is displayed on the OLED screen<\/p><\/div>\n<p>A demo video showing the pulse meter in action.<\/p>\n<p><center><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/XSP30JYRGPQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/center><\/p>\n<h4><a href=\"http:\/\/www.elecrow.com\/cooperated-designers-embedded-lab-c-127_128.html\" target=\"_blank\">Buy Easy Pulse mikro<\/a>\u00a0from our Chinese store<\/h4>\n<h4><a href=\"http:\/\/Buy Easy Pulse mikro\" target=\"_blank\">Buy Easy Pulse mikro<\/a>\u00a0from our US store<\/h4>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Easy Pulse mikro is a new addition to our Easy Pulse Sensor series. The word\u00a0mikro\u00a0signifies that it&#8217;s an add-on board in mikroBus form factor, which enables easy integration with mikroElektronika&#8216;s numerous development boards. Similar to\u00a0our original\u00a0Easy Pulse V1.1\u00a0and\u00a0Easy Pulse Plugin, it also operates on the principle of transmittance photoplethysmography applied to a fingertip using infrared sensors. Easy Pulse mikro\u00a0provides all necessary instrumentation and amplification on board to detect the cardiovascular pulse signal from the fingertip. The output is a nice and clean analog PPG waveform that is routed to the AN pin of the mikroBus connector. Currently, you can buy<\/p>\n","protected":false},"author":1,"featured_media":11522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[437],"tags":[1420,1422,1421],"class_list":["post-11519","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","tag-easy-pulse-mikro","tag-mikrobus","tag-mikrobus-pulse-sensor"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=11519"}],"version-history":[{"count":10,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11519\/revisions"}],"predecessor-version":[{"id":12112,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/11519\/revisions\/12112"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/11522"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=11519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=11519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=11519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}