# Case 14: IR Remote Control Car ## Purpose --- - Use an infrared remote control to give orders to the [Cutebot](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-smart-cutebot-kit-without-micro-bit-board?_pos=1&_sid=4c6909119&_ss=r). ## Materials --- - 1 x [Cutebot Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-smart-cutebot-kit-without-micro-bit-board?_pos=1&_sid=4c6909119&_ss=r) - 1 x [IR Remote Control](https://www.elecfreaks.com/infrared-remote-control.html) ## Software Platform --- [MicroSoft makecode](https://makecode.microbit.org/#) ## Programming --- ### Step 1 - Click "Advanced" to see more choices in the MakeCode drawer. ![](./images/cutebot-pk-1.png) - We need to add a package for programming, click "Extensions" on the bottom of the drawer and search with `Cutebot` in the dialogue box to download it. ![](./images/cutebot-pk-11.png) ***Note:*** If you met a tip indicating codebase will be deleted due to incompatibility, you may continue as the tips tell or build a new project. ### Step 2 - Show an icon when on start. ![](./images/case_14_01.png) ### Step 3 - Judge the instructions given from the pressed buttons while receiving IR signals,Set the car to move at its full speed while button "up" being pressed on the remote controller; to reverse at its full speed while button "down" being pressed; to turn left at its full speed while button "Left" being pressed; to turn right at its full speed while button "Right" being pressed and to stop immediately while button "OK" being pressed. ![](./images/case_14_02.png) ### Link Linkļ¼š[https://makecode.microbit.org/_0sqE05ecEehv](https://makecode.microbit.org/_0sqE05ecEehv) You can also download it directly below:
## Conclusion --- - Programme to use the IR Remote Control to give orders of moving forward, reversing, turning left/right and stopping to the car. ## Exploration --- ## FAQ --- ## Relevant File ---