The 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. And now what all happens during a washing operation? A washing cycle, a spin cycle and a drying cycle are performed. In the following exercises, you will become familiar with and program various program parts. Task 1 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 Task 2 Change the program so that the washing machine only starts when the safety switch for the door is closed. Task 3 Place a spin cycle in the programme. Here the motor is to run at full speed for 15 seconds Task 4 Expand the program with a drying cycle 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. Task 5 During the program sequence, the user is always to be shown the current cycle in the text display. When all washing is completed then the end is also to be shown in the display. Change your program accordingly. See online guide with micro:bit coding samples for the Washing Machine model. See micro:bit coding with input and output guides here. This is a specially discounted package - delivered in a clear plastic bag. Each pack comes with the bonus fischertechik storage base (box 250 x 186) I/O board for micro:bit micro:bit pins extension board, designed specially to take advantage of fischertechnik's unique, flexible red and green round plug cable connections. By design, the I/O board rubber legs slot into the fischertechnik black base-plate grid securely. The price below is for 1 model out of the 12 models STEM II pack. If you want to build all 12 models, order the full STEM II pack instead. The fischertechik advantage All model parts can be reused and recycled for other projects and student's creative pieces. fischertechnik is made in Germany with quality and precision. No 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 the complete range of mechanical/structural and electronic blocks offered by fischertechnik. One of the 12 models of STEM 2. You can now order it on its own for easy whole class lesson, without needing to pick and sort building blocks every time. micro:bit code Part 1 - micro:bit block commands used in the Washing Machine Model To 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. Through every fischertechnik STEM II models (12 of them), you can learn, practise, build fluency and confidence in coding. The 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: Basic (basic micro:bit functions and actions): On Start, Show icon, Show String, Pause Input (events and inputs from sensors): On Button Pressed Loops: While Loop (repeat code while a Boolean condition is true), Repeat Logic: If (conditionally run code depending on whether a Boolean condition is true or false) Function: Define a function, Calling a function Pins (Control currents in Pins for analog/digital signals, servos, i2c,...) : Digital Write Pin Part 2 The "live" Washing Machine Code - Understand, Edit and Download The following code has used all the mentioned blocks in Part 1 above. Comments In English, click the " ? " on block to find out the comment (meaning) of the block code. If 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. If you cannot see the code, such as on a mobile phone, please click this link instead. Click to open the code on the micro:bit website for further editing and modification. Click to download this code to your micro:bit for immediate use or to save on your computer. Online guide See online guide with micro:bit coding samples for the Washing Machine model. See micro:bit coding with input and output guides here. I/O board Connector No. Description Outputs 8 8 x light/LED 4 x DC motor - 600mA per output- 6 - 9 V Inputs 6 5 x analog/ digital 1 x digital - signal up to 5V I2C 1 1 x connector (SCL, SDA) 5V 1 1 x sensor power supply connection (6-9V power supply) 3.3 V 1 1 x sensor power supply connection Battery 1 1 x battery (6 - 9 V) min 4.5 V Power Supply 1 1 x universal power adaptor ( 6 - 9 V) min 4.5 v