Skip to the content
PCBKitNew board
4 layers49.5 × 29 mmXESC2, the printed circuit board in 3D

The xESC is an easy to use, low cost electronic speed controller (ESC) design for sensored brushless DC (BLDC) motors.

Size
49.5 × 29 mm
Copper layers
4
Thickness
1.6 mm
Parts
114
Nets
113
Pads
469
Tracks, vias
984, 293
Pours
24
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Nov 2021
Updated
25 Aug 2026

Overview

XESC2 is an open-source printed circuit board by ClemensElflein, from the ClemensElflein/xESC repository on GitHub. It is a 4-layer board of 49.5 × 29 mm with 114 parts on 113 nets, routed with 984 tracks and 293 vias.

It is built around the SN65HVD232D, LMR51606XDBVR-MS and TMC6200-TA, with the XC6220B331MR, YJG20N06A and FNR4030S680MT among its other parts. Its parts include 43 resistors, 42 capacitors, 10 connectors, 6 transistors and 5 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

8

README

README.md

License: CC BY-NC-SA 4.0 Discord

Join the Discord server for xESC discussion: HERE

If you want to be notified about updates and availability, star :star: and watch :eyes: this repository!

Looking for xESC2040? It was moved to its own repo HERE.

xESC2

The xESC2 is an easy to use, low cost electronic speed controller (ESC) design for brushless DC (BLDC) motors. It can drive BLDC motors in sensored and sensorless modes. The controller supports FOC control mode. The firmware is based on the open source VESC firmware and implements torque, speed and position control. The current state of the motor controller (current, voltage, speed, position) can be read back through a serial interface.

This ESC was designed from ground up to be suited for robotics use:

  • It has pin headers to make it easy to integrate into existing designs.
  • It is small compared to a VESC
  • It is much cheaper than a VESC
  • It is much lower power than a VESC (but enough to drive robots)

I also have a customized ROS driver for this ESC.

xESC front

To-Do

  • Add an emergency shutdown pin to the design.
  • Add pinout to the silkscreen if enough space

Comparison

But how does the xESC compare to other brushless ESCs on the market? Is it the right ESC for your current needs?

xESC2 mini
(this repo)
xESCxESC2VESC 6Cheap Hobby ESCs
Technical Data
Intended UseRoboticsRoboticsRoboticsElectromobilityRC Cars / Planes
Max Current
(continuous)
10A / 40V10A / 40V10A / 40V>80A / 60VDepends on Model
Size50x30 mm60x30 mm85x42 mm75x70mmDepends on Model
Supported FirmwarexESC2 firmware (VESC based)xESC firmware (SimpleFOC based)xESC2 firmware (VESC based)VESC firmware/
Open SourceHW+SWHW+SWHW+SWSW/
Features
InterfacesUSB, UART, CAN, PWM, AnalogUART, PWMUSB, UART, CAN, PWM, AnalogUSB, UART, CAN, PWM, Analog and morePWM only
Motor CommutationFOCBLDCFOCFOCBLDC
Control ModesCurrent, Position, SpeedCurrentCurrent, Position, SpeedCurrent, Position, SpeedNone
Sensored:white_check_mark::white_check_mark::white_check_mark::white_check_mark:Some
Feedback Channel:white_check_mark::white_check_mark::white_check_mark::white_check_mark::x:
Low Cost Design:white_check_mark::white_check_mark::white_check_mark::x::white_check_mark:
BEC (internal 5V regulator):x::white_check_mark::white_check_mark::white_check_mark::white_check_mark:
Pin headers for easy connection to PCBs:white_check_mark::x::x::x::x:
StatusWorking PrototypesObsoleteWorking PrototypesMass ProductionMass Production

PCB Design

FrontBack
xESC frontxESC back

Firmware Features

The xESC2 firmware is based off the current version of the VESC firmware. Therefore it is able to do everything you'd wish your brushless ESC had. Including: FOC, speed control, current limiting, ...

Where can I buy one?

The xESC2 mini is officially not for sale (yet), since I don't really have the capabilities to produce larger quantities right now (I'm making some for my own robotics projects at the moment). However if you really like to get your hands on them, just message me (e.g. open an issue or something).

You can, of course build your own ESCs (that's kind of the idea to open source it ;-)), but please don't mass produce the design and sell them without my permission.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Feel free to use the design in your projects, but don't try to sell the design or products based on it without getting my consent first.

Parts

114
QtyValueFootprintReferences
12100nF/16VCapacitor_SMD:C_0402_1005MetricC5, C6, C7, C13, C18, C34, C37, C40, C41, C42, C43, C44
62R2Resistor_SMD:R_0603_1608MetricR1, R2, R5, R6, R9, R10
6YJG20N06APackage_TO_SOT_SMD:TDSON-8-1Q1, Q2, Q3, Q4, Q5, Q6
510RResistor_SMD:R_0603_1608MetricR4, R8, R12, R15, R18
51k5Resistor_SMD:R_0402_1005MetricR13, R14, R17, R19, R21
410kResistor_SMD:R_0402_1005MetricR29, R30, R41, R42
41k5Resistor_SMD:R_0603_1608MetricR24, R26, R28, R40
422kResistor_SMD:R_0603_1608MetricR23, R25, R27, R39
3100nF/100VCapacitor_SMD:C_0805_2012MetricC12, C14, C17
310uF/50VCapacitor_SMD:C_1206_3216MetricC1, C2, C3
31nF/100VCapacitor_SMD:C_0603_1608MetricC24, C25, C26
32.2uFCapacitor_SMD:C_0402_1005MetricC4, C38, C39
3220RResistor_SMD:R_0402_1005MetricR16, R37, R38
325mRResistor_SMD:R_2512_6332MetricR3, R7, R11
32k2Resistor_SMD:R_0402_1005MetricR33, R34, R35
3470nF/16VCapacitor_SMD:C_0603_1608MetricC8, C9, C10
3Conn_01x06_MaleConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1, J9, J10
3Conn_02x02_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ6, J7, J8
3DNPCapacitor_SMD:C_0603_1608MetricC29, C30, C31
3DNPCapacitor_SMD:C_0402_1005MetricC45, C46, C47
210uFCapacitor_SMD:C_0603_1608MetricC20, C21
215pFCapacitor_SMD:C_0402_1005MetricC32, C33
22.2uF/16VCapacitor_SMD:C_0603_1608MetricC35, C36
222RResistor_SMD:R_0402_1005MetricR31, R32
25k1Resistor_SMD:R_0402_1005MetricR44, R45
2Conn_01x05_MaleConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3, J4
2LED RedLED_SMD:LED_0603_1608MetricD2, D5
1120Resistor_SMD:R_0402_1005MetricR36
1140kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR43
12.2uF/50VCapacitor_SMD:C_0805_2012MetricC16
122nF/100VCapacitor_SMD:C_0603_1608MetricC11
122uF 25VCapacitor_SMD:C_0805_2012MetricC19
1Conn_01x03_MaleConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ5
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1D_SchottkyDiode_SMD:D_SOD-123D3
1FNR4030S680MTeasyeda2kicad:IND-SMD_L4.0-W4.0_FNR40XXSL1
1LCK-TCF833-L50WL-G1nlbn:LCK-TCF833-L50WL-G1_C54950857J2
1LED WhiteLED_SMD:LED_0603_1608MetricD4
1LMR51606XDBVReasyeda2kicad:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BRU3
1SD103ATWPackage_TO_SOT_SMD:SOT-363_SC-70-6D6
1SN65HVD232Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1STM32F405RGTxPackage_QFP:LQFP-64_10x10mm_P0.5mmU4
1TMC6200-TAfootprints:TMC6200-TAU1
1Thermistor_NTCResistor_SMD:R_0603_1608MetricTH1
1XC6220B331MRPackage_TO_SOT_SMD:SOT-23-5U2

Questions

How big is the XESC2 PCB?

It measures 49.5 × 29 mm and has 4 copper layers, 1.6 mm thick.

What parts does the XESC2 use?

114 parts, built around the SN65HVD232D, LMR51606XDBVR-MS, TMC6200-TA and XC6220B331MR. 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 XESC2 KiCad files?

From the ClemensElflein/xESC repository on GitHub, at the commit this page was made from: the board is PCB/xESC2.kicad_pcb and its schematic PCB/MCU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the XESC2 design in my own project?

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

Similar boards

  • 4 layers49.5 × 29 mmXESC2, the printed circuit board in 3D

    XESC2

    kitspace-test-repos/kicad6-file-collection

    116 partsMIT
  • 2 layers45 × 80 mmBridge, the printed circuit board in 3D

    Bridge

    lachlanhurst/dukki

    Bipedal robot based on Microduck, rebuilt around Unitree J288 servos and a Radxa CM4.

    72 parts2MIT
  • 4 layers99.9 × 99.9 mmHub, the printed circuit board in 3D

    Hub

    BCIT-BAJA/BCIT-BAJA-DAQ

    The telemetry system for BCIT-BAJA car, collects strain across suspension components of car to allow BAJA to optimize material and reinforce weak areas of suspension.

    101 parts
  • 2 layers69 × 53.8 mmTrailerMonitor, the printed circuit board in 3D

    TrailerMonitor

    MikeMcPherson/TrailerMonitor

    22 partsMIT
  • 4 layers48 × 44.5 mmSmol servo rpi2350-tmc6200, the printed circuit board in 3D

    Smol servo rpi2350-tmc6200

    dognotdog/smol_servo

    circuitry and software for controlling NEMA17 size brushless motors and stepper motors as servos.

    151 parts5
  • 2 layers66.9 × 18 mmVoltage Regulator, the printed circuit board in 3D

    Voltage Regulator

    AnshS-2002/Voltage-Regulator---PCB-Design

    Welcome to the Voltage Regulator PCB Design repository! Here, we explore efficient and reliable ways to regulate voltage for various electronic applications.

    8 parts
  • 4 layers249.8 × 250 mmPanel.opm inline, the printed circuit board in 3D

    Panel.opm inline

    opme/motor-driver

    open source motor drivers to be driven by foc controller

    2,473 parts