{"title":"Smart work area 智能工作間","description":null,"products":[{"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":"motor-test-bench-stem-ii-12-models","title":"Motor Test Bench 馬達測試台 @STEM II 12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eAn engine test bench allows certain technical data on the engine to be tested or measured. Typical data includes such values as the rpm, temperature or output. In the case of internal combustion engines such as in cars, motorcycles and trucks, this is done frequently. This allows engineers to observe the behavior of the engines at high loads or at extremely low temperatures.\u003c\/p\u003e\n\u003cp\u003eFor your motor it is important that it turns in the direction intended by the program.\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;\"\u003eWith your own motor test bench you see whether the connected motor is operating properly.  As long as button I1 is pressed, the motor should turn counter-clockwise.  As soon as button I2 is pressed it should turn clockwise. The motor should stop when neither of the buttons is pressed. Simultaneously a red light should indicate when the motor is turning counter-clockwise and a green light when it is turning clockwise.\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\/NJDOe8ipZfE\" 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\u003e \u003c\/p\u003e\n\u003cp\u003eSee \u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064827-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Motor Test Bench 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\"\u003e \u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5887_medium.png?v=1556550810\" alt=\"\"\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col-sm-4\"\u003e \u003cimg alt=\"\" src=\"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5835_medium.png?v=1556550810\" style=\"float: none;\"\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 Motor Test Bench 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 Motor Test Bench 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 Motor Test Bench 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\"\u003eShow LEDs\u003c\/a\u003e, \u003cspan\u003e \u003c\/span\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\/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\/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\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 Motor Test Bench 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\/_JEqfxX5M7K7r\" 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:_JEqfxX5M7K7r\" 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\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064827-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Motor Test Bench 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":1606430556190,"sku":"","price":418.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ +  I\/O board \/ No micro:bit","offer_id":1606430588958,"sku":"","price":617.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ +  I\/O board \/ + micro:bit","offer_id":1606430621726,"sku":"","price":752.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ No I\/O board \/ + micro:bit","offer_id":19371410653280,"sku":"","price":553.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5835.png?v=1556550810"},{"product_id":"press-with-safety-switch-stem-ii-12-models","title":"Press with safety switch 安全打壓機 @STEM II @12 models","description":"\u003cp\u003e \u003c\/p\u003e \n\u003cp\u003eMachines make our lives easier by accomplishing heavy and dangerous work for us.  However machines sometimes pose a danger themselves.  Automatic punching machines or presses are typical examples.  On the one hand it is necessary to get very close to the machine to insert the parts to be processed. On the other it is imperative to stay away from the machine when it starts operating.\u003c\/p\u003e\n\u003cp\u003eIn order to protect machine operators, safety experts have come up with safety devices such as two-hand controls and light barriers.\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;\"\u003eThe machine should start only when both buttons are pressed simultaneously to ensure that neither of the operators hands can be in the machine. When one of the buttons is released or the light barrier interrupted, the machine should stop.\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\/VZf1bCjddzU\" 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\/1064819-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Press with Safety Switch 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=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5747_compact.png?v=1554355807\" 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\/DSCF5742_554e4d22-3871-4d4d-b500-1ba13b7c544b_medium.png?v=1557047721\" 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\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 Press with Safety Switch 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 Press with Safety Switch 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 \u003cspan\u003ePress with Safety Switch \u003c\/span\u003eModel 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\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\/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\/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\n\u003cspan style=\"color: #e69138;\"\u003ePart 2   The \u003cspan style=\"color: #000000;\"\u003e\"live\" \u003c\/span\u003e\u003c\/span\u003e\u003cspan style=\"color: #e69138;\"\u003ePress with Safety Switch \u003c\/span\u003e\u003cspan style=\"color: #e69138;\"\u003e \u003cspan style=\"color: #000000;\"\u003e- Understand, Edit and Download\u003c\/span\u003e\u003c\/span\u003e\n\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\/_2pC09kLf4MPe\" 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:_2pC09kLf4MPe\" 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\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003cspan\u003eSee \u003c\/span\u003e\u003ca href=\"http:\/\/etchk.screenstepslive.com\/s\/etcsup\/m\/86471\/l\/1064819-\" target=\"_blank\"\u003eonline guide with\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003emicro:bit coding samples\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003efor the Press with Safety Switch 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":1606675496990,"sku":"","price":324.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ No micro:bit","offer_id":1606675529758,"sku":"","price":523.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ + I\/O board \/ + micro:bit","offer_id":1606675562526,"sku":"","price":658.0,"currency_code":"HKD","in_stock":true},{"title":"Model Part \/ No I\/O board \/ + micro:bit","offer_id":19372993052768,"sku":"","price":459.0,"currency_code":"HKD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0214\/4060\/products\/DSCF5742.png?v=1554355807"}],"url":"https:\/\/www.etchkshop.com\/collections\/smart-work-area\/single-micro-bit-model-from-pack.oembed","provider":"ETC Educational Technology Connection (HK) Ltd","version":"1.0","type":"link"}