# Case 05: Rotary Chairs ## Purpose --- To make a rotary chair project. ![](./images/case-05-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-05-02.png) Video link: [https://youtu.be/owKA9El5Or0](https://youtu.be/owKA9El5Or0) ## Bricks build-up --- ![](./images/step-case-05-01.png) ![](./images/step-case-05-02.png) ![](./images/step-case-05-03.png) ![](./images/step-case-05-04.png) ![](./images/step-case-05-05.png) ![](./images/step-case-05-06.png) ![](./images/step-case-05-07.png) ![](./images/step-case-05-08.png) ![](./images/step-case-05-09.png) ![](./images/step-case-05-10.png) ![](./images/step-case-05-11.png) ![](./images/step-case-05-12.png) ![](./images/step-case-05-13.png) ![](./images/step-case-05-14.png) ![](./images/step-case-05-15.png) ![](./images/step-case-05-16.png) ![](./images/step-case-05-17.png) ![](./images/step-case-05-18.png) ![](./images/step-case-05-19.png) ![](./images/step-case-05-20.png) ![](./images/step-case-05-21.png) ![](./images/step-case-05-22.png) ![](./images/step-case-05-23.png) ![](./images/step-case-05-24.png) ## Hardware Connection Connect a [motor](https://www.elecfreaks.com/geekservo-motor-2kg-compatible-with-lego.html) to M2 port on [Wukong breakout board](https://www.elecfreaks.com/wukong-board-with-lego-holder-for-micro-bit.html). ![](./images/Wonder-Building-Kit-case-05-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-05-05.png) Link:[https://makecode.microbit.org/_cYPE670Rz5cc](https://makecode.microbit.org/_cYPE670Rz5cc) ### Result Press button A to start the rotary chairs and press button B to stop it.