All tutorials

Environment Detective: Exploring Our World with micro:bit

microbitmakecodeBeginner ⏱ 45 mins

Overview

Ever wondered how technology can help us understand the world around us?

In this project, you are going to become an environment detective using your and its built-in sensors.

Just like your senses help you explore the world, the micro:bit can tell you:

  • How warm or cold it is using its
  • How bright or dark it is using its
  • Which direction you are facing using its

You will make the readings appear on the micro:bit’s .

🎯

What you'll learn

  • Read the temperature using the micro:bit’s temperature sensor
  • Measure how bright or dark it is
  • Find out which direction you are facing
  • Show numbers, letters and a bar graph on the LED matrix
  • Use a variable and if blocks to let your code make decisions

Are you ready to start exploring? Let’s begin our detective adventure!