Lesson 4: Programming a Pedometer

With some support, children investigate how to turn the BBC micro:bit into a pedometer and work on developing their debugging skills further

Learning Objectives

  • Creating a program

  • Recognising code blocks

  • Decomposing a programe

  • Debugging a program

Lesson Plan

Decomposing and debugging
See the plan


Debugging tips
Pedometer Challenge Sheet
micro:bit Pedometer Challenge.hex
Created by:
Sway Grantham,  
Computing specialist
Sway Grantham (@SwayGrantham) is a Primary School Teacher, a CAS Master Teacher and Specialist Leader in Education for Primary ICT. She also has a BCS Certificate in Computer Science Teaching (Primary). She has written several curricula and conducted research into the…
Find out more
video-icon icon-checked
I have completed this lesson