{"id":3348,"date":"2021-02-15T16:22:39","date_gmt":"2021-02-15T08:22:39","guid":{"rendered":"http:\/\/hazlina-backup-3348"},"modified":"2021-02-15T16:22:39","modified_gmt":"2021-02-15T08:22:39","slug":"stem-online-mblock-programming-program-synopsis","status":"publish","type":"post","link":"\/hazlina-blog\/2021\/02\/15\/stem-online-mblock-programming-program-synopsis\/","title":{"rendered":"STEM Online: mBlock Programming \u2013 Program Synopsis"},"content":{"rendered":"<p>Programming is the art of giving instructions. Precisions and consistency in laying giving these instructions are crucial especially when it involves communication to hardware.<\/p>\n<p><strong>mBlock\/Scratch Programming<\/strong> is a course that is aimed for junior programmers, as it allows junior learners to focus on programming concepts with minimal interruptions of syntax errors. These concepts are introduced in block forms \u2013 ranging from events, loops, variables \u2013 to sequential, conditional, events and loops.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2596\" src=\"\/hazlina\/wp-content\/uploads\/2020\/10\/blocks.png\" alt=\"\" width=\"895\" height=\"443\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/10\/blocks.png 895w, \/hazlina\/wp-content\/uploads\/2020\/10\/blocks-300x148.png 300w, \/hazlina\/wp-content\/uploads\/2020\/10\/blocks-768x380.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2569\" src=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide2-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide2-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide2-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide2-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide2-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide2.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2570\" src=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide3-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide3-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide3-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide3-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide3-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide3.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>The outcomes that are targeted from this UMP STEM Lab<strong> mBlock\/Scratch Programming\u00a0<\/strong>online class include the ability to implement programming concepts such as sequential, iterative, and conditional statements in the instruction codes. These concepts implemented via the <strong>game design assignments<\/strong> that are tailored for the class.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3151\" src=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb5.jpg\" alt=\"\" width=\"885\" height=\"536\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb5.jpg 885w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-300x182.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-768x465.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3156\" src=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb1-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb1-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb1-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb1-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb1-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb1.jpg 1366w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<figure id=\"attachment_3165\" aria-describedby=\"caption-attachment-3165\" style=\"width: 851px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3165 size-full\" src=\"\/hazlina\/wp-content\/uploads\/2020\/12\/PacMan.jpg\" alt=\"\" width=\"851\" height=\"641\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/12\/PacMan.jpg 851w, \/hazlina\/wp-content\/uploads\/2020\/12\/PacMan-300x226.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/12\/PacMan-768x578.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-3165\" class=\"wp-caption-text\">Pac Man<\/figcaption><\/figure>\n<figure id=\"attachment_3160\" aria-describedby=\"caption-attachment-3160\" style=\"width: 840px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3160 size-large\" src=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/12\/mb5-1.jpg 1366w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-3160\" class=\"wp-caption-text\">Snake Game<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>UMP STEM Lab<strong> mBlock\/Scratch Programming\u00a0<\/strong>class outline are:-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2953\" src=\"\/hazlina\/wp-content\/uploads\/2020\/11\/Slide16-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/11\/Slide16-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/11\/Slide16-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/11\/Slide16-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/11\/Slide16-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/11\/Slide16.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>mBlock &amp; Hardware Programming<\/strong><\/p>\n<p>mBlock has a built-in function that enables it to program Arduino. This interesting feature enable learners to focus on hardware programming rather than being trapped in syntax error issues. The hardware blocks and its application in line following robots systems are shown below:-<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2571\" src=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide5-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide5-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide5-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide5-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide5-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide5.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2572\" src=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide6-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2020\/10\/Slide6-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide6-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide6-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide6-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2020\/10\/Slide6.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><strong>UMP STEM Bot and mBlock Programming<\/strong><\/p>\n<p>School children are exposed to robot programming (MBlock) using the UMP STEM Bot.<\/p>\n<ol>\n<li>Introduction to signal behavior: digital\/analog input, digital\/analog output\n<ul>\n<li>here, students start to do simple programming instructions to light the LEDs on the STEM Bot, variations of blinking sequence,<\/li>\n<li>later move on into reading analog signals from IR sensors<\/li>\n<li>and writing signals on OLED<\/li>\n<\/ul>\n<\/li>\n<li>Robot Movement: PWM, motor direction\n<ul>\n<li>moving into the second segment, students start to program UMP STEM Bot as a robot \u2013 time-based (movement based on time), following certain routes such as forward, reverse, square, and round<\/li>\n<\/ul>\n<\/li>\n<li>Line following robotics: line detection, junction choices\n<ul>\n<li>in the final segment, students program UMP STEM Bot to follow certain routes (based on a given line track) as well as taking junctions.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3330\" src=\"\/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot-1024x576.jpg\" alt=\"\" width=\"840\" height=\"473\" srcset=\"\/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot-1024x576.jpg 1024w, \/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot-300x169.jpg 300w, \/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot-768x432.jpg 768w, \/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot-1200x675.jpg 1200w, \/hazlina\/wp-content\/uploads\/2021\/02\/4-Arduino-Robotics-UMP-STEM-Bot.jpg 1280w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>The UMP STEM Bot is an open-source Arduino Nano based development kit that offers everything young makers and programmers need. The microcontroller can be programmed using open-source platforms which are the <strong>Arduino programming<\/strong>, the graphical programming <strong>mBlock<\/strong> as well as the <strong>MIT App Inventor<\/strong>.<\/p>\n<p>The kit is equipped with LEDs, infra-red sensors and Bluetooth module. Also available are an ultrasonic sensor and a pair of micro motors and tyres. Bluetooth communication module are also available for users to explore remote controlled projects. The expansion and components replacement of the UMP STEM Bot kit is convenient as it is developed using on-the-shelves products that are accessible online.<\/p>\n<p>The UMP STEM Bot complements KPM primary and secondary schools\u2019 syllabus on computational thinking, computer programming, robotics and electronics systems.<\/p>\n<p>UMP STEM Bot serves various programming level:<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li>Junior \u2013 digital, analog, input, output module<\/li>\n<li>Intermediate \u2013 robotics applications such as line following and obstacle avoidance<\/li>\n<li>Advanced programmer \u2013 advanced actuators, sensing and monitoring<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Programming is the art of giving instructions. Precisions and consistency in laying giving these instructions are crucial especially when it involves communication to hardware. mBlock\/Scratch Programming is a course that is aimed for junior programmers, as it allows junior learners to focus on programming concepts with minimal interruptions of syntax errors. These concepts are introduced &hellip; <a href=\"\/hazlina\/2021\/02\/15\/stem-online-mblock-programming-program-synopsis\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;STEM Online: mBlock Programming \u2013 Program Synopsis&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[23],"class_list":["post-3348","post","type-post","status-publish","format-standard","hentry","category-information","tag-stem-outreach"],"_links":{"self":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts\/3348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/comments?post=3348"}],"version-history":[{"count":0,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/posts\/3348\/revisions"}],"wp:attachment":[{"href":"\/hazlina-blog\/wp-json\/wp\/v2\/media?parent=3348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/categories?post=3348"},{"taxonomy":"post_tag","embeddable":true,"href":"\/hazlina-blog\/wp-json\/wp\/v2\/tags?post=3348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}