Learn how to program your micro:bit to take readings from its sensors
Building on your learning in the LEDs and buttons sets, these projects and videos will show you how to program your micro:bit to sense movement, temperature and magnetic fields.
Each set of projects is designed to build your understanding and confidence progressively. You can pick one or work through them all to develop your understanding of using the micro:bit’s sensors.
Set 2: Step counter
In this sequence of projects, you’ll learn how to use the accelerometer to program increasingly sophisticated step counters.
Set 3: Thermometer & compass
In this sequence of projects, you’ll learn how to transform your micro:bit into a compass and thermometer.
Learn more about the compass on the micro:bit