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.

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:

Hooray! You Did It!

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

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

Plus.png