{"title":"Smart living space 智能居所","description":null,"products":[{"product_id":"bbc-micro-bit-fischertechnik-stem","title":"fischertechnik STEM 2 kit for the BBC micro:bit \u0026 AI  智能家居\/ 社區\/ 遊樂場","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e12 models, 200+ parts.  \u003c\/p\u003e\n\u003ch2\u003eIntroduce students to the world of STEM based upon examples found in everyday automated and robotic devices.\u003c\/h2\u003e\n\u003cblockquote\u003e\n\u003cp style=\"padding-left: 60px;\"\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\" target=\"_blank\"\u003efull online guide with \u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e for all 12 models here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp style=\"padding-left: 60px;\"\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003c\/blockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003col\u003e\n\u003cli\u003e \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/merry-go-round-from-stem-ii\" target=\"_blank\"\u003eMerry-go-round\u003c\/a\u003e  旋轉木馬\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/pedestrian-light\" target=\"_blank\"\u003ePedestrian light\u003c\/a\u003e  行人過路燈\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/lighthouse\" target=\"_blank\"\u003eLighthouse with blinking light\u003c\/a\u003e 燈塔\u003cspan\u003e \u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/refrigerator-from-stem-ii\" target=\"_blank\"\u003eRefrigerator\u003c\/a\u003e 智能雪櫃門 \u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/washing-machine-from-stem-ii\" target=\"_blank\"\u003eWashing machine\u003c\/a\u003e \u003cspan style=\"font-weight: 400;\"\u003e洗衣機\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/sliding-door-from-stem-ii\" target=\"_blank\"\u003eSliding door\u003c\/a\u003e   自動門\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-5\"\u003e\n\u003col start=\"7\"\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/staircase-light-stem-ii-12-models\" target=\"_blank\"\u003eStaircase lighting\u003c\/a\u003e 梯間照明燈 \u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/windshield-wiper-from-stem-ii\" target=\"_blank\"\u003eWindshield wiper\u003c\/a\u003e  擋風玻璃水撥\u003cspan\u003e \u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/hand-dryer-from-stem-ii\" target=\"_blank\"\u003eHand dryer\u003c\/a\u003e 乾手機\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/barrier\" target=\"_blank\"\u003eBarrier\u003c\/a\u003e 自動電閘\u003cspan\u003e \u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/motor-test-bench-stem-ii-12-models\" target=\"_blank\"\u003eMotor test bench\u003c\/a\u003e  馬達測試台 \u003c\/span\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/press-with-safety-switch-stem-ii-12-models\" target=\"_blank\"\u003ePress with safety switch\u003c\/a\u003e  安全打壓機\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-3\"\u003e\n\u003cdiv class=\"issuuembed\" style=\"width: 150px; height: 210px;\" data-configid=\"8296820\/69647876\"\u003e\u003c\/div\u003e\n\u003cscript type=\"text\/javascript\" src=\"\/\/e.issuu.com\/embed.js\" async=\"true\"\u003e\u003c\/script\u003e\n\u003cp style=\"text-align: center;\"\u003eparts and models list\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"text-align: left;\"\u003e \u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_compact.jpg?v=1555769299\" alt=\"\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. \u003cspan\u003eBy design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-3\"\u003e\n\u003cimg style=\"float: none;\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\" alt=\"\"\u003e \u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5810_compact.png?v=1556549771\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-sm-5\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5742_554e4d22-3871-4d4d-b500-1ba13b7c544b_large.png?v=1556552853\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eOnline guide, plus extension ideas\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\" target=\"_blank\"\u003efull online guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eand construction step-guides for all 12 models here\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable border=\"1;\" style=\"width: 99%;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch5\u003eThe fischertechnik advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board","offer_id":19343917482080,"sku":"540682","price":895.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board","offer_id":19343916793952,"sku":"","price":1094.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/https_3A_2F_2Fcdn.evbuc.com_2Fimages_2F118550475_2F53017843086_2F1_2Foriginal.jpg?v=1614219283"},{"product_id":"barrier","title":"Barrier 自動電閘 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eBarriers are located in front of many parking lots or parking buildings. They open when a car drives up and close again after the car drives through.   Have you ever wondered how the barrier knows when a car is standing in front of it and it needs to open?\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eAt the beginning the barrier should be closed. Then when the light barrier is interrupted, the arm moves up.  After 3 seconds it should close again.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp\u003e \u003ciframe width=\"300\" height=\"168.75\" src=\"https:\/\/www.youtube.com\/embed\/wR31imnpjZQ\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1066935-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Barrier model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e \u003cimg alt=\"\" style=\"float: none;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5752_medium.png?v=1556548830\" style=\"float: none;\"\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5749_medium.png?v=1556548822\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Barrier Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Barrier Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II model\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Barrier Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-leds\" target=\"_blank\"\u003eShow LEDs\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e\u003cspan\u003e, \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e:\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-read-pin\" target=\"_blank\"\u003eDigital Read Pin\u003c\/a\u003e,\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Barrier Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eComments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_8bqYDXUmd6Pe\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\" alt=\"\" width=\"45\" height=\"37\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\" alt=\"\" width=\"44\" height=\"42\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" src=\"https:\/\/makecode.microbit.org\/#pub:_8bqYDXUmd6Pe\" frameborder=\"0\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1066935-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Barrier model\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable style=\"width: 99%;\" border=\"1;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Part \/ No I\/O board \/ No micro:bit","offer_id":44441550664,"sku":"","price":475.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ No micro:bit","offer_id":44441550728,"sku":"","price":674.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ + micro:bit","offer_id":44441550792,"sku":"","price":809.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ No I\/O board \/ + micro:bit","offer_id":19372865585248,"sku":"","price":610.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5749.png?v=1556548822"},{"product_id":"sliding-door-from-stem-ii","title":"Sliding Door 自動門 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eA sliding door consists of one or more door leaves. They are guided at the top or bottom and open to the side. But don't think that this is an invention of the modern age – sliding doors existed even in the First Century A.D. in Roman buildings. This is shown by excavations in the Italian city of Pompeii.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 1\u003c\/strong\u003e\u003cbr\u003eCreate a program, which closes the sliding door, regardless of where it is when the programs starts. Try out various door positions.\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 2\u003c\/strong\u003e\u003cbr\u003eThere is a light barrier at the entrance to the sliding door. If the light beam is interrupted, which means that someone wants to enter the business, then the entrance door is opened and it closes automatically after at time of 10 seconds.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ciframe src=\"https:\/\/www.youtube.com\/embed\/JwHHGAEuAnc\" height=\"168.75\" width=\"300\" allowfullscreen=\"\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"padding-left: 30px;\"\u003e\n\u003cstrong\u003eTask 3\u003c\/strong\u003e\u003cbr\u003eSo that nobody is caught in the door when it closes, the door is to immediately open when someone interrupts the light barrier. Change the program accordingly. Expand the program with a time delay of five seconds before the door closes.\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064833-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Sliding Door model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" alt=\"\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\" alt=\"\"\u003e \u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5795_medium.png?v=1556549524\" alt=\"\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5789_72aa62f4-ed0a-45b3-9b66-64e15b8d4b07_medium.png?v=1556552853\" alt=\"\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-5\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Sliding Door Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Sliding Door Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II models\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Sliding Door Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-number\" target=\"_blank\"\u003eShow Number\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e: \u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e a function, \u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e a function\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-read-pin\" target=\"_blank\"\u003eDigital Read Pin\u003c\/a\u003e,\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Sliding Door Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eComments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_7xKPLw6yRYLU\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"37\" width=\"45\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"42\" width=\"44\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe src=\"https:\/\/makecode.microbit.org\/#pub:_7xKPLw6yRYLU\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064833-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Sliding Door model\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable border=\"1;\" style=\"width: 99%;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board \/ No micro:bit","offer_id":44522546760,"sku":"","price":532.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ No micro:bit","offer_id":44522546824,"sku":"","price":731.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ + micro:bit","offer_id":44522546888,"sku":"","price":866.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ No I\/O board \/ + micro:bit","offer_id":19357129539680,"sku":"","price":667.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5789.png?v=1556549524"},{"product_id":"refrigerator-from-stem-ii","title":"Refrigerator 智能雪櫃門 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eWith the spread of electrical power and the refrigerator, its forerunner, the ice box without electricity lost its attractiveness.  From a historical perspective, the word ice box is still used today but when operated by electricity it is called a refrigerator.\u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 1\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eAs soon as the refrigeration door is opened, the white light is to light up. When the door is closed, the light goes out.\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 2\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eSupplement task 1: If the refrigerator door is open for more than three seconds then the red indicator light is to blink in addition. It also goes out when the refrigerator door is closed.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e \n\u003cp\u003e \u003c\/p\u003e\n\u003ciframe width=\"300\" height=\"168.75\" src=\"https:\/\/www.youtube.com\/embed\/ghzOn2somyU\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064234-\" target=\"_blank\"\u003efull online guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Refrigerator model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\"\u003e \u003c\/div\u003e\n\u003cdiv class=\"col-sm-5\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5823_4d7dd274-4a67-4a34-a898-015aec754b8f_medium.png?v=1556552853\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Refrigerator Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Refrigerator Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II models\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Refrigerator Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2;\"\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-icon\" target=\"_blank\"\u003eShow icon\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Refrigerator Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1.    Comments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_8UTRjYP1MhAv\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\" alt=\"\" width=\"45\" height=\"37\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\" alt=\"\" width=\"44\" height=\"42\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" src=\"https:\/\/makecode.microbit.org\/#pub:_8UTRjYP1MhAv\" frameborder=\"0\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064234-\" target=\"_blank\"\u003efull online guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Refrigerator model\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eSee\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable style=\"width: 99%;\" border=\"1;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board \/ No micro:bit","offer_id":44785181320,"sku":"","price":285.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ No micro:bit","offer_id":44785181448,"sku":"","price":484.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ + micro:bit","offer_id":44785181704,"sku":"","price":619.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ No I\/O board \/ + micro:bit","offer_id":19356843147360,"sku":"","price":420.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5823.png?v=1556550457"},{"product_id":"washing-machine-from-stem-ii","title":"Washing Machine  洗衣機  @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eThe most widespread design is the drum washing machine, in which a washing drum rotates around an axis. The advantage of this machine type is the small size so that, for example, it can be installed in kitchen units.\u003c\/p\u003e\n\u003cp\u003eAnd now what all happens during a washing operation? A washing cycle, a spin cycle and a drying cycle are performed.\u003c\/p\u003e\n\u003cp\u003eIn the following exercises, you will become familiar with and program various program parts.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 1\u003c\/strong\u003e\u003cbr\u003e After you push the Start button, the drum rotates at a low speed for 10 seconds (wash cycle). The display (indicator light on M2) shows the operation of the machine\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 2\u003c\/strong\u003e\u003cbr\u003e Change the program so that the washing machine only starts when the safety switch for the door is closed.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ciframe src=\"https:\/\/www.youtube.com\/embed\/ubPeecv1Ajg\" height=\"168.75\" width=\"300\" allowfullscreen=\"\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 3\u003c\/strong\u003e\u003cbr\u003e Place a  \u003cstrong\u003espin cycle\u003c\/strong\u003e in the programme.  Here the motor is to run at full speed for 15 seconds\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 4\u003c\/strong\u003e\u003cbr\u003e Expand the program with a \u003cstrong\u003edrying cycle\u003c\/strong\u003e for the laundry.   To do this, the drum rotate clockwise slowly at first (10 seconds) then takes a break for three seconds and then rotates counterclockwise for 10 seconds.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 5\u003c\/strong\u003e\u003cbr\u003e During the program sequence, the user is always to be shown the current cycle in the text display. \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eWhen all washing is completed then \u003cstrong\u003ethe end\u003c\/strong\u003e is also to be shown in the display.   Change your program accordingly.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064240-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Washing Machine model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" alt=\"\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\" alt=\"\"\u003e \u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5776_medium.png?v=1556549223\" alt=\"\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5771_77a8cba2-f43f-4427-8f50-50a24412e42b_medium.png?v=1556552853\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-5\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Washing Machine Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Washing Machine Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II models\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Washing Machine Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-icon\" target=\"_blank\"\u003eShow icon\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true), \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/repeat\" target=\"_blank\"\u003eRepeat\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e:\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e\u003cspan\u003e a function, \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e\u003cspan\u003e a function\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Washing Machine Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eComments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_hX6RHzMy57w2\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"37\" width=\"45\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"42\" width=\"44\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe src=\"https:\/\/makecode.microbit.org\/#pub:_hX6RHzMy57w2\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064240-\" target=\"_blank\"\u003e online guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Washing Machine model\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable border=\"1;\" style=\"width: 99%;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board \/ No micro:bit","offer_id":44966584456,"sku":"","price":494.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ No micro:bit","offer_id":44966584520,"sku":"","price":693.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ + micro:bit","offer_id":44966584584,"sku":"","price":828.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ No I\/O board \/ + micro:bit","offer_id":19356995682400,"sku":"","price":629.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5771.png?v=1556549223"},{"product_id":"hand-dryer-from-stem-ii","title":"Hand dryer 乾手機 @STEM II with 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eHand dryer:  you certainly won't have anything like this in your bathroom at home, there you have a towel hanging on a hook. But in public toilets or the restrooms in restaurants there is usually an electric blower mounted on the wall for blowing your hands dry with hot air.\u003c\/p\u003e\n\u003cp\u003eA good invention, particularly when the state-of-the-art appliance doesn't even have a button you have to push to turn it on.  Simply hold your hands beneath it to turn it on.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eWhen the light barrier is interrupted, the fan should start running.  As soon as the light barrier is no longer interrupted, the fan switches back off.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp\u003e\u003ciframe width=\"300\" height=\"168.75\" src=\"https:\/\/www.youtube.com\/embed\/eXlyYcDWxjI\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e \n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064837-\" target=\"_blank\"\u003efull online guide with coding samples for the hand dryer model\u003c\/a\u003e, plus extension activities\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-2\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_compact.jpg?v=1555769299\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. \u003cspan\u003eBy design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-3\"\u003e\n\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\"\u003e \u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5784_medium.png?v=1556549382\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003cdiv class=\"col-sm-5\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5783_medium.png?v=1556549382\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to built all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechnik advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan style=\"color: #e69138;\"\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch5\u003e\u003c\/h5\u003e\n\u003ch5\u003emicro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Hand Dryer Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Hand Dryer  Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II model\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Hand Dryer  Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e:\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-read-pin\" target=\"_blank\"\u003eDigital Read Pin\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Hand Dryer Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eComments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_h9H6TV9HEP07\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\" alt=\"\" width=\"45\" height=\"37\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\" alt=\"\" width=\"44\" height=\"42\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" src=\"https:\/\/makecode.microbit.org\/#pub:_h9H6TV9HEP07\" frameborder=\"0\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003ch2\u003e\u003c\/h2\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eOnline guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eSee\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064837-\" target=\"_blank\"\u003efull online guide with coding samples for the hand dryer model\u003c\/a\u003e, plus extension activities\u003c\/p\u003e\n\u003cp\u003eSee\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable style=\"width: 99%;\" border=\"1;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board \/ No micro:bit","offer_id":1605605883934,"sku":"","price":340.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ No I\/O board \/ + micro:bit","offer_id":19344940466272,"sku":"","price":475.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ No micro:bit","offer_id":1605605916702,"sku":"","price":539.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ + micro:bit","offer_id":1605605982238,"sku":"","price":674.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5783.png?v=1556549382"},{"product_id":"windshield-wiper-from-stem-ii","title":"Windshield wiper 擋風玻璃水撥 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eA windshield wiper is a device for the cleaning of the front window or rear window of a vehicle, airplane, ship or a rail vehicle.  In November 1903, the American, \u003ca href=\"https:\/\/www.npr.org\/2017\/07\/25\/536835744\/alabama-woman-stuck-in-nyc-traffic-in-1902-invented-the-windshield-wiper\" target=\"_blank\"\u003eMary Anderson\u003c\/a\u003e, received the patent for the first working windshield wiper system in the world.\u003cbr\u003e\u003cbr\u003eWith the help of two push-button switches, you can query four switch positions and insert them accordingly into your program:\u003c\/p\u003e\n\u003ctable style=\"width: 96.1538%;\" border=\"1;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 39.0881%;\"\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 21.9119%; padding-left: 30px;\"\u003eI1\u003c\/td\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003eI2\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 39.0881%; padding-left: 30px;\"\u003eOFF\u003c\/td\u003e\n\u003ctd style=\"width: 21.9119%; padding-left: 30px;\"\u003eNot pressed\u003c\/td\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003eNot Pressed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 39.0881%; padding-left: 30px;\"\u003eInterval\u003c\/td\u003e\n\u003ctd style=\"width: 21.9119%; padding-left: 30px;\"\u003ePressed\u003c\/td\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003eNot Pressed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 39.0881%; padding-left: 30px;\"\u003eContinuous operation slow\u003c\/td\u003e\n\u003ctd style=\"width: 21.9119%; padding-left: 30px;\"\u003ePressed\u003c\/td\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003ePressed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 39.0881%; padding-left: 30px;\"\u003eContinuous operation fast\u003c\/td\u003e\n\u003ctd style=\"width: 21.9119%; padding-left: 30px;\"\u003eNot pressed\u003c\/td\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003ePressed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003eYou can use the light barrier to control the interval. For this, the light barrier is interrupted after every wiping cycle.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 1\u003c\/strong\u003e\u003cbr\u003eFirst, a simple task.  As soon as the rotary switch in position 1 is moved, the windshield wiper starts to move.  If it is reset to 0 then the windshield wiper stops.\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 2\u003c\/strong\u003e\u003cbr\u003eIf there is heavy rain, the windshield wiper is to move faster.  This is to happen with switch position 2.  Program your program so that when switched from position 1 to 2, the windshield wiper moves faster and when switched to 1, it is to move with the normal speed again.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003ciframe width=\"300\" height=\"168.75\" src=\"https:\/\/www.youtube.com\/embed\/yu7UHoiwVbY\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 3\u003c\/strong\u003e\u003cbr\u003eChange the program so that in switch position 1, intermittent switch control is created. In this case, the light barrier is interrupted after every wiping cycle. After two seconds, the wiping cycle is restarted.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064822-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Windshield wiper model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" style=\"float: none;\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003cimg alt=\"\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\"\u003e \u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\n\u003cimg alt=\"\" style=\"float: none;\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5760_medium.png?v=1556549016\" style=\"float: none;\"\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\" style=\"text-align: left;\"\u003e\n\u003cimg alt=\"\" style=\"float: none;\"\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5758_3f9b4086-c752-4e80-acd5-fd28048062a4_medium.png?v=1557029567\" alt=\"\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Windshield Wiper model \u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Handrier  Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II model\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe Merry-Go-Round Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-string\" target=\"_blank\"\u003eShow String\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-number\" target=\"_blank\"\u003eShow Number\u003c\/a\u003e\u003cspan\u003e, \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/on-button-pressed\" target=\"_blank\"\u003eOn Button Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e:\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/variables\/var\" target=\"_blank\"\u003eVariables\u003c\/a\u003e\u003c\/strong\u003e: \u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/variables\/assign\" target=\"_blank\"\u003eAssign\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003evariables\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-read-pin\" target=\"_blank\"\u003eDigital Read Pin\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Windshield Wiper Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1.    Comments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_M7j6x6b52Kyz\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\" alt=\"\" width=\"45\" height=\"37\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\" alt=\"\" width=\"44\" height=\"42\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" src=\"https:\/\/makecode.microbit.org\/#pub:_M7j6x6b52Kyz\" frameborder=\"0\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064822-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Windshield wiper model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable style=\"width: 99%;\" border=\"1;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\" alt=\"\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Part \/ No I\/O board \/ No micro:bit","offer_id":1605836963870,"sku":"","price":589.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ No micro:bit","offer_id":1605836996638,"sku":"","price":788.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ + micro:bit","offer_id":1605837029406,"sku":"","price":923.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ No I\/O board \/ + micro:bit","offer_id":19371057774688,"sku":"","price":724.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5758.png?v=1556549016"},{"product_id":"staircase-light-stem-ii-12-models","title":"Staircase Light 梯間照明燈 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003e\u003cstrong\u003eDo you know how to do that too?\u003c\/strong\u003e\u003cbr\u003eYou turn the light on in the staircase and after a certain time it turns itself off.  Or it turns on automatically as soon as you enter the staircase.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cstrong\u003eHow does that work?\u003c\/strong\u003e\u003cbr\u003e A small box, which is normally installed in the main current distribution for the building, insures that the staircase lighting can be turned on on every floor. After a time, which can be set, the light is then turned off automatically.\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-6\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 1\u003c\/strong\u003e\u003cbr\u003e As soon as one of the two push-button switches is pressed, the staircase lighting is to be turned on.  After 10 seconds, it is to go out automatically.\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 2\u003c\/strong\u003e\u003cbr\u003eThe staircase lighting is to be able to be turned on both with the push-button switches as well as by a light barrier.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-6\"\u003e﻿\u003ciframe src=\"https:\/\/www.youtube.com\/embed\/vuwYSsbSnL8\" height=\"168.75\" width=\"300\" allowfullscreen=\"\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003eTask 3\u003c\/strong\u003e\u003cbr\u003eAs soon as one of the two push-button switches is pressed, the staircase lighting is to be turned on. If one of the push-button switches is pressed again, the light goes out.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064830-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Staircase Light model\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThis is a specially discounted package - delivered in a clear plastic bag.  \u003c\/p\u003e\n\u003cblockquote\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eEach pack comes with the bonus fischertechik storage base (\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/box-258-x-186-blue\" target=\"_blank\"\u003ebox 250 x 186\u003c\/a\u003e) \u003c\/strong\u003e\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/94828-Aufbewahrungssystem_small.jpg?v=1555769299\" alt=\"\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/f5-version-8-outputs-6-inputs-3-3-and-5v-i-o-board-for-the-micro-bit\" target=\"_blank\"\u003e\u003cstrong\u003eI\/O board for micro:bit \u003c\/strong\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003emicro:bit pins extension board, designed specially to take advantage of  fischertechnik's unique,  flexible\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/plug-cable-connector-red-green\" target=\"_blank\"\u003ered and green round plug\u003c\/a\u003e cable connections. By design, the I\/O board rubber legs slot into the fischertechnik black base-plate grid securely.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-sm-4\"\u003e\n\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/MicroBit_IO_F_full_3e89fe6c-3e38-42a5-a9d6-bc64921c15e9_grande_copy_compact.jpg?v=1556469862\" alt=\"\"\u003e \u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5810_medium.png?v=1556549771\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: left;\" class=\"col-sm-4\"\u003e\u003cimg style=\"float: none;\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5809_medium.png?v=1556549771\" alt=\"\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eThe price below is for 1 model out of the 12 models STEM II pack.  If you want to build all 12 models, order the \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/fischertechnik\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efull STEM II pack\u003c\/a\u003e instead.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eThe fischertechik  advantage\u003c\/h5\u003e\n\u003cul\u003e\n\u003cli\u003eAll model parts can be reused and recycled for other projects and student's creative pieces.    fischertechnik is made in Germany with quality and precision.\u003c\/li\u003e\n\u003cli\u003eNo soldering.  Ideal for all ages, promote problem solving, changes on the fly as debugging and adjustment can be done instantly.    All works can be done to perfection as even the smallest adjustment can be accommodated, thanks to \u003cspan\u003e\u003cstrong\u003ethe complete range of mechanical\/structural and electronic blocks offered by fischertechnik.\u003c\/strong\u003e\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003eOne of the 12 models of \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003eSTEM 2\u003c\/a\u003e.   You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time.  \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e micro:bit code\u003c\/h5\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 1 - micro:bit block commands used in the Staircase Light Model\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003eTo achieve fluency and competency in micro:bit coding, you really need to get a thorough understanding of each of the block catagories to be used in the Staircase Light Model (see part 2 below for the full code).    Fortunately, all the reference guides are available on the BBC micro:bit web site for you to get a deeper and more comprehensive understanding and mastery.\u003c\/p\u003e\n\u003cp\u003eThrough every \u003ca href=\"https:\/\/www.etchkshop.com\/collections\/bbc-micro-bit\/products\/bbc-micro-bit-fischertechnik-stem\" target=\"_blank\"\u003efischertechnik STEM II models\u003c\/a\u003e (12 of them), you can learn, practise, build fluency and confidence in coding.\u003c\/p\u003e\n\u003cp\u003eThe \u003cspan\u003eStaircase Light\u003c\/span\u003e Model used the following micro:bit blocks.  You can click to lean more about each of the block catagories.  The links bring you directly to the respective part of the BBC micro:bit reference document site, where live codes are included for you to understand, try, and download:\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv style=\"background-color: #f2f2f2; padding-left: 10px;\"\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\" target=\"_blank\"\u003eBasic\u003c\/a\u003e\u003c\/strong\u003e (basic micro:bit functions and actions):  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/on-start\" target=\"_blank\"\u003eOn Start\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-leds\" target=\"_blank\"\u003eShow LED\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/show-icon\" target=\"_blank\"\u003eShow icon\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/basic\/pause\" target=\"_blank\"\u003ePause\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\" target=\"_blank\"\u003eInput \u003c\/a\u003e\u003c\/strong\u003e(events and inputs from sensors):   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/input\/button-is-pressed\" target=\"_blank\"\u003eButton is Pressed\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\" target=\"_blank\"\u003eLoops\u003c\/a\u003e\u003c\/strong\u003e:   \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/loops\/while\" target=\"_blank\"\u003eWhile Loop\u003c\/a\u003e (repeat code while a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\" target=\"_blank\"\u003eLogic\u003c\/a\u003e:  \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/if\" target=\"_blank\"\u003eIf\u003c\/a\u003e (\u003c\/strong\u003econditionally run code depending on whether a \u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/logic\/boolean\" target=\"_blank\"\u003eBoolean\u003c\/a\u003e condition is true or false)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/variables\/var\" target=\"_blank\"\u003eVariables\u003c\/a\u003e\u003c\/strong\u003e: \u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/blocks\/variables\/assign\" target=\"_blank\"\u003eAssign\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003evariables\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\" target=\"_blank\"\u003eFunction\u003c\/a\u003e:\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/define\" target=\"_blank\"\u003eDefine\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function,\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/types\/function\/call\" target=\"_blank\"\u003eCalling\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ea function\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e\u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\" target=\"_blank\"\u003ePins\u003c\/a\u003e\u003c\/strong\u003e (Control currents in Pins for analog\/digital signals, servos, i2c,...) :   \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-write-pin\" target=\"_blank\"\u003eDigital Write Pin\u003c\/a\u003e, \u003ca href=\"https:\/\/makecode.microbit.org\/reference\/pins\/digital-read-pin\" target=\"_blank\"\u003eDigital Read Pin\u003c\/a\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003e\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\"\u003c\/span\u003e Staircase Code  \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp\u003e  The following code has used all the mentioned blocks in Part 1 above.    \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eComments In English, click the \" ? \" on block to find out the comment (meaning) of the block code.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf you read this page on a computer with wider screen size, you will be able to see the micro:bit simulator that is fully clickable.\u003c\/li\u003e\n\u003cli\u003eIf you cannot see the code, such as on a mobile phone, please  click\u003ca href=\"https:\/\/makecode.microbit.org\/_ECxFJpXcMPEh\" target=\"_blank\"\u003e this link\u003c\/a\u003e instead.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"37\" width=\"45\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/crop_large.png?v=1503499426\"\u003e to open the code on the micro:bit website for further editing and modification.\u003c\/li\u003e\n\u003cli\u003eClick  \u003cimg height=\"42\" width=\"44\" alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/download_large.png?v=1503499606\"\u003e to download this code to your micro:bit for immediate use or to save on your computer.     \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"position: relative; height: 0; padding-bottom: 70%; overflow: hidden;\"\u003e\u003ciframe src=\"https:\/\/makecode.microbit.org\/#pub:_ECxFJpXcMPEh\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" sandbox=\"allow-popups allow-forms allow-scripts allow-same-origin\" frameborder=\"0\"\u003e\u003c\/iframe\u003e\u003c\/div\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003e Online guide\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064830-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Staircase Light model\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/73283\" target=\"_blank\"\u003emicro:bit coding with input and output guides here\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch5\u003eI\/O board\u003c\/h5\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable border=\"1;\" style=\"width: 99%;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; text-align: left; padding-left: 30px;\"\u003eConnector\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003eNo.\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003eDescription\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eOutputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; text-align: center;\"\u003e8\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e8 x light\/LED\u003c\/p\u003e\n\u003cp\u003e4 x DC motor\u003c\/p\u003e\n- \u003cstrong\u003e600mA per output\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e- 6 - 9 V\u003c\/strong\u003e\u003cbr\u003e\n\u003cul style=\"padding-left: 30px;\"\u003e\u003c\/ul\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eInputs\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e6\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 30px;\"\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e5 x analog\/ digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e1 x digital\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e\u003cstrong\u003e- signal up to 5V\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eI2C\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x connector (SCL, SDA)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e\n\u003cp\u003e1 x sensor power supply connection\u003c\/p\u003e\n\u003cp\u003e(6-9V power supply)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003e3.3 V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x sensor power supply connection\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003eBattery\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x battery (6 - 9 V) min 4.5 V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr style=\"padding-left: 30px;\"\u003e\n\u003ctd style=\"width: 25%; padding-left: 30px;\"\u003e\u003cstrong\u003ePower Supply\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd style=\"width: 16.3507%; padding-left: 30px;\"\u003e1\u003c\/td\u003e\n\u003ctd style=\"width: 74.6493%; padding-left: 60px;\"\u003e1 x universal power adaptor ( 6 - 9 V) min 4.5 v\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003c\/p\u003e\n\u003cp style=\"padding-left: 30px;\"\u003e \u003ca href=\"https:\/\/drive.google.com\/file\/d\/1yEuZEzwlqx7qqbtLTBjtINohXp1BHvEl\/view?usp=sharing\" target=\"_blank\"\u003e\u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/files\/Screen_shot_2019-04-30_at_5.34.15_PM_large.png?v=1556617008\"\u003e\u003c\/a\u003e\u003c\/p\u003e","brand":"fischertechnik","offers":[{"title":"Model Pack \/ No I\/O board \/ No micro:bit","offer_id":1606262259742,"sku":"","price":304.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ No micro:bit","offer_id":1606262325278,"sku":"","price":503.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ + I\/O board \/ + micro:bit","offer_id":1606262358046,"sku":"","price":638.0,"currency_code":"HKD","in_stock":true},{"title":"Model Pack \/ No I\/O board \/ + micro:bit","offer_id":19370027155552,"sku":"","price":439.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5809.png?v=1556549771"}],"url":"https:\/\/www.etchkshop.com\/collections\/smart-living-space\/smart-neighbourhood.oembed","provider":"ETC Educational Technology Connection (HK) Ltd","version":"1.0","type":"link"}