Step Counter

The Project

This project uses the "accelerometer" feature of the microbit to count steps. With each step I take, the number on the microbit display increases by one — from 0 to 1, then 2, and so on. I wrote a program that uses a variable to keep track of the step count. Each time the micro\:bit detects a shake (which happens when I take a step), the variable increases by 1, and the updated number is shown on the LED display. I was inspired by fitness trackers and wanted to build a simple version myself using microbit. One of the most challenging parts was adjusting the sensitivity of the shake detection so that it only counted real steps and not random movements. It was a great learning experience! Thank you for taking the time to see my project!

Hardware

About the team

  • India

Team members

  • jahanvi