3. Hardware Assembly
3.1. Step 1
Connect the micro:bit with the Ring:bit V2 with the shorter screws.
3.2. Step 2
Fix the 7-hole bricks with the XGO with the longer screws.
3.3. Step 3
Fix the Ring:bit V2 on the 7-hole bricks with the shaft pins.
3.4. 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)
3.5. Step 5
Connect the micro:bit with the computer through USB cables.
4. Programming
The program platform here we use for XGO is Makecode in the graphical programming, you can choose to program in Python or JaveScript too.
5. Add XGO Package
5.1. Steps
Create a new project, click Advanced in the drawer to see more choices.
Click extensions in the drawer:
Search with XGO and download it:
The program blocks of XGO are listed below:
After programming, connect the micro:bit with the computer and download it to the micro:bit board.
6. Program Guidance
Initialize XGO
Set the actions of XGO, there are 12 kinds of actions and you can select any one from them.
Get the angles of each joint on the limbs and get the power status of XGO.
The debug mode of the servos(the specific servo or all servos) on the limbs.
Turn on/off the performance mode and the gyroscope for XGO.
Stop the periodic rotation of XGO around the X/Y/Z axis.
Set the rotation degrees/time of XGO around the X/Y/Z axis.
Set the time of the translation/going back and forth/moving of the XGO around the X/Y/Z axis.
Set the time and height of the limbs being lifted.
Set the direction, speed and time of the rotation of XGO.
Set the direction of the feet of XGO.
Set the speed of the servos on the joints and the walking frequency of XGO.
Set the speed of moving or rotating for XGO.
Set the height of XGO
6.1. Project Samples
Link: XGO
You can also download it directly below:
7. FAQ
Note: Turn on the Ring:bit V2 before running the program and note if the power is sufficient.