26. Case 24: The Top Emitter#

26.1. Purpose#


Make a top emitter.

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

26.3. Materials Required#


../../_images/Wonder-Building-Kit-step-case-24-01.png

26.4. Bricks build-up#


../../_images/Wonder-Building-Kit-step-case-24-02.png

../../_images/Wonder-Building-Kit-step-case-24-03.png

../../_images/Wonder-Building-Kit-step-case-24-04.png

../../_images/Wonder-Building-Kit-step-case-24-05.png

../../_images/Wonder-Building-Kit-step-case-24-06.png

../../_images/Wonder-Building-Kit-step-case-24-07.png

../../_images/Wonder-Building-Kit-step-case-24-08.png

../../_images/Wonder-Building-Kit-step-case-24-09.png

../../_images/Wonder-Building-Kit-step-case-24-10.png

../../_images/Wonder-Building-Kit-step-case-24-11.png

../../_images/Wonder-Building-Kit-step-case-24-12.png

../../_images/Wonder-Building-Kit-step-case-24-13.png

../../_images/Wonder-Building-Kit-step-case-24-14.png

../../_images/Wonder-Building-Kit-step-case-24-15.png

../../_images/Wonder-Building-Kit-step-case-24-16.png

../../_images/Wonder-Building-Kit-step-case-24-17.png

../../_images/Wonder-Building-Kit-step-case-24-18.png

../../_images/Wonder-Building-Kit-step-case-24-19.png

../../_images/Wonder-Building-Kit-step-case-24-20.png

../../_images/Wonder-Building-Kit-step-case-24-21.png

../../_images/Wonder-Building-Kit-step-case-24-22.png

../../_images/Wonder-Building-Kit-step-case-24-23.png

../../_images/Wonder-Building-Kit-step-case-24-24.png

../../_images/Wonder-Building-Kit-step-case-24-25.png

../../_images/Wonder-Building-Kit-step-case-24-26.png

../../_images/Wonder-Building-Kit-step-case-24-27.png

../../_images/Wonder-Building-Kit-step-case-24-28.png

../../_images/Wonder-Building-Kit-step-case-24-29.png

../../_images/Wonder-Building-Kit-step-case-24-30.png

../../_images/Wonder-Building-Kit-step-case-24-31.png

26.5. Hardware Connection#

Connect a motor to M1, and the servo to S1 ports on Wukong breakout board.

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

26.6. Software Platform#


MakeCode

26.7. Coding#


Add extensions#

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

../../_images/Wonder-Building-Kit-case-21-02.png

Search with Wukong in the dialogue box to download it.

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

Program#

../../_images/Wonder-Building-Kit-case-24-04.png

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

Result#

Place the gyro in the acceleration position, when the button A is pressed (long press) , the bottom baffle will support the small gyro on the baffle to accelerate the rotation; release the A button, the bottom baffle will move to the right, and the gyro falls off, then the motor will stop rotating.