top of page
KittyCode Programming Challenge

Make an Accelerometer with Your micro:bit

An accelerometer is something that can measure how fast something is going. Program your micro:bit to measure the speed of your Blocky car.

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- Create Your Accelerometer

Micro:bits track their speed by how fast they are being shaken in any direction. Program your micro:bit to show this number when it has been shaken. Try these blocks:

2_Input.png
1_basic.png
Screen Shot 2019-08-08 at 3.43.13 PM.png
Screen Shot 2019-08-08 at 3.46.20 PM.png
Screen Shot 2019-08-08 at 3.46.08 PM.png

Hooray! You Did It!

Rubberband your micro:bit to your Blocky car then roll it down a ramp and record your speed reading.

Need Help_ Heres a Tip.png

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

Plus.png
bottom of page