Connecting to sources…

How to build AlexBot

16 steps to build AlexBot, with the source documents.

AlexBot is a low-cost, fully open-source bipedal humanoid robot. The repository provides mechanical CAD, drive and control hardware designs, a URDF, and technical documentation for gait planning and replication.

Buy parts

  • Select the thigh hip motor

    Use the Daimiao DM-J8009 for the thigh hip joint, rated at 20Nm with a 40Nm peak torque.

  • Select motors for the other joints

    Use DM-J8006 for the other joints and DM-J6006 for the ankle joint.

  • Select the outer-loop control board

    The hardware includes an STM32H7B0 core board with a 9-axis gyroscope for outer-loop control.

  • Select the upper computer

    Use an NVIDIA Jetson Xavier NX as the upper computer; the document also considers whether a TX2 could be suitable.

  • Select power distribution and control boards

    The circuit includes two power distribution boards and a control board centered on the STM32H7B0VBT6, with the Jetson Xavier NX as the upper computer.

  • Select the power supply and step-down module

    The power supply provides 24V to the motors; the step-down module provides 5V for the control board and 19V for the Jetson Xavier NX.

  • Purchase the motor set and accessories

    Daimiao Motors provides the complete motor set for 10,500 RMB and includes a USB-to-CAN module and H723 development board. Estimated machining costs 6,000 RMB; with the Jetson, bearings, and standard parts, the total is about 20,000 RMB.

Print and make

  • Perform structural design and simulation

    Create the mechanical design in SolidWorks 2021, then perform topological optimization and structural finite element simulation in Altair Inspire.

  • CNC machine the thigh parts

    CNC machine the thigh parts at an estimated cost of around 5000 RMB.

  • Design the leg mechanism

    Complete the mechanical design in SolidWorks 2021 using topology optimization and structural finite-element simulation. The finite-element simulation uses Altair Inspire.

  • CNC-machine the thigh structure

    CNC-machine the thigh section. Its estimated machining cost is about 5,000 RMB.

Assemble

  • Configure the five-joint leg

    The leg uses a 3-DOF hip joint, a 1-DOF knee joint, and a 1-DOF ankle joint. Move the knee motor up to the hip to reduce the lower leg’s overall inertia.

  • Install the leg joint motors

    Use a Daimiao DM-J8009 for the thigh hip motor, rated at 20Nm with a 40Nm peak torque. Use DM-J8006 for the other joints and DM-J6006 for the ankle joint.

  • Install the controller and computer

    Install an STM32H7B0 core board with an integrated nine-axis gyroscope for outer-loop control. Use an NVIDIA Jetson Xavier NX as the main computer.

  • Connect the control electronics and power

    The circuit includes two power-distribution boards, a control board based on STM32H7B0VBT6, and a Jetson Xavier NX. Power the motors at 24V and use buck modules to provide 5V and 19V to the control board and Jetson Xavier NX.

Calibrate and test

  • Set the URDF joint limits

    Adjust the joint limits in the URDF file according to the electrical-control specifications. View the adjusted limits in the MuJoCo viewer.

Common problems

  • Project lacks the advertised MPC and WBC control code #5

Documents