Connecting to sources…

How to build SpiderBot: the whole process

25 steps to build SpiderBot, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the official sour…

This is a 3D-printed hexapod spider robot. The repository provides STL files, 3D printing instructions, and build documentation for constructing SpiderBot.

Bill of materials · Body Parts

PartQty
Frame · Serves as the robot's central structure. · Layer height: 0.2mm, Fill: 20%, No supports needed1
Frame Center Servo Holder · Holds the servo motor in the central part of the frame. · Layer height: 0.2mm, Fill: 30%, Supports: No2 - for hexapod
Frame Side Servo Holder · Holds the servo motors on either side of the frame. · Layer height: 0.2mm, Fill: 30%, Supports: No4
Carapace · Consists of 3 parts: Front, Mid, Back. Design with tongue and groove technique for easy assembly comming soon. · Layer height: 0.2mm, Fill: 20%, Supp1 set
Power compartment · Holds the 2S LiPo Battery securely. · Layer height: 0.2mm, Fill: 30%1
Power compartment door · Door for the power compartment. Future improvement: snap-fit design. · Layer height: 0.2mm, Fill: 20%, Supports: No1
Electronics plate · Sits between the Power compartment and the Frame, holding electronics in place. · Layer height: 0.2mm, Fill: 20%1
Controller plate · Designed to hold controllers like Raspberry Pi or Servo 2040. Can be attached to the Electronics plate or Carapace (middle). · Layer height: 1

Bill of materials · Leg Parts

PartQty
Servo joint3 per leg
Leg rib2 per leg
Coxa Side 1 · Layer height: 0.2mm, Fill: 30%1 per leg
Coxa Side 2 · Layer height: 0.2mm, Fill: 30%1 per leg
Femur side 11 per leg
Femur side 21 per leg
Tibia top · Layer height: 0.1mm, Fill: 30%1 per leg
Tibia bottom1 per leg
Leg shield1 per leg
Micro switch holder1 per leg
Micro switch cover1 per leg
Leg tip1 per leg
Claw · Material: TPU1 per leg

Buy parts

  • Prepare mechanical components

    Obtain 625ZZ bearings, microswitches for ground contact, and replaceable TPU claws.

  • Prepare control and power components

    Obtain a Raspberry Pi 4, Pimoroni Servo 2040, 2S LiPo battery, and 5 V buck converter.

Print and make

  • Print the Electronics Plate

    Print 1 electronics plate at a 0.2mm layer height and 20% fill. It sits between the Power compartment and the Frame, holding electronics in place.

  • Print the Controller Plate

    Print 1 controller plate at a 0.2mm layer height and 20% fill. It can be attached to the Electronics plate or Carapace (middle) and holds controllers such as Raspberry Pi or Servo 2040.

  • Print the Servo Joint

    Print 3 servo joints per leg. Each connects the servo to the leg components.

  • Print the Leg Rib

    Print 2 leg ribs per leg. The ribs add structural integrity to the legs.

  • Print Coxa Side 1

    Print 1 Coxa Side 1 per leg at a 0.2mm layer height and 30% fill. It is the upper part of the leg and connects to the servo joint.

  • Print Coxa Side 2

    Print 1 Coxa Side 2 per leg at a 0.2mm layer height and 30% fill. It accompanies Coxa Side 1 and forms the upper leg part.

  • Print Femur Side 1

    Print 1 Femur Side 1 per leg. It forms the middle segment of the leg.

  • Print Femur Side 2

    Print 1 Femur Side 2 per leg. It accompanies Femur Side 1 and forms the upper leg part.

  • Print the Tibia Top

    Print 1 Tibia top per leg at a 0.1mm layer height and 30% fill. It is the lower leg part that connects to the femur.

  • Print the Tibia Bottom

    Print 1 Tibia bottom per leg. It forms the end segment of the leg.

  • Print the Leg Shield

    Print 1 leg shield per leg. It covers and protects the leg mechanics.

  • Print body and carapace

    Model the body and carapace in Fusion 360, then print them primarily in PLA.

  • Print frame and modular parts

    Print the central frame, controller plates, electronics mounts, and parts for six legs so the modules can be revised independently.

Assemble

  • Assemble six three-segment legs

    Assemble six legs, with each leg containing three articulated segments—coxa, femur, and tibia—and three controlled degrees of freedom.

  • Install bearings, switches, and claws

    Fit the 625ZZ bearings, install microswitches at the feet for ground-contact detection, and fit the replaceable TPU claws.

  • Install controller and servo board

    Mount the Raspberry Pi 4 and Pimoroni Servo 2040 on the printed electronics mounts or controller plates. The servo board provides eighteen channels for the three degrees of freedom on each of six legs.

  • Connect power and foot switches

    Power the robot with a 2S LiPo battery and 5 V buck converter, and connect the six foot microswitches to the contact inputs.

Software

  • Use SpiderLeg for Coordinate and Angle Mapping

    Use SpiderLeg to map target coordinates to angles and map angles back to joint coordinates.

  • Use GamepadController to Read the Gamepad

    Use GamepadController to read HID reports, map channels, apply a dead zone, and expose signed or percentage values.

  • Use HardwareController for Calibrated PWM Output

    Use HardwareController to convert calibrated angles into PWM values, apply reversal and offsets, and communicate over serial.

Calibrate and test

  • Prevent USB backfeeding

    Connect and power the boards according to the project's later safety improvement so they cannot backfeed through USB.

  • Measure and Save Each Servo Response

    Measure pulse widths at known positions and store each servo's usable range, direction, offset, and measured response.

  • Check the Target with Forward Kinematics

    Run the forward calculation from angles back to coordinates and compare the target position with the position implied by the calculated angles before involving the complete robot. This checks the mathematical model, not the real foot position.

Documents