Controlling input/output devices using Flowol
Next week – optional session Debugging workshop for your game
Gain further experience in programming (sequence, selection and repetition) with different forms of input/output Know how to control physical systems at KS2 level
Activity 1 Use Flowol to control a zebra crossing Image: zetaled.co.uk
What about using switches?
Activity 2 Explore the ‘mobile’ mimic, using input devices (switches) and output devices (lights, motors, etc.) How can you get 2 or more outputs when you press a switch? Mobile toys (outputs) Switches (inputs)
Activity 3 Create a program for the light and fog horn work on the lighthouse mimic. Where’s the ‘switch’? Image: boatpix.co.uk
Activity 4 Investigate the ‘Big Wheel’ mimic. Make the wheel operated by a switch How could we make the wheel speed up?
Your task Create a program to control a big wheel. The program must make the big wheel: Attractive to passers-by (e.g. lights or music?) Safe (e.g. will only start once the gate is closed) Exciting (e.g. wheel speeds up, changes direction)
Linking to control boxes – controlling physical systems
Gain further experience in programming (sequence, selection and repetition) Know how to control physical systems at KS2 level