Stemoto LogoStemoto

Magnetic Compass Treasure Hunt

Source: Stemoto Original

Use the built-in magnetometer in the micro:bit to code a simple digital compass that points an LED arrow toward Magnetic North. Hide 'treasure' (sticky notes with problems) around the room and give students directional clues to find them using their coded compass.

Categorisation

Stage 2: Builder (8-10)Spatial & Abstract ReasoningAlgorithmic & Procedural ThinkingTabletop & Physical PropsScreen-Assisted / HybridCoding ActivitySTEM Experiment

Props & Materials Required

  • micro:bit (with built-in magnetometer/compass)
  • Sticky notes
  • Markers
  • Room or outdoor space for the treasure hunt

Step-by-Step Instructions

1

Code the Compass

In MakeCode, program the micro:bit's magnetometer: display an arrow on the LED matrix that always points toward Magnetic North, regardless of how the micro:bit is rotated.

2

Calibrate

When the program starts, the micro:bit will ask you to tilt it in a circle to calibrate the compass. Do this in the center of the room.

3

Hide the Treasure

Write math problems or vocabulary words on sticky notes. Hide them around the room — one on the North wall, one on the East bookshelf, one under the South table.

4

Give the Clues

Hand out clue cards: 'Walk 5 steps North, then 3 steps East. Look under the nearest table.' The child uses their coded compass to determine direction and follow the clues.

5

Solve and Score

When a treasure sticky note is found, the child must solve the math problem or define the vocabulary word on it to earn points. First to solve all treasures wins!

Why It Works & Notes

Spatial mapping, geography fundamentals, and practical navigation combined into an exciting treasure hunt. Children learn that North, South, East, and West are not just textbook words — they are real directions that a sensor can detect and that they can use to navigate.

Parent Note:

NEP Alignment: Spatial mapping, geography fundamentals, and practical navigation. Curriculum Mapping: EVS/Social Science (Directions: North, South, East, West). Target Level: Class 3.