Skip to main content

Case 17: The Rickshaw

Purpose


To make a rickshaw.


micro:bit Wonder Building Kit

Materials Required


Video link: https://youtu.be/qHvM-sRProA

Bricks build-up


Hardware Connection

Connect a motor to M1 port 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/_448W1dKFLEXt

Result

When button A is pressed the rickshaw moves forward, when button B is pressed the rickshaw moves backward, when button A+B is pressed the it stops moving.