5. Case 05: Rotary Chairs#

5.1. Purpose#


To make a rotary chair project.

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

5.3. Materials Required#


../../_images/case-05-02.png

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

5.4. Bricks build-up#


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5.5. Hardware Connection#

将一个电机连接到悟空扩展板的M2接口.

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

5.6. Software Platform#


MakeCode

5.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-05-05.png

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