top of page
KittyCode Programming Challenge

Make a Step Counter with Your micro:bit

Program your micro:bit to count your steps for the sun ball lab! 

Kalapa Steps.png
New project.png

1 - Start a new project in MakeCode

Go to "MakeCode.microbit.org" to start a new project by clicking the new project icon above. Click the purple plus box labeled "New Project" to begin.

2- Start your steps at zero!

Program your micro:bit to start your steps at zero and tell you when to start walking. Try these blocks:

1_basic.png
Start Block.png
Screen Shot 2019-08-15 at 3.45.54 PM.png
8_Variables.png
Screen Shot 2019-06-25 at 2.29.31 PM.png
Screen Shot 2019-08-15 at 3.49.32 PM.png
Screen Shot 2019-08-15 at 3.49.41 PM.png
Need Help_ Heres a Tip.png

3- Show your steps!

Program your micro:bit to display the steps it has counted. Try these blocks:

1_basic.png
Forever.png
8_Variables.png
Screen Shot 2019-08-15 at 3.49.32 PM.png
show number.png
Screen Shot 2019-08-21 at 12.20.13 PM.pn
Need Help_ Heres a Tip.png

4- Count your steps!

Program your micro:bit to count your steps when it has been shaken. Try these blocks:

2_Input.png
Screen Shot 2019-08-08 at 3.43.13 PM.png
8_Variables.png
Screen Shot 2019-08-21 at 12.01.27 PM.pn
4_LED.png
Screen Shot 2019-08-21 at 12.03.40 PM.pn
Need Help_ Heres a Tip.png

5- Restart your steps!

Program your micro:bit to restart your counter when you press the "A" button. Try these blocks:

2_Input.png
microbit_memorygame_step3.png
8_Variables.png
Screen Shot 2019-08-15 at 3.49.41 PM.png
1_basic.png
Screen Shot 2019-08-15 at 3.45.54 PM.png
Need Help_ Heres a Tip.png

Hooray! You did it!

If you need help, click me to see the finished product!

Plus.png
bottom of page