Share via


Step Counter 3000 - transform a micro:bit into a step counter​

The micro:bit is a pocket-sized computer that introduces how software and hardware work together. This activity helps students learn how to code by turning a micro:bit into a step counter (or pedometer). The activity is completed using the micro:bit’s accelerometer to count how many times the micro:bit has been shaken or moved. ​

  • Audience: Middle school students (ages 9-12) with an interest in STEM and interactive learning experiences.
  • Length: 3 hours
  • Learning objectives for learners
    • Create a step counter to keep track of their steps and complete a design activity to build an effective way to carry the micro:bit with them.
    • Understand the fundamental concepts of technology operations, demonstrate the ability to use and troubleshoot current technologies and transfer their knowledge to explore emerging technologies.
    • Learn how to use a design process to generate ideas, test theories, and create innovative solutions.
    • Learn how to define problems, analyze data, and develop models to solve complex issues.

Activity introduction

Step Counter 3000

Materials required

  • micro:bit ​
  • USB cord​
  • 2 AAA batteries and battery pack​
  • something to attach the micro:bit to participants shoe or leg – elastic band, a pipe cleaner, tape, or Velcro.

Activity walkthrough

Download instruction materials

Instructor facilitation guide

A graphic displaying a logo of Microsoft's collaboration with STEM and Sports.