Skip to the content
PCBKitNew board
4 layers53 × 85 mmHexapod PCB 2, the printed circuit board in 3D

Hexapod PCB 2

DEFOR111/MADHEX-v21

fully open sourse hexapod robot

Size
53 × 85 mm
Copper layers
4
Thickness
1.6 mm
Parts
84
Nets
86
Pads
309
Tracks, vias
409, 226
Pours
8
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
19 Aug 2026
Updated
16 Oct 2026

Overview

Hexapod PCB 2 is an open-source printed circuit board by DEFOR111, from the DEFOR111/MADHEX-v2 repository on GitHub. It is a 4-layer board of 53 × 85 mm with 84 parts on 86 nets, routed with 409 tracks and 226 vias.

It is built around the ESP32-S3-WROOM-1-N8, TPS563201 and BNO055, with the USBLC6-2P6, MMBT3904 and SS34 among its other parts. Its parts include 28 resistors, 26 capacitors, 8 connectors, 6 ICs and 5 diodes. It belongs with the ESP32 boards of this library.

Main components

10

README

README.md

MADHEX-v2

the Fully open source 6 legged hexapod robot

image
  • Custom controller PCB
  • Fully open-source
  • great mechanics design with amortization
the 18DOF hexapod robot

the README include

  • Overwiew
  • Features
  • Electronics
  • CAD
  • firmware
  • BOM

Overview

MadHex v2 is an open-source hexapod robot designed for people who wanna build their spider friend and learn building — CAD, PCB , and design are all custom-made. This repository contains everything needed to reproduce the robot: CAD source and manufacturing files, PCB design and production files, bill of materials

Currently the project is in procces of building

Features

  • Fully custom mechanical design , all parts are 3d printable
  • custom control PCB : schematics , 4 layer of layout , kicad project , and manufactoring files
  • 2 Full BOM files for both PCB and Robot
  • great design with beatiful decisions

Electronics PCB

The schematics

image

the renders

PCB LAYER F CU PCB TOP

Custom 4-layer control board

Key Features :

  • MCU: ESP32-S3-WROOM-1 — great wifi/bluetooth MCU
  • IMU: BNO055 — 9-DOF orientation for balancing
  • Power input: XT60 connector - for battery connection
  • Power protection: low-side N-MOSFET reverse-polarity protection NTMFS5C404NL + SMBJ10CA TVS diode + 30A fuse
  • Regulation: two TPS563201 buck converters: battery → 5.3V → Schottky → 5V rail → 3.3V
  • USB power path: Schottky diodes keep USB and the battery side separated
  • Power monitoring: INA226 current/voltage sensor (I2C) with a 2m shunt + analog voltage divider as backup
  • USB-C: USB with USBLC6-2P6 ESD protection
  • Status LED: WS2812 RGB
  • Servo interface: 2× independent half-duplex UART buses , 3 legs per bus — driving serial bus servos over a single data line per bus instead of PWM channels
  • Connectors: 6 3-pin leg connectors (J2–J7), one per leg makes the wiring a lot easier

Files:

Board spec:

SpecValue
Layers4
MCUESP32-S3-WROOM-1
Logic3.3V
Peripheral5V
Servo buses2× half-duplex UART (3 legs each)
Power inputXT60
Current sensingINA226

CAD

Fully custom mechanical design, designed in autodesk Fusion every part is 3D-printable

image

values:

SpecValue
size600 × 175 mm
DOF per leg3 (coxa – femur – tibia)
Total DOF18
Coxa (axis to axis)45 mm
Femur (axis to axis)128 mm
Tibia (knee axis to foot tip)141.8 mm straight line, 168.5 mm along the curved part
ActuatorsLX-16A serial bus servo, 17 kg·cm at 6V / 19.5 kg·cm at 7.4V (×18)

Segment lengths were chosen using the servo torque

3D printing:

SpecValue
MaterialPETG
Total printed weight~878–950 g (all parts, with supports)
Partsdownload 3d printing STL parts

PETG was chosen over PLA for better impact resistance sustained servo load — legs take repeated ground-impact stress during walking.

Foot amortization (printed spring):

Each foot includes a printed compliant spring element (PETG) acting as a passive shock absorber — it absorbs ground-impact impulse on footfall instead of transmitting it directly into the leg linkage/servo horn, reducing mechanical stress and jitter during walking.

Files:

FormatPathUse case
.f3d / .f3zautodesk fusion source fileEditable native Fusion source
.stepfull robot design universal fileFull assembly + parts, universal format
.stl3d printing filesready to slice
Rendersphotos of the CADReference images

Full parts list, printed vs. purchased components, and quantities: see the main BOM

Bill of Materials

Two separate BOMs are provided — one for the full robot, one for the PCB only.

Full Robot BOM

Full file: see the full main BOM

ItemQtyDescriptionPrice
PCB1Custom PCB, UART servo controller — see PCB BOM below$50.10
LX-16A18Serial bus UART servo, 17 kg·cm @6V / 19.5 kg·cm @7.4V$252.00
Battery16000mAh 2S, 7.4–8.4V, ≥30A discharge$29.70
Auto Fuse + holder130A safety fuse$5.31
XT601Pack of male/female connectors$2.00
Power wire—Silicone 14 AWG, battery → PCB—
PETG900gFilament for 3D-printed parts (min. 900g)—
M3 screwspackStructural assembly—
M3×5 insertspackHeat-set inserts, structural assembly—
M2 screwspackServo mounting—
WirespackElectronics wiring—
PCB manufacturing1Bare PCB fab, green solder mask$14.00
Totalincl. VAT, delivery, components$420

PCB BOM

Full file: see the full PCB BOM

Ref DesQtyDescriptionValueFootprintPrice (unit)
C1, C2, C23, C244Electrolytic cap1000µF 16VCP_Elec 10×10mm$2.23
C3, C4, C9, C104Ceramic cap10µF 25V0805$1.21
C5, C6, C11, C14, C16, C18–C22, C25, C2612Ceramic cap0.1µF 100V0805$0.91
C7, C8, C12, C13, C155Ceramic cap22µF 25V0805$1.68
C171Ceramic cap1µF 50V0805$1.08
D11TVS diode, bidirectionalSMBJ10CASMB$0.55
D21RGB LEDWS2812BPLCC-6$0.52
D3, D42Schottky diode 3A 40VSS34SMA$0.70
D51Zener diode 12VBZT52C12SOD-123$0.56
J11Battery connectorXT60-M, PCB mountAMASS XT60-M$0.38
J2–J76Servo bus connector (leg1–leg6)3-pin 2.5mm JST XHJST_XH_B3B$0.55
J81USB-C receptacleUSB 2.0, 16-pinHRO TYPE-C-31-M-12$0.86
L11Power inductor3.3µHSRN4018$0.59
L21Power inductor2.2µHSRN4018$1.76
Q11N-MOSFET, reverse polarity protectionNTMFS5C404NLT1GDFN-5 5×6$2.62
Q2, Q32NPN transistor, half-duplexMMBT3904SOT-23$0.72
R1, R3–R6, R14, R15, R18–R20, R2211Resistor10k0805$0.45
R21Resistor59k0805$0.41
R7, R92Resistor33k0805$0.45
R8, R282Resistor100k0805$0.45
R10, R12, R24, R294Resistor1k0805$0.45
R11, R13, R25, R264Resistor4.7k0805$0.45
R16, R172Resistor5.1k0805$0.45
R211Resistor330R0805$0.45
R231Shunt resistor 2mΩ 1% 5WBourns CSS2H-2512K-2L00F2512$0.80
SW2, SW32Tactile buttonTS-1088SMD$0.64
U1, U22Buck converterTPS563201SOT-23-6$0.78
U31MCU module (8MB flash, no PSRAM)ESP32-S3-WROOM-1-N8SMD module$4.91
U41ESD protectionUSBLC6-2P6SOT-666$1.33
U519-axis IMUBNO055LGA-28$9.41
U61Current/voltage monitorINA226TSSOP-10$0.83
Total (per board)incl. LCSC + AliExpress delivery, 16% VAT, shipping$49.87

Firmware

Written in C++ with PlatformIO (Arduino framework) for the ESP32-S3

Features:

  • Inverse kinematics from the CAD joint points, with joint limits
  • Gaits: ripple (default), tripod and wave
  • Movement: forward, backward, sideways, turning in place, combined; adjustable body height
  • States: sit, stand up, stand, walk, sit down, emergency stop
  • Safe startup: servo output is off after power-up; when enabled, it reads every servo position and moves slowly to the sitting pose
  • Calibration: trim and direction for each of the 18 servos
  • Safety: low battery, servo overheating, emergency stop, stop on lost Wi-Fi link
  • Sensors: INA226 current and voltage, BNO055 orientation, optional body leveling
  • Status LED: a color for each robot state
  • Tests: 200+ unit tests that run on a PC without hardware

Pinout:

FunctionGPIO
Servo bus 1 TX / RX (legs A, B, F)4 / 5
Servo bus 2 TX / RX (legs C, D, E)17 / 18
I2C SDA / SCL (INA226 0x40, BNO055 0x28)8 / 9
Battery voltage (ADC)1
WS2812 data7
BNO055 reset / interrupt10 / 11
USB D− / D+19 / 20

Build and flash (VS Code + PlatformIO):

text
cd Firmware
pio test -e native        # unit tests on the PC
pio run -t upload         # flash the ESP32-S3 over USB-C
pio run -t uploadfs       # upload the web control page

a bit about the project history : i always wanted to make the hexapod but had no skills so 1 year passed i got pretty good skills in cad electronics and etc so now this project is real

Parts

84
QtyValueFootprintReferences
120.1uFCapacitor_SMD:C_0805_2012MetricC5, C6, C11, C14, C16, C18, C19, C20, C21, C22, C25, C26
710kResistor_SMD:R_0805_2012MetricR1, R3, R4, R5, R6, R20, R22
522uFCapacitor_SMD:C_0805_2012MetricC7, C8, C12, C13, C15
41000uF 16vCapacitor_SMD:CP_Elec_10x10C1, C2, C23, C24
410KResistor_SMD:R_0805_2012MetricR14, R15, R18, R19
410uFCapacitor_SMD:C_0805_2012MetricC3, C4, C9, C10
41kResistor_SMD:R_0805_2012MetricR10, R12, R24, R29
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
2100kResistor_SMD:R_0805_2012MetricR8, R28
24.7KResistor_SMD:R_0805_2012MetricR11, R13
24.7kResistor_SMD:R_0805_2012MetricR25, R26
25.1kResistor_SMD:R_0805_2012MetricR16, R17
2MMBT3904Package_TO_SOT_SMD:SOT-23Q2, Q3
2SS34Diode_SMD:D_SMAD3, D4
2SW_SPSTButton_Switch_SMD:SW_SPST_TS-1088-xR020SW2, SW3
2TPS563201Package_TO_SOT_SMD:SOT-23-6U1, U2
11uFCapacitor_SMD:C_0805_2012MetricC17
12.2uHInductor_SMD:L_Bourns-SRN4018L2
12mResistor_SMD:R_2512_6332MetricR23
13.3uHInductor_SMD:L_Bourns-SRN4018L1
133.2kResistor_SMD:R_0805_2012MetricR7
1330RResistor_SMD:R_0805_2012MetricR21
133kResistor_SMD:R_0805_2012MetricR9
159kResistor_SMD:R_0805_2012MetricR2
1BNO055Package_LGA:LGA-28_5.2x3.8mm_P0.5mmU5
1BZT52C12Diode_SMD:D_SOD-123D5
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U3
1INA226Package_SO:TSSOP-10_3x3mm_P0.5mmU6
1NTMFS5C404NLT1Gn-mosfet:NTMFS4C022NQ1
1SMBJ10CADiode_SMD:D_SMBD1
1USBLC6-2P6Package_TO_SOT_SMD:SOT-666U4
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J8
1WS2812LED_SMD:LED_WS2812_PLCC6_5.0x5.0mm_P1.6mmD2
1XT60Connector_AMASS:AMASS_XT60-M_1x02_P7.20mm_VerticalJ1
1leg1Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ2
1leg2Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ3
1leg3Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ4
1leg4Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ5
1leg5Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ6
1leg6Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_VerticalJ7

Questions

How big is the Hexapod PCB 2 PCB?

It measures 53 × 85 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Hexapod PCB 2 use?

84 parts, built around the ESP32-S3-WROOM-1-N8, TPS563201, BNO055 and USBLC6-2P6. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Hexapod PCB 2 KiCad files?

From the DEFOR111/MADHEX-v2 repository on GitHub, at the commit this page was made from: the board is Electronics/KiCAD project/Hexapod PCB 2.kicad_pcb and its schematic Electronics/KiCAD project/Hexapod PCB 2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Hexapod PCB 2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask DEFOR111 before reusing the design.

Similar boards

  • 2 layers110 × 90 mmAtlas agent ctrl, the printed circuit board in 3D

    Atlas agent ctrl

    md-sazzad-eee/ATLAS

    Modular multi-robot system: a carrier robot that docks, transports, charges and redeploys two small agent robots. KiCad, FreeCAD, MATLAB/Simulink, COMSOL and ESP32 firmware.

    112 parts
  • 2 layers80.5 × 53.8 mmBlynk, the printed circuit board in 3D

    Blynk

    DynamicWhiteHat/Blynk

    A feature-rich LED controller

    110 parts
  • 4 layers70 × 109.2 mmManafish, the printed circuit board in 3D

    Manafish

    Tropaion/Manafish_Mainboard

    The Manafish Mainboard is the main electronics board of the Manafish ROV. It replaces the Raspberry Pi 3B, the USB-connected Raspberry Pi Pico and the wiring between them with one board:

    127 partsAGPL-3.0
  • 2 layers155 × 70 mmPayphone v1, the printed circuit board in 3D

    Payphone v1

    sdylewski/Analog-Redial

    A circuit board for old telephones to come back to life. Plug one or two phones in, and you can call the other phone, use bluetooth, connect to others via voip, and do a variety of other things with a plain old rotary…

    137 parts46
  • 2 layersCoralC5-Motor, the printed circuit board in 3D

    CoralC5-Motor

    SmallCoral/c5-car

    用 KiCad 10 打开 CoralC5-Expansion.kicadpro。这是 Coral-C5 的单槽扩展板,顶部 J14 接核心板,左右 J9、J8 各一组 2×24 排针,下方放 RJ45 和 microSD,右侧放 ESP32-C3-MINI-1U。100×86mm 板框为本项目暂定尺寸。

    187 parts
  • 2 layers100 × 85 mmESP32 MediaCarrier routed, the printed circuit board in 3D

    ESP32 MediaCarrier routed

    xmyoot/esp32-media-carrier

    ESP32 multimedia carrier board with 7–24 V DC buck regulator, 3.2 W Class-D I2S audio amp, WS2812 LED ring driver, and SPI TFT display header

    97 partsMIT
  • 2 layers200 × 100 mmAmp600w, the printed circuit board in 3D

    Amp600w

    mx-yah/amp600w

    A high-performance high-power class-D amplifier that enables true premium sound quality with high-efficiency class-D technology

    133 parts6
  • 2 layers111.5 × 101 mmMACHIP3.0, the printed circuit board in 3D

    MACHIP3.0

    brgyplrm/MaChip

    This directory contains the official KiCad 8/10 hardware design files, production Gerbers, bill of materials (BOM), and assembly guides for the MACHIP 3.0 Access Control Terminal.

    76 parts1