Skip to content

Unit of work

Getting active

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

Lesson 3

Programming step-counters

Introduction

Pupils consider how activity trackers record the number of steps a person takes and write algorithms to represent this. They then use the MakeCode editor to use the BBC micro:bit as a step-counter and evaluate its effectiveness.

Learning objectives

  • To identify the uses of a step-counter
  • To write an algorithm for a step-counter
  • To program the BBC micro:bit as a step-counter

You will need

Downloadable resources:

  • Lesson plan
  • Lesson slides
  • Student handouts
    • Identifying the actions of a program
    • Identifying the actions support
  • HEX file

Other resources:

MakeCode editor, paper - large sheets, micro:bits (optional)

Lesson plan