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
This content is for subscribers only. Join for access today.
National curriculum
Design and technology
Evaluate
Pupils
This content is for subscribers only. Join for access today.
Cross-curricular links
Before the lesson
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.
This content is for subscribers only. Join for access today.
Extended-mode explainer videos
How to extend your display to view the lesson page and presentation mode simultaneously. Choose your operating system below to watch the video
If you need further support with extending your display,
please contact [email protected].
Extended-mode explainer video: For Mac
Extended-mode explainer video: For Windows
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.
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
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.
This content is for subscribers only. Join for access today.