{"id":320,"date":"2017-04-23T13:58:55","date_gmt":"2017-04-23T18:58:55","guid":{"rendered":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/?page_id=320"},"modified":"2017-04-23T17:40:09","modified_gmt":"2017-04-23T22:40:09","slug":"arduino-processing","status":"publish","type":"page","link":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/arduino-processing\/","title":{"rendered":"Arduino Processing"},"content":{"rendered":"<p>A copy of the Arduino Uno code used for initial processing is attached <a href=\"https:\/\/vanderbilt.box.com\/s\/ammd6rxld6cbrvu6002qyulgp7bd4pod\">here<\/a>.<\/p>\n<p>An overview of the code is found below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-340 aligncenter\" src=\"https:\/\/cdn-dev.vanderbilt.edu\/t2-my-dev\/wp-content\/uploads\/sites\/2272\/2017\/04\/Arduino-1.png\" alt=\"Arduino 1\" width=\"531\" height=\"452\" \/><\/p>\n<p>Initialization of the code begins by defining particular pins and values used throughout the code, as seen above.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-341 aligncenter\" src=\"https:\/\/cdn-dev.vanderbilt.edu\/t2-my-dev\/wp-content\/uploads\/sites\/2272\/2017\/04\/Arduino-2.png\" alt=\"Arduino 2\" width=\"519\" height=\"420\" \/><\/p>\n<p>Heart Rate code is initialized using the SparkFun_MAX3010x_Pulse and Proximity Sensor Library within Arduino. The MAX30105.h and heartRate.h files are found within this library. All other sensor outputs do not require separate initialization.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-343 aligncenter\" src=\"https:\/\/cdn-dev.vanderbilt.edu\/t2-my-dev\/wp-content\/uploads\/sites\/2272\/2017\/04\/Arduino-3.png\" alt=\"Arduino 3\" width=\"436\" height=\"507\" \/><\/p>\n<p>Different sensor are called using the letters defined in the input string. These letters have been preassigned to various inputs from sensors. For example, \u00a0the inputString is e\u00a0would result in collection of Y-axis acceleration data from the accelerometer. This form of &#8220;handshaking&#8221; with each sensor allows for rapid serial collection of each data stream of interest. Subsequent\u00a0code actually executes this function.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A copy of the Arduino Uno code used for initial processing is attached here. An overview of the code is found below. Initialization of the code begins by defining particular pins and values used throughout the code, as seen above. Heart Rate code is initialized using the SparkFun_MAX3010x_Pulse and Proximity Sensor Library within Arduino. The&#8230;<\/p>\n","protected":false},"author":6231,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-320","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/pages\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/users\/6231"}],"replies":[{"embeddable":true,"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/comments?post=320"}],"version-history":[{"count":3,"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/pages\/320\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/pages\/320\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/media?parent=320"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my.dev.vanderbilt.edu\/balleristics17\/wp-json\/wp\/v2\/tags?post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}