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
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
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.
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.
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.
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.
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.
NEP Alignment: Spatial mapping, geography fundamentals, and practical navigation. Curriculum Mapping: EVS/Social Science (Directions: North, South, East, West). Target Level: Class 3.