Step by step

The accelerator in the micro:bit can be used to detect the orientation of the micro:bit and any shake. In this challenge, we will build our very own pedometer (step counter) to record the number of steps you walk in a day. As it is recommended that one person should walk at 10000 steps a day. this gadget will alert the user once the 10000-th step is taken.

Connection Guide

Block Editor Code

Download the block editor code for this challenge. The hex file is contained in a zip folder.

Refer here for instructions on importing code into Micro:bit. 

This code can be imported into the micro:bit block editor.

Dr Bit Code

Download the Dr Bit solutions  for this challenge. The Dr Bit file is contained within a zip folder.

Download Dr Bit PC software.

Download the Dr Bit app.

Learning Points

  • Use the on-board accelerator as an input
  • Introduce increments and activate the actuator modules such as vibrating motor and buzzer module.

Additional Challenge

  • Experiment different place of strapping your project to different parts of your body and see how accurate it is.

Keep in touch

We would love to keep you up to date with all of our latest news, offers and new products.

If you would like to subscribe to our mailing list please click the button below.

Contact Us

ScienceScope Limited
Downside School
Stratton-on-the-Fosse
Radstock
BA3 4RJ
enquiries@sciencescope.uk

Follow Us

#digitaleducationjourney