# Building the Robot

Please follow these video tutorials to assemble the robot.



## Arm

{% embed url="https://youtu.be/zsb3M3H1sr4" %}

## Leg

{% embed url="https://youtu.be/aRtWpbteiNA" %}

## Entire robot

{% embed url="https://youtu.be/SIGD8I-hwG8" %}



## Wiring

After building the mechanical structure of the robot, connect the electrical components following this wiring diagram:

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2Fr8xkUZh0T5OkQwgYbeAf%2Fimage.png?alt=media&#x26;token=da06135f-f9a3-4b37-9b35-b9700deaeca6" alt=""><figcaption></figcaption></figure>

### Connecting CAN bus to the USB-CAN Adapter

The cables can be directly attache to the screw terminal on the USB-CAN adapter board. The ordering is CAN-L, CAN-H, GND. The signal names are also labeled at the back side of the PCB.

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FK9u26svmXTtBuGJmr7yq%2F1000008391.jpg?alt=media&#x26;token=9fd5bc4d-a987-4c26-8359-bc7957646b71" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FFHMAMzHRXDpGE8D8UEK8%2F1000008392.jpg?alt=media&#x26;token=37219e61-4773-49f3-a33d-e4155e6f3335" alt=""><figcaption><p>Photo of the connection without the 3D printed case for better clarity</p></figcaption></figure>



### Joining the cables together

There are multiple ways to join the signal and power cables together. We provide our recommended ways for you reference.

For signal cables, we recommend directly solder them together and protect the solder joints with heat shrink tubes.

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FIDB8mdVoYMNtbP2bcusG%2F1000008030.jpg?alt=media&#x26;token=53060430-3b84-4088-a0ef-6318d8d2dcf7" alt=""><figcaption></figcaption></figure>



When first connecting power cables together, for easier debugging, the WAGO connectors can be used to quickly joining and detaching each actuators to the main power bus without soldering. They are available in multiple types, and we use both the two, three, and five ports on the robot.

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FdDkQnlM0EDi4nBBRfsTu%2F1000008032.jpg?alt=media&#x26;token=6a6dd1ef-f5d5-4296-b010-083caf7fac1d" alt=""><figcaption></figcaption></figure>



For a more permanant build, we recommend to solder the cables together directly. [This video](https://youtu.be/4xUBRMgcVhc?t=437\&si=RwDLI2K0Sdax4TTa) by Will Donaldson provides a good guide on how to solder these thicker cables. Between the actuators, the cables can be connected with XT30 and XT60 connectors. We use XT60 to connect the main cable together, with each actuator connected to this main power bus using XT30 connectors.&#x20;

<figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FC8ynFZL5eJhuQ2mzY2ZX%2F1000008031.jpg?alt=media&#x26;token=31cc0a51-3a30-432a-80cf-8ee8a7b259e0" alt=""><figcaption></figcaption></figure>



### IMU Connection

For the original version, we use an Arduino Nano to connect the IMU to the computer. Here are some photos of the connection for your reference.

<div><figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2F68hu4tcY0FHNR7v25xgt%2F1000008383.jpg?alt=media&#x26;token=862e7d97-a053-4aad-a6a2-986990fdd887" alt=""><figcaption></figcaption></figure> <figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FzrqZfzRqiof3hKkXnK72%2F1000008382.jpg?alt=media&#x26;token=e726abdf-0347-46ab-aebd-dbd6c7ad7685" alt=""><figcaption></figcaption></figure> <figure><img src="https://2396875388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ943fa7TiyZgDTAM8Bt7%2Fuploads%2FdqQBQhB4k3qm9UF8SK6g%2F1000008384.jpg?alt=media&#x26;token=2f0986e5-04ff-4bc5-8dea-a5a540850eab" alt=""><figcaption></figcaption></figure></div>

We later found out this [IM10A IMU](https://www.hiwonder.com/products/imu-module?variant=40375875338327) that directly supports USB connection. Hence, we strongly recommend to use this IMU to avoid manually soldering the signal wires. The BOM is also updated to include this component.&#x20;

A detailed performance comparision between these two IMUs is available here:

{% content-ref url="../in-depth-contents/imu-comparision" %}
[imu-comparision](../in-depth-contents/imu-comparision)
{% endcontent-ref %}



