# Meowbit & Robotbit Meowbit can be used in conjunction with a Robotbit to achieve even more possibilities. ## Robotbit Precautions: ### 1: The battery must be installed in the right way. ### 2: The screen of the Meowbit must be facing outwards. ![](./images/robotbit24.png) ## MakeCode Arcade Coding Tutorial ![](./images/acbanner1.png) ## Using Robotbit ### Load Robotbit Extension ### Robotbit Extension: https://github.com/KittenBot/meow-robotbit ### [Loading Extensions](../Makecode/powerBrickMC) Loading the extension for Robotbit would automatically load the extension for IO pins. ![](./images/sd5_1.png) ![](./images/robotbit1_1.png) ### Blocks for controlling Robotbit ![](./images/robotbit2_1.png) ### Using Meowbit and Robotbit #### 1. Controlling Motors Connect DC motors to the motor ports M1A and B of the Robotbit. ![](../Microbit_eboard/RBimage/motor_wire.png) ![](./images/robotbit5_1.png) [Sample Code Link](https://makecode.com/_PtE25Ke69X5h) ### 2. Controlling Servos Connect a servo to the servo port S1 of the Robotbit. ![](../Microbit_eboard/RBimage/servo_wire.png) ![](./images/robotbit6_1.png) [Sample Code Link](https://makecode.com/_FdTVtYRy55kr) ### 3. Controlling Stepper Motors Connect stepper motors to the motor ports M1 and M2 of the Robotbit, with the red wire connecting to VM. ![](../Microbit_eboard/RBimage/stepper_wire.png) ![](./images/robotbit7_1.png) [Sample Code Link](https://makecode.com/_9hk2UwcvsCAo) ## Kittenblock Coding Tutorial ![](../functional_module/PWmodules/images/kbbanner.png) ### Blocks for controlling Robotbit ![](./images/kb15_1.png) #### 1. Controlling Motors Connect DC motors to the motor ports M1A and B of the Robotbit. ![](../Microbit_eboard/RBimage/motor_wire.png) ![](./images/robotbit16_1.png) ### 2. Controlling Servos Connect a servo to the servo port S1 of the Robotbit. ![](../Microbit_eboard/RBimage/servo_wire.png) ![](./images/robotbit17_1.png) ### 3. Controlling Stepper Motors Connect stepper motors to the motor ports M1 and M2 of the Robotbit, with the red wire connecting to VM. ![](../Microbit_eboard/RBimage/stepper_wire.png) ![](./images/robotbit18_1.png) ## Troubleshooting ### Q: How to solve the problem of "Robotbit is not defined" error on Meowbit after uploading the program from Kittenblock? ![](./images/robotbit23.jpg) ### A: Robotbit could not be initialized because Meowbit is not connected to Robotbit, connect Meowbit to Robotbit and reset to run the program as normal.