# Hardware Assembly Step 1 - Connect the micro:bit with the Ring:bit V2 with the shorter screws. ![](./images/microbit-xgo-robot-kit-17.png) Step 2 - Fix the 7-hole bricks with the XGO with the longer screws. ![](./images/microbit-xgo-robot-kit-18.png) ![](./images/microbit-xgo-robot-kit-19.png) Step 3 - Fix the Ring:bit V2 on the 7-hole bricks with the shaft pins. ![](./images/microbit-xgo-robot-kit-20.png) Step 4 - Connect the Dupont cables with the Ring:bit V2(Note to connect in the right connections: G for black, blue for port 1 and yellow for port 2) ![](./images/microbit-xgo-robot-kit-21.png) Step 5 - Connect the micro:bit with the computer through USB cables. ![](./images/microbit-xgo-robot-kit-22.png) ## Programming --- The program platform here we use for XGO is [Makecode](https://makecode.microbit.org/#) in the graphical programming, you can choose to program in Python or JaveScript too. ![](./images/microbit-xgo-robot-kit-10.png) ## Add XGO Package --- Steps - Create a new project, click Advanced in the drawer to see more choices. ![](./images/microbit-xgo-robot-kit-11.png) - Click extensions in the drawer: ![](./images/microbit-xgo-robot-kit-12.png) - Search with XGO and download it: ![](./images/microbit-xgo-robot-kit-13.png) Note: If you do not get corresponding results by searching for XGO, you can enter:https://github.com/elecfreaks/pxt-xgo ![](./images/microbit-xgo-robot-kit-23.png) - The program blocks of XGO are listed below: ![](./images/microbit-xgo-robot-kit-14.png) - After programming, connect the micro:bit with the computer and download it to the micro:bit board. ![](./images/microbit-xgo-robot-kit-15.png) ## Program Guidance --- Initialize XGO ![](./images/microbit-xgo-robot-kit-square-24.png) Set the actions of XGO, there are 12 kinds of actions and you can select any one from them. ![](./images/microbit-xgo-robot-kit-square-01.png) Get the angles of each joint on the limbs and get the power status of XGO. ![](./images/microbit-xgo-robot-kit-square-02.png) ![](./images/microbit-xgo-robot-kit-square-03.png) The debug mode of the servos(the specific servo or all servos) on the limbs. ![](./images/microbit-xgo-robot-kit-square-04.png) ![](./images/microbit-xgo-robot-kit-square-05.png) Turn on/off the performance mode and the gyroscope for XGO. ![](./images/microbit-xgo-robot-kit-square-06.png) ![](./images/microbit-xgo-robot-kit-square-07.png) Stop the periodic rotation of XGO around the X/Y/Z axis. ![](./images/microbit-xgo-robot-kit-square-08.png) Set the rotation degrees/time of XGO around the X/Y/Z axis. ![](./images/microbit-xgo-robot-kit-square-09.png) ![](./images/microbit-xgo-robot-kit-square-10.png) Set the time of the translation/going back and forth/moving of the XGO around the X/Y/Z axis. ![](./images/microbit-xgo-robot-kit-square-11.png) ![](./images/microbit-xgo-robot-kit-square-12.png) ![](./images/microbit-xgo-robot-kit-square-13.png) Set the time and height of the limbs being lifted. ![](./images/microbit-xgo-robot-kit-square-14.png) ![](./images/microbit-xgo-robot-kit-square-15.png) Set the direction, speed and time of the rotation of XGO. ![](./images/microbit-xgo-robot-kit-square-16.png) ![](./images/microbit-xgo-robot-kit-square-17.png) ![](./images/microbit-xgo-robot-kit-square-18.png) ![](./images/microbit-xgo-robot-kit-square-19.png) Set the direction of the feet of XGO. ![](./images/microbit-xgo-robot-kit-square-20.png) Set the speed of the servos on the joints and the walking frequency of XGO. ![](./images/microbit-xgo-robot-kit-square-21.png) ![](./images/microbit-xgo-robot-kit-square-22.png) Set the speed of moving or rotating for XGO. ![](./images/microbit-xgo-robot-kit-square-23.png) ![](./images/microbit-xgo-robot-kit-square-26.png) Set the height of XGO ![](./images/microbit-xgo-robot-kit-square-25.png) ## Project Samples --- ![](./images/microbit-xgo-robot-kit-square-28.png) Link: [XGO](https://https://makecode.microbit.org/_Rs2MPv5uebYd) You can also download it directly below:
## FAQ --- ***Note***: Turn on the Ring:bit V2 before running the program and note if the power is sufficient. ## Relevant File ---