Physical Variables
These are great to use with pupils who are programming control tech such as the Crumble or Micro:bit.
- As an introduction before introducing a new type of variable use (5 minute activity)
- As a support activity when you spot pupils who don’t understand variables in block based programming languages such as Scratch, Crumble, Blockly, Tickle etc
Variable activities covered
- Temperature variable controls what actions happen, includes conditional selection AND OR
- Slider variable controls how many times jump
- Dial controls how many times program bows
- Distance sensor controls how many times swing arms per second
- Distance sensor controls how many times say beep per second
- Movement sensor (PIR) controls if buzzer on or off
- Movement sensor (PIR) controls if buzzer off or no
- Movement sensor controls how long between handclaps
- Changing length between claps by changing variable in a loop
- Changing length between claps by changing variable in a loop