3. Case 03: The Gyroscope Base#

3.1. Purpose#


To make a gyroscope baseboard.

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

3.3. Materials Required#


../../_images/case-03-02.png

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

3.4. Bricks build-up#


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

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

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

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

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

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

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

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

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

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

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

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

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

3.5. Hardware Connection#

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

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

3.6. Software Platform#


MakeCode

3.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-03-05.png

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