Connecting to sources…

How to build Quadruped_bai_servo v1: the whole process

27 steps to build Quadruped_bai_servo v1, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the …

Quadruped_bai_servo v1 is a low-cost 12DOF quadruped driven by hobby servos. The repository provides printable models, a required-parts list, electronics, simulation models, firmware, and assembly instructions.

Bill of materials · Hardware

PartQtyANY
leg_tip · Printed part2
leg_tip_MIR · /2
leg_2 · /2
leg_2_MIR · /2
leg_link_1 · /2
leg_link_1_MIR · /2
leg_link-1 · /2
leg_link-1_MIR · /2
leg_1 · /2
leg_1_MIR · /2
leg_1_2 · /2
leg_1_2_MIR · /2
servo_holder_1 · /2
servo_holder_1_MIR · /2
hip_joint_holder_1 · /2
hip_joint_holder_1_MIR · /2
hip_holder_2 · /2
hip_holder_2_MIR · /2
joint_ab_holder · /2
body_bridge · /2
body_frame_2 · /1
body_frame_1 · /1
pcb_holder · /2
M3*8 · Screw~20
M3*12 · /~30
M3*16 · /~20
M2*8 · /~50
M2*15 · /~50
M2*20 · /~20
M2*26 · /~20
SF-1 0305 Self Lubricating Composite Bearing Bushing Sleeve · For rotation joints~25
EMAX ES08A II Servo · Actuator12

Buy parts

  • Obtain the listed required parts

    Obtain the components needed for the robot using the parts table in the document.

  • Select twelve EMAX ES08A servos

    The assembly requires 12 servos. The metal-gear EMAX ES08A works for this build; the nylon-gear version is acceptable but can be easily damaged by impact.

  • Choose an Off-the-Shelf Alternative

    If you do not want to order the PCB, build it with off-the-shelf components such as an Arduino nano, MPU 6050, and dc-dc converter.

  • Prepare high-current lithium batteries

    Choose single-cell lithium batteries with a current output capability greater than 10A. This project uses 18650 or 18350 batteries.

Print and make

  • Print parts at 70% infill

    Print all printed parts with a recommended infill of 70%, and set the printing direction and supports appropriately for your printer.

  • Print Three Feet-Sensor Parts

    The feet sensor needs 3 printed parts. Print mirrored parts for the right-side legs.

  • Order the Controller PCB

    The controller PCB is designed with EAGLE, and an exported Gerber file is provided. Order the PCB using the supplied design files.

  • Print the battery shelf

    Print the battery shelf from hardware/step. After printing, mount it under the robot frame.

Assemble

  • Insert bearings at rotation joints

    After printing, insert a bearing at every 5mm hole located around the rotation joints.

  • Fasten parts and check joints

    Fasten the parts with M3 screws. After installing the servos, check rotational friction and make sure every joint rotates freely.

  • Assemble Two Legs

    The robot consists of 4 legs and a body frame. Assemble 2 legs first.

  • Attach Mirrored Legs to Frame

    Assemble another 2 mirrored legs, then link all legs to the body frame.

  • Assemble the Optional Feet Sensor

    Assemble the feet sensor as shown in the picture. The sensor is built around micro switches.

  • Increase Foot-Tip Friction

    Glue silicone sheet onto the feet tip to increase friction with the ground. Alternatively, design the feet tip and print it with high-friction material.

  • Assemble the Controller Board

    The controller board assembly contains a servo controller, an IMU, and a dc-dc converter module.

  • Connect a Wireless Control Module

    Connect a wireless or Bluetooth module through the additional serial port to enable wireless robot control.

  • Connect ICSP and Enable Debugging

    Use the ICSP interface to upload firmware and use the external serial port for debugging.

  • Reserve the IMU's IIC Pins

    Hardware IIC pins A4 and A5 are occupied by the IMU. The MPU6050 may also be replaced with a device such as the BNO080.

  • Connect the DC-DC converter

    Confirm that the module is pre-configured for a 5.5V output; replace the feedback resistor if a different output voltage is needed. Then plug the module into the DC-DC slot on the controller board.

  • Mount the battery shelf

    Mount the printed battery shelf under the robot frame.

Software

  • Run the simplified V-REP model

    Use the robot's simplified model in V-REP. The remote API can be used to develop the simulation.

  • Configure the walking controller

    Use the simplified controller to generate a trot gait pattern for walking.

  • Synchronize foot trajectories

    Use a state machine to synchronize a set of open-foot trajectories with the foot sensors.

Calibrate and test

  • Check Servo Motion Ranges

    Ensure each servo’s motion range covers the leg linkage’s joint limit. Compare the positions shown for the hip, knee, and ab joints.

  • Pre-calibrate Servos Before Installation

    Apply an initial PWM signal to the servos before installation, such as 0°. This gives all servos the same PWM-to-joint-angle mapping.

  • Fine-tune Servos in Firmware

    After the initial calibration, fine-tune the servos further in the firmware.

  • Adjust stance-phase body attitude

    Use the IMU to adjust body roll and pitch during the stance phase. The robot is controlled only at the kinematic level and will not resist external impacts while walking.

Documents