Skip to main content

Case 24: The Top Emitter

Purpose


Make a top emitter.


micro:bit Wonder Building Kit

Materials Required


Bricks build-up


Hardware Connection

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

Software Platform


MakeCode

Coding


Add extensions

Click "Advanced" in the MakeCode to see more choices.

Search with Wukong in the dialogue box to download it.

Program

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.