# Case 17: The Rickshaw ## Purpose --- To make a rickshaw. ![](./images/case-17-01.png) ## Link: --- [micro:bit Wonder Building Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-32-in-1-wonder-building-kit-without-micro-bit-board?_pos=5&_sid=2094afd2f&_ss=r) ## Materials Required --- ![](./images/case-17-02.png) Video link: [https://youtu.be/qHvM-sRProA](https://youtu.be/qHvM-sRProA) ## Bricks build-up --- ![](./images/step-case-17-01.png) ![](./images/step-case-17-02.png) ![](./images/step-case-17-03.png) ![](./images/step-case-17-04.png) ![](./images/step-case-17-05.png) ![](./images/step-case-17-06.png) ![](./images/step-case-17-07.png) ![](./images/step-case-17-08.png) ![](./images/step-case-17-09.png) ![](./images/step-case-17-10.png) ![](./images/step-case-17-11.png) ![](./images/step-case-17-12.png) ![](./images/step-case-17-13.png) ![](./images/step-case-17-14.png) ![](./images/step-case-17-15.png) ![](./images/step-case-17-16.png) ![](./images/step-case-17-17.png) ![](./images/step-case-17-18.png) ![](./images/step-case-17-19.png) ![](./images/step-case-17-20.png) ![](./images/step-case-17-21.png) ![](./images/step-case-17-22.png) ![](./images/step-case-17-23.png) ![](./images/step-case-17-24.png) ![](./images/step-case-17-25.png) ![](./images/step-case-17-26.png) ![](./images/step-case-17-27.png) ## Hardware Connection Connect a [motor](https://www.elecfreaks.com/geekservo-motor-2kg-compatible-with-lego.html) to M1 port on [Wukong breakout board](https://www.elecfreaks.com/wukong-board-with-lego-holder-for-micro-bit.html). ![](./images/Wonder-Building-Kit-case-17-06.png) ## Software Platform --- [MakeCode](https://makecode.microbit.org/) ## 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-17-05.png) Link:[https://makecode.microbit.org/_448W1dKFLEXt](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.