Custom PCB Overview: Schematic and Component Reference
Overview of all four custom PCBs in the Micro Wheeled-Leg Robot: Controller, Encoder, IMU, and Servo Debug — with key ICs, connectors, and Gerber files.
Use this file to discover all available pages before exploring further.
The Micro Wheeled-Leg Robot is built around four custom PCBs, all designed in LCEDA (EasyEDA Pro). Together they handle motor drive, position sensing, inertial measurement, and servo bus communication. Each board ships Gerber files, a component BOM in CSV format, and the original EasyEDA JSON source so you can modify and re-order them freely. The sections below describe each board’s role, key components, and connector pinout.
Controller PCB
ESP32-WROOM-32 main MCU paired with two L6234PD013TR 3-phase BLDC motor driver ICs, USB programming via CH340C, and all inter-board connectors.
Encoder PCB
AS5600 12-bit magnetic rotary encoder, one board per motor. Communicates with the Controller over I2C via a GH1.25 4-pin cable.
IMU PCB
MPU6050 6-axis inertial sensor (3-axis accelerometer + 3-axis gyroscope) sharing the right-side I2C bus with the right encoder.
Servo Debug PCB
Half-duplex UART converter that bridges the ESP32’s full-duplex Serial2 to the single-wire TTL bus required by the FEETECH STS3032 leg servos.
The Controller PCB (2.Hardware/1.ControllerPCB/) is the brain of the robot. It hosts the ESP32 module, both BLDC motor drivers, USB programming circuitry, power regulation, and all connectors to the other boards and peripherals.
Counterfeit L6234 motor driver ICs are common on secondary marketplaces. Purchase the L6234PD013TR only from authorised ST Microelectronics distributors (e.g. Mouser, DigiKey, or LCSC). Counterfeit parts may appear to pass basic continuity checks but fail under PWM load, causing erratic motor behaviour or immediate failure.
Before connecting the battery, verify the polarity of the XH2.54 battery connector against the board silkscreen. The power silk was corrected in the latest PCB revision; if you are using an older Gerber or a self-sourced battery with a non-standard wiring, confirm pin 1 (positive) and pin 2 (negative) with a multimeter before applying power.
The Encoder PCB (2.Hardware/2.EncoderPCB/) carries a single AS5600 12-bit magnetic rotary position sensor. Two identical boards are built — one per wheel motor — and each is mounted so that a diametrically-magnetised disc magnet on the motor shaft rotates within the AS5600’s sensing range.
Because the AS5600 has a fixed I2C address (0x36), it is essential that the two encoders are on separate I2C buses. Do not connect both encoder boards to the same bus.
The IMU PCB shares I2C bus 1 (GPIO 23 SDA / GPIO 5 SCL) with the right-side Encoder PCB. This works because the AS5600’s address (0x36) and the MPU6050’s address (0x68) do not conflict. Both devices are initialised together on I2Ctwo at 400 kHz.The IMU connects to the Controller via a GH1.25 4-pin cable (VCC, GND, SDA, SCL) plugged into connector CN5.
The Servo Debug PCB (2.Hardware/4.ServoDebugPCB/) solves a protocol mismatch between the ESP32’s full-duplex UART and the FEETECH STS3032 servo’s half-duplex single-wire TTL bus. It uses time-division multiplexing to merge the TX and RX signal paths onto one wire.
The ESP32’s Serial2 port presents separate TX (GPIO 16) and RX (GPIO 17) lines. The STS3032 bus uses a single bidirectional data line — the master drives the line to transmit, then releases it to receive the servo’s response. The Servo Debug PCB implements a direction-controlled buffer circuit that:
Buffers TX → bus using the SN74LVC1G125DBV (U2) — a single tri-state buffer, enabled during transmission.
Gates RX ← bus using the SN74LVC1G126DBV (U3, U10) — a buffer with enable, active during the receive window.
Switches direction automatically based on the UART idle state, eliminating the need for a separate direction-control GPIO from the ESP32.
Wiring and assembly special instruction (review before building)
Gerber_PCB_ServoDebug.zip
Fabrication Gerbers
BOM_ServoDebug.csv
Component BOM
SourceFile/PCB_ServoDebug.json
EasyEDA PCB source
SourceFile/SCH_ServoDebug.json
EasyEDA schematic source
Review SpecialInstruction.png in the 4.ServoDebugPCB/ folder before assembling or connecting this board. It contains wiring notes specific to the half-duplex direction control that are not fully captured in the schematic alone.
All four boards can be ordered from any standard PCB fabrication service. The following notes apply to all boards:
Gerbers are provided as .zip archives, ready to upload directly to a fabricator.
Source files are EasyEDA JSON format. Open them in LCEDA (EasyEDA Pro) to modify footprints, add copper pours, or re-export Gerbers.
BOMs are CSV files listing reference designators, values, footprints, and LCSC part numbers where applicable. They can be imported directly into JLCPCB’s SMT assembly service.
Recommended fabricators:JLCPCB (pairs well with the LCSC BOM part numbers) or PCBWay.
Standard 2-layer, 1.6 mm FR-4, HASL or ENIG finish is sufficient for all four boards.
Order at least two Encoder PCBs (one per motor). All other boards require only one unit.