Skip to content

Unit of work

Data handling

Computational thinking, Mathematics, Programming | MakeCode | 7-11 yrs

Lesson 2

Data treasure hunt


Pupils go on a treasure hunt around school to find data before learning about sensors and writing programs to record the temperature in different locations. They consider what the data they have collected shows and identify patterns.

Learning objectives

  • To understand that some devices uses sensors
  • To write simple programs using sensors
  • To use the BBC micro:bit to collect data

You will need

Downloadable resources:

  • Lesson plan
  • Lesson slides
  • Student handouts
    • School treasure hunt
    • Recording data
  • HEX files
    • simple temperature sensor
    • temperature support

Other resources:

micro:bits, micro:bit battery packs, MakeCode editor

Lesson plan