{"id":12656,"date":"2016-11-22T16:03:49","date_gmt":"2016-11-22T21:03:49","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=12656"},"modified":"2016-11-22T17:57:46","modified_gmt":"2016-11-22T22:57:46","slug":"bluetooth-enabled-pedometer-design","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/bluetooth-enabled-pedometer-design\/","title":{"rendered":"Bluetooth enabled pedometer design"},"content":{"rendered":"<p>Microchip provides an <strong><a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/AppNotes\/00001906A.pdf\" target=\"_blank\">application note<\/a><\/strong>\u00a0describing a Bluetooth Low Energy (BLE) enabled pedometer example that uses an MSP430F5229\u00a0reference pedometer design \u00a0is a portable electronic device that uses PIC16LF1718, a cost effective 8-bit\u00a0microcontroller with extreme low power (XLP), the\u00a0Microchip RN4020 Bluetooth 4.1 Low Energy Module,<br \/>\nand the Bosch Sensortec BMA250E digital triaxial\u00a0accelerometer. The pedometer can be worn on the\u00a0wrist like a bracelet\/watch and the on-board RN4020 BLE\u00a0module allows the pedometer demo to communicate\u00a0with a smartphone or tablet on which the user\u2019s exercise progress can be tracked. The pedometer\u00a0demo is powered by a single 3V coin lithium battery\u00a0(CR2032).<\/p>\n<div id=\"attachment_12657\" style=\"width: 882px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/Pedometer.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-12657\" class=\"size-full wp-image-12657\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/Pedometer.jpg\" alt=\"BLE-enabled pedometer\" width=\"872\" height=\"640\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/Pedometer.jpg 872w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2016\/11\/Pedometer-580x426.jpg 580w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/a><p id=\"caption-attachment-12657\" class=\"wp-caption-text\">BLE-enabled pedometer<\/p><\/div>\n<blockquote><p>The Microchip pedometer demo uses a Bosch 10-bit\u00a0triaxial digital accelerometer (BMA250E) to detect the\u00a0motion of the wearer. The Microchip pedometer demo\u00a0firmware running in the PIC16LF1718 microcontroller\u00a0contains a step detection algorithm library developed\u00a0by Bosch Sensortec.\u00a0A step detection function in this library is called<br \/>\nperiodically by the user application. The microcontroller\u00a0will read the acceleration data of X\/Y\/Z axes from the\u00a0accelerometer via an I2C\u2122 interface when the step\u00a0detection function is called. The step detection function\u00a0then analyzes the accumulated acceleration data and\u00a0determines the number of steps taken by using pattern\u00a0recognition.\u00a0The accumulated number of steps can be shown on the\u00a0three digit 7-Segment LED displays or a BLE application running in a smartphone\/tablet that is\u00a0paired with the RN4020 BLE module.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Microchip provides an application note\u00a0describing a Bluetooth Low Energy (BLE) enabled pedometer example that uses an MSP430F5229\u00a0reference pedometer design \u00a0is a portable electronic device that uses PIC16LF1718, a cost effective 8-bit\u00a0microcontroller with extreme low power (XLP), the\u00a0Microchip RN4020 Bluetooth 4.1 Low Energy Module, and the Bosch Sensortec BMA250E digital triaxial\u00a0accelerometer. The pedometer can be worn on the\u00a0wrist like a bracelet\/watch and the on-board RN4020 BLE\u00a0module allows the pedometer demo to communicate\u00a0with a smartphone or tablet on which the user\u2019s exercise progress can be tracked. The pedometer\u00a0demo is powered by a single 3V coin lithium battery\u00a0(CR2032). The Microchip pedometer demo uses<\/p>\n","protected":false},"author":1,"featured_media":12657,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[227],"tags":[1259,1568],"class_list":["post-12656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-pedometer","tag-pic16lf1718"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12656","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=12656"}],"version-history":[{"count":3,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12656\/revisions"}],"predecessor-version":[{"id":12660,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/12656\/revisions\/12660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/12657"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=12656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=12656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=12656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}