{"id":145,"date":"2020-04-01T20:05:21","date_gmt":"2020-04-01T20:05:21","guid":{"rendered":"http:\/\/engprojects.tcnj.edu\/tjt\/?page_id=145"},"modified":"2020-04-01T20:24:05","modified_gmt":"2020-04-01T20:24:05","slug":"microprocessor-code","status":"publish","type":"page","link":"https:\/\/engprojects.tcnj.edu\/tjt\/microprocessor-code\/","title":{"rendered":"Microprocessor Code"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Pseudocode<\/h2>\n\n\n\n<p>The following pseudocode was generated in the design process for the embedded controller software routine. The code was split, following Arduino programming practice, into a start-up and loop routine.<\/p>\n\n\n\n<p>The startup routine initializes the Arduino I\/O as well as heats the reservoirs to the appropriate temperatures using an on-off control scheme.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"939\" height=\"711\" src=\"https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_1.png\" alt=\"\" class=\"wp-image-156\" srcset=\"https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_1.png 939w, https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_1-300x227.png 300w, https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_1-768x582.png 768w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><figcaption>Arduino start-up routine pseudocode<\/figcaption><\/figure>\n\n\n\n<p>The loop code is designed to run infinitely on the Arduino Uno. This is also the location of both the Digital Logic Controller, the Temperature Controller, and the automatic safety shut-off logic. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"620\" src=\"https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_2.png\" alt=\"\" class=\"wp-image-157\" srcset=\"https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_2.png 922w, https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_2-300x202.png 300w, https:\/\/engprojects.tcnj.edu\/tjt\/wp-content\/uploads\/sites\/120\/2020\/04\/pseudo_2-768x516.png 768w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><figcaption>Arduino loop pseudocode<\/figcaption><\/figure>\n\n\n\n<p>This code served as a basic outline for the development of the Arduino code later developed and tested on the board itself. Although the code has seen many changes, the core operating principles remain the same.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Arduino Code Features<\/h2>\n\n\n\n<p>While device construction is delayed by TCNJ&#8217;s COVID-19 Policies (see h<a href=\"https:\/\/emergency.tcnj.edu\/covid-19\/\">ttps:\/\/emergency.tcnj.edu\/covid-19\/<\/a> ) the documentation of the design project is being refined. Please check back in a few days.<\/p>\n\n\n\n<p>Updated 4\/1\/2020<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\">Complete Arduino Code Available on Github<\/h3>\n\n\n\n<div class=\"wp-block-button aligncenter\"><a class=\"wp-block-button__link\" href=\"https:\/\/github.com\/capellb1\/thermal_joint_therapy\">Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pseudocode The following pseudocode was generated in the design process for the embedded controller software routine. The code was split, following Arduino programming practice, into a start-up and loop routine. The startup routine initializes the Arduino I\/O as well as heats the reservoirs to the appropriate temperatures using an on-off control scheme. The loop code &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/engprojects.tcnj.edu\/tjt\/microprocessor-code\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Microprocessor Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":194,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-145","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/pages\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/users\/194"}],"replies":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":0,"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/pages\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/engprojects.tcnj.edu\/tjt\/wp-json\/wp\/v2\/media?parent=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}