

{"id":249,"date":"2024-01-07T11:22:57","date_gmt":"2024-01-07T16:22:57","guid":{"rendered":"https:\/\/sites.temple.edu\/sumo2024\/?page_id=249"},"modified":"2025-12-02T14:34:46","modified_gmt":"2025-12-02T19:34:46","slug":"resources","status":"publish","type":"page","link":"https:\/\/sites.temple.edu\/sumobot\/resources\/","title":{"rendered":"Resources"},"content":{"rendered":"\n<p>Each team will be provided with a SumoBot.<\/p>\n\n\n\n<p>Each team will be provided with Basic SumoBot Code: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tuprd-my.sharepoint.com\/:b:\/g\/personal\/lbai_temple_edu\/ERkQRbGp3ONPg0NinwhzdmABpDDoFrPDgJeukRX_mfmyoA?e=aTaQ2b\" data-type=\"link\" data-id=\"https:\/\/tuprd-my.sharepoint.com\/:b:\/g\/personal\/lbai_temple_edu\/ERkQRbGp3ONPg0NinwhzdmABpDDoFrPDgJeukRX_mfmyoA?e=aTaQ2b\">instructional help sheet<\/a><\/li>\n\n\n\n<li>Click <a href=\"https:\/\/makecode.com\/_LWbT60LzqDhJ\">the link<\/a> to open an empty template code<\/li>\n\n\n\n<li>For Basic Code which instructs the SumoBot to search the Dohyo for competitors and upon detecting a collision, instructs the SumoBot to push at high speed. <a href=\"https:\/\/makecode.com\/_Rd5eighYb5Ue\">https:\/\/makecode.com\/_Rd5eighYb5Ue<\/a><\/li>\n\n\n\n<li>Competitors should edit the Basic Code to gain a competitive advantage.  Be creative!<\/li>\n\n\n\n<li>Code can be edited via Blocks or JavaScript (Your Choice!).<\/li>\n\n\n\n<li>JavaScript has comments describing code functionality.<\/li>\n\n\n\n<li>Once edited, Code can be dowloaded to the SumoBot via micro-USB<\/li>\n\n\n\n<li>SumoBot should be placed with its front line sensors on white ring of Dohyo and when button on the PCB is pressed, the SumoBot will initiate and begin fighting!<\/li>\n\n\n\n<li>motor check code is <a href=\"https:\/\/makecode.com\/_aWzA5wDX8Myy\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"651\" src=\"https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode-1024x651.png\" alt=\"\" class=\"wp-image-603\" srcset=\"https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode-1024x651.png 1024w, https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode-300x191.png 300w, https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode-768x488.png 768w, https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode-472x300.png 472w, https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/makecode.png 1068w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Technical references:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"718\" height=\"783\" data-id=\"601\" src=\"https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/sumobot_interface.png\" alt=\"\" class=\"wp-image-601\" srcset=\"https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/sumobot_interface.png 718w, https:\/\/sites.temple.edu\/sumobot\/files\/2025\/12\/sumobot_interface-275x300.png 275w\" sizes=\"(max-width: 718px) 100vw, 718px\" \/><\/figure>\n<\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A0. \u2013 media pin (default in make maker code)<\/li>\n\n\n\n<li>A1. \u2013 push button pin<\/li>\n\n\n\n<li>A2: \u2013 light sensor pin<\/li>\n\n\n\n<li>A3: \u2013 light sensor pin<\/li>\n\n\n\n<li>A4: \u2013 SDA (oled screen)<\/li>\n\n\n\n<li>A5: \u2013 SCL (oled screen)<\/li>\n\n\n\n<li>D0: \u2013 RX pin (currently can be used for a ultrasound sensor)<\/li>\n\n\n\n<li>D1: \u2013 TX pin (currently can be used for a ultrasound sensor)<\/li>\n\n\n\n<li>D2: \u2013 emit light for the light sensor (on\/off)<\/li>\n\n\n\n<li>D3: \u2013 media pin -&gt; need to jump cross to A0 pin<\/li>\n\n\n\n<li>D4: \u2013 light sensor pin<\/li>\n\n\n\n<li>D5: \u2013 light sensor pin<\/li>\n\n\n\n<li>D6: \u2013 neopixel light pin<\/li>\n\n\n\n<li>D7: \u2013 motor right direction (C or CC)<\/li>\n\n\n\n<li>D8: \u2013 motor left direction (C or CC)<\/li>\n\n\n\n<li>D9: \u2013 motor right PWM (speed)<\/li>\n\n\n\n<li>D10: \u2013 motor left PWM (speed)<\/li>\n\n\n\n<li>D11: \u2013 light sensor pin<\/li>\n\n\n\n<li>D12: \u2013 push button pin<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each team will be provided with a SumoBot. Each team will be provided with Basic SumoBot Code: Technical references:<\/p>\n","protected":false},"author":36121,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-249","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/pages\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/users\/36121"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":21,"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/pages\/249\/revisions"}],"predecessor-version":[{"id":604,"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/pages\/249\/revisions\/604"}],"wp:attachment":[{"href":"https:\/\/sites.temple.edu\/sumobot\/wp-json\/wp\/v2\/media?parent=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}