1. Case 01: The Motorcycle#

1.1. Purpose#


To make a motorcycle with the Wonder Building kit.

../../_images/case-01-01.png

1.3. Materials Required#


../../_images/case-01-02.png

Video link: https://youtu.be/rLnMMkofipM

1.4. Bricks build-up#


../../_images/step-case-01-01.png

../../_images/step-case-01-02.png

../../_images/step-case-01-03.png

../../_images/step-case-01-04.png

../../_images/step-case-01-05.png

../../_images/step-case-01-06.png

../../_images/step-case-01-07.png

../../_images/step-case-01-08.png

../../_images/step-case-01-09.png

../../_images/step-case-01-10.png

../../_images/step-case-01-11.png

../../_images/step-case-01-12.png

1.5. Hardware Connection#

将两个电机分别连接到悟空扩展板的M1,M2接口.

../../_images/Wonder-Building-Kit-case-01-06.png

1.6. Software Platform#


MakeCode

1.7. Coding#


Add extensions#

Click “Advanced” in the MakeCode to see more choices.

../../_images/case-01-03.png

Search with Wukong in the dialogue box to download it.

../../_images/case-01-04.png

Program#

../../_images/case-01-05.png

Link:https://makecode.microbit.org/_K6mFyJ16ofCj