Skip to content

Programming step-counters

Lesson 3 of 5

MakeCode

7-11 yrs

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.

Key learning:

  • 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 may also be interested in

This unit of four lessons is suitable for students aged 7-8 years. They create nature representations, firstly using art materials and are introduced to computational thinking and programming the LEDs on the BBC micro:bit. 

Five lessons aimed at students aged 7-8 years. Students design and program digital flashcards to help them learn a foreign language using the BBC micro:bit.

Five lessons aimed at students aged 8-9 years. Students explore animations, developing their computational thinking and use repetition to create volcanic eruption animations using the LEDs on the BBC micro:bit.