All tutorials

MicroFit - Your very own Step Counter

microbitpythonBeginner ⏱ 10 mins

Overview

Ever wondered how a smartwatch or fitness band counts your steps? In this project, you're going to build your very own step counter using a !

Inside your micro:bit is a clever little sensor called an . It can feel when the micro:bit moves. We'll use it to spot every step you take, add them up, and show the total on the (the grid of lights on the front).

The best bit? When you're done, you'll have a real working fitness tracker you can pop on and take outside. Don't worry if something doesn't work first time, that's all part of coding. Let's give it a go!

🎯

What you'll learn

  • Make and use your own
  • Use the micro:bit's shake sensor to spot movement
  • Show a number on the grid of lights
  • Use the buttons to control your project
  • Use a
  • Make decisions with s