# Case 38:The Mechanical Springtail ## Introduction Build a mechanical springtail with the [Nezha Inventor's Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-nezha-48-in-1-inventors-kit-without-micro-bit-board?_pos=2&_sid=ed1b6fbd2&_ss=r). ![](./images/neza-inventor-s-kit-case-38-01.png) ## Quick to Start ### Materials Required [Nezha Inventor's Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-nezha-48-in-1-inventors-kit-without-micro-bit-board?_pos=2&_sid=ed1b6fbd2&_ss=r) ### Assembly Components List ![](./images/neza-inventor-s-kit-case-38-02.png) Build it as the assembly steps suggest: ![](./images/neza-inventor-s-kit-step-38-01.png) ![](./images/neza-inventor-s-kit-step-38-02.png) ![](./images/neza-inventor-s-kit-step-38-03.png) ![](./images/neza-inventor-s-kit-step-38-04.png) ![](./images/neza-inventor-s-kit-step-38-05.png) ![](./images/neza-inventor-s-kit-step-38-06.png) ![](./images/neza-inventor-s-kit-step-38-07.png) ![](./images/neza-inventor-s-kit-step-38-08.png) ![](./images/neza-inventor-s-kit-step-38-09.png) ![](./images/neza-inventor-s-kit-step-38-10.png) ![](./images/neza-inventor-s-kit-step-38-11.png) ![](./images/neza-inventor-s-kit-step-38-12.png) ![](./images/neza-inventor-s-kit-step-38-13.png) ![](./images/neza-inventor-s-kit-step-38-14.png) ![](./images/neza-inventor-s-kit-step-38-15.png) ![](./images/neza-inventor-s-kit-step-38-16.png) ![](./images/neza-inventor-s-kit-step-38-17.png) ![](./images/neza-inventor-s-kit-step-38-18.png) ![](./images/neza-inventor-s-kit-step-38-19.png) ![](./images/neza-inventor-s-kit-step-38-20.png) ![](./images/neza-inventor-s-kit-step-38-21.png) ![](./images/neza-inventor-s-kit-step-38-22.png) ### Connection Diagram Connect the [motor](https://shop.elecfreaks.com/products/elecfreaks-high-speed-building-blocks-motor?_pos=4&_sid=bfad50d7f&_ss=r) to M1 on [Nezha Breakout Board](https://shop.elecfreaks.com/products/elecfreaks-nezha-breakout-board?_pos=1&_sid=c41e367c3&_ss=r). ![](./images/neza-inventor-s-kit-case-38-03.png) ## MakeCode Programming ### Step 1 Click "Extensions'' in the MakeCode drawer to see more choices. ![](./images/neza-inventor-s-kit-case-37-04.png) For programming [Nezha Breakout Board](https://shop.elecfreaks.com/products/elecfreaks-nezha-breakout-board?_pos=1&_sid=c41e367c3&_ss=r), we need to add a package. Search with "Nezha" in the dialogue box and click to download it. ![](./images/neza-inventor-s-kit-case-37-06.png) *Notice*: If you met a tip indicating that some codebases would be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu. ### Step 2 ### Code as the picture suggests ![](./images/neza-inventor-s-kit-case-38-07.png) ### Reference Link: [https://makecode.microbit.org/_iscUF8CzzYMd](https://makecode.microbit.org/_iscUF8CzzYMd) You may also download it directly:
--- ### Result Press button A and the mechanical springtail crawls forward, press button B and the mechanical springtail stops moving. ![](./images/case_38.gif) ### Thinking Why do we install tires on the mechanical springtail's arms, and what will happen if we don't? ### Activity Modify your own mechanical springtail and hold races.