Back to Sense HAT projects

Compass Maze

In this project you will use the the Sense HAT as a compass to navigate out of a maze of colourful rooms. You will need to point the Sense HAT in the direction you want to move and then press the button in the middle of the joystick to make a move.

Start project Download lesson plan PDF
Compass maze

What you will learn

  • How to use the Sense HAT magnetometer (get_compass())

What you will need

  • We recommend using Trinket to write Python code online

Curriculum alignment for this project

Use this guide to see how Code Club delivers on the NDTC.