Bell

This is preview content for the 2026-27 academic year. Your feedback will help us improve these units.

Before you continue

This is preview content for the 2026-27 academic year. Your feedback will help us improve these units.

Learning objective

  • To program a product to respond to directional sensors and function as a compass.

Success criteria

  • I can use conditions to program a micro:bit
Lock

This content is for subscribers only. Join for access today.

National curriculum

Design and technology

Evaluate

Pupils

Lock

This content is for subscribers only. Join for access today.

Before the lesson

Lock

This content is for subscribers only. Join for access today.

Lesson plan

Recap and recall

Explain that the children will create a mind map to recall what they learnt about programming a pedometer. Hand out whiteboards and pens. Show the Presentation: Mind map. Read the slide aloud and allow time for the children to complete the activity.

Lock

This content is for subscribers only. Join for access today.

Adaptive teaching

Pupils needing extra support: 

  • Could have the instructions for using a compass modelled to support them in finding north and consequently the other directions.
  • Could use the Resource: Programming a compass to support coding conditions step-by-step.
  • Could use a visual aid showing compass points and their degrees to support accurate input of conditions.
  • Could input only exact compass points (for example, N = 0°) to simplify the coding process.
  • Could use a circular protractor with 360° to help them identify the correct degrees for each point.

Pupils working at greater depth:

  • Should adapt variables and conditions independently to extend the compass to NE, SE, SW and NW.
  • Should explain how inputting degrees in the ‘if’ section of the coded conditions results in the correct letters in the ‘then’ section.
Lock

This content is for subscribers only. Join for access today.

Assessing progress and understanding

Pupils with secure understanding can:

  • Use variables and conditions in MakeCode to program
Lock

This content is for subscribers only. Join for access today.

Vocabulary definitions

  • code

    A set of instructions that tells a computer or device what to do.

  • compass

    A device that gives directions in relation to north, south, east and west.

Lock

This content is for subscribers only. Join for access today.

Our team comprises experienced classroom teachers who love the foundation subjects
Find out more
Kapow logo

Maintained by: Kapow Primary team

_
Please don’t screenshot or copy images from this page.
Kapow Primary resources are created by teachers and protected by copyright. Copying images or slides into your own presentations (for example using the Snipping Tool) counts as reproducing the resource and isn’t permitted under the Kapow licence.
This resource is being accessed through your school’s Kapow licence.
Thank you for respecting the work of the teachers who create these materials.