Physical Variables

Physical Variables

physical variables PDF

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

  1. Temperature variable controls what actions happen, includes conditional selection AND OR
  2. Slider variable controls how many times jump
  3. Dial controls how many times program bows
  4. Distance sensor controls how many times swing arms per second
  5. Distance sensor controls how many times say beep per second
  6. Movement sensor (PIR) controls if buzzer on or off
  7. Movement sensor (PIR) controls if buzzer off or no
  8. Movement sensor controls how long between handclaps
  9. Changing length between claps by changing variable in a loop
  10. Changing length between claps by changing variable in a loop