Year 6 – Programming B - Sensing movement

Curriculum KS2 Unit


This unit is the final KS2 programming unit and brings together elements of all the four programming constructs: sequence from Year 3, repetition from Year 4, selection from Year 5, and variables (introduced in Year 6 – ‘Programming A’). It offers pupils the opportunity to use all of these constructs in a different, but still familiar environment, while also utilising a physical device — the micro:bit. The unit begins with a simple program for pupils to build in and test within the new programming environment, before transferring it to their micro:bit. Pupils then take on three new projects in Lessons 2, 3, and 4, with each lesson adding more depth.

Unit guide

Updated: 10 Feb 2023

Learning graph

Updated: 10 Feb 2023


Updated: 10 Feb 2023


Lesson 1

The micro:bit

Lesson 2

Go with the flow

Lesson 3

Sensing inputs

Lesson 4

Finding your way

Lesson 5

Designing a step counter

Lesson 6

Making a step counter