Skip to the content
2 layers69 × 13 mmAdaptor, the printed circuit board in 3D

Highly compact field oriented controller based on the DRV8313 IC

Size
69 × 13 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
45
Pads
99
Tracks, vias
211, 29
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Aug 2023
Updated
6 Nov 2025

Overview

Adaptor is an open-source printed circuit board by williamhaarhoff, from the williamhaarhoff/foc8313 repository on GitHub. It is a 2-layer board of 69 × 13 mm with 22 parts on 45 nets, routed with 211 tracks and 29 vias.

It is built around the AS5047D, WAFER-GH1.25-10PLB and XT30(2+2)PB-M.G.B. Its parts include 10 connectors, 3 resistors, 2 capacitors, 2 diodes and 1 IC. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

3

README

README.md

foc8313

This board was inspired by Foc-Ctrl-Lite. FOC8313 is a highly compact, feature rich, daisy-chainable, field oriented control board based around the DRV8313 3 phase half bridge driver. This board is highly configurable and upgradeable, and includes all the manufacturing files required start producing controllers for $\approx$ $20/board

FrontBack
frontback

Features:

  • Highly compact 35x35mm outline
  • 29x29 square M3 hole pattern
  • 12V to 35V operating range
  • 3.5A max per phase current
  • Onboard STM32F103CBTx microcontroller
  • Based on the DRV8313 3 phase half bridge driver
  • 2 x INA240A2D high side current sense amplifiers
  • 1 x AS5047D back mounted hall effect encoder
  • EEPROM to store configurations / calibrations etc.
  • Daisy chainable power and CAN
  • Programmable with USB-DFU or StLink - 6 pin tag connect
  • Auxilliary encoder/Timer port with 5V and GND
  • Auxilliary SPI/GPIO and I2C/UART port with 5V and GND
  • Easily upgradable for isolated CAN (3 wire)
  • Extremely compact isolated CAN
  • JLC manufacturing files included
  • Cost optimised for PCBA with JLCPCB (as few extended components as possible)
  • Most basic variant costs $\approx$ $20 per board (for 10 PCBs at JLCPCB)
  • Predominantly single sided design allows for cost effective single sided PCBA, easy hot plating for rework, easy configuration with jumpers
TopIn1
topin1
In2Bottom
in2bottom

PCBA - Cost Scaling:

VersionColourFinishAssemblyQuantityUnit priceExtended Price
v1.0BlackEnigStandard T&B15$30.8$462.57
v1.0BlackEnigStandard Top15$24.3$364.22
v1.0BlackHASLStandard Top10$24.75$247.51
v1.0BlackEnigStandard T&B100$16.78$1678.39
v1.0GreenHASLEconomic Top2$53.45$106.89
v1.0GreenHASLEconomic Top5$30.28$151.40
v1.0GreenHASLEconomic Top10$20.48$204.81
v1.0GreenHASLEconomic Top15$19.2$288.48
v1.0GreenHASLEconomic Top30$15.6$468.48
v1.0GreenHASLStandard Top100$12.98$1297.77
v1.0BlackEnigNo ICs Top10$15.9 +$159.37
v1.0BlackEnigNo ICs Top15$12.9 +$193.44

ICs:

15x @LCSC: 215.22 -> 14.33 10x @LCSC: 146.71 -> 14.6

Parts

22
QtyValueFootprintReferences
220kResistor_SMD:R_0402_1005MetricR7, R9
2Conn_01x08_SocketConnector_PinHeader_1.27mm:PinHeader_1x08_P1.27mm_VerticalJ7, J8
2MountingHole_PadMountingHole:MountingHole_3.2mm_M3_ISO7380_Pad_TopBottomH3, H4
2WAFER-GH1.25-10PLBeasyeda:CONN-SMD_10P-P1.25_XUNPU_WAFER-GH1.25-10PLBCN5, CN6
2XT30(2+2)PB-M.G.Beasyeda:CONN-TH_XT30PB-MCN1, CN2
2~TestPoint:TestPoint_Keystone_5005-5009_CompactH1, H2
1100nCapacitor_SMD:C_0402_1005MetricC24
110kResistor_SMD:R_0402_1005MetricR5
11uCapacitor_SMD:C_0402_1005MetricC18
1AS5047DPackage_SO:TSSOP-14_4.4x5mm_P0.65mmU5
1BM08B-GHS-TBT(LF)(SN)_C133062easyeda:CONN-SMD_BM08B-GHS-TBT-LF-SNCN3
1Conn_01x02_SocketConnector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_VerticalJ5
1Conn_01x02_SocketConnector_PinHeader_1.27mm:PinHeader_1x02_P1.27mm_VerticalJ4
1GREENLED_SMD:LED_0603_1608MetricD7
1WHITELED_SMD:LED_0603_1608MetricD5
1~Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_VerticalJ3

More from williamhaarhoff/foc8313

1
  • 4 layers35 × 35 mmFoc8313, the printed circuit board in 3D

    Foc8313

    williamhaarhoff/foc8313

    Highly compact field oriented controller based on the DRV8313 IC

    155 parts9

Similar boards

  • 2 layers74.6 × 94.5 mmE1 power dist 2s, the printed circuit board in 3D

    E1 power dist 2s

    Telfair8632/sr71-600

    Twin-engine 600 mm RC Blackbird: parametric FreeCAD CAD, a 14-level Pico 2 firmware verification ladder, and a complete QA-evidenced digital build package

    41 parts2MIT
  • 4 layers71.8 × 70.7 mmDashMotor48V, the printed circuit board in 3D

    DashMotor48V

    ishaansalian/dash-motor-controller

    Motor control PCB for the Dash humanoid robot project.

    79 parts
  • 6 layers72 × 69.5 mmDashMotor48V, the printed circuit board in 3D

    DashMotor48V

    ShangqunYu/Dash48V

    48v version motor controller board

    108 parts
  • 4 layers91.1 × 64.4 mmLink101 carrier, the printed circuit board in 3D

    Link101 carrier

    robocore-labs/link101-hardware

    link101 is a multi-protocol USB interface board. One Type-C cable gives you CAN-FD, RS485, Dynamixel, Feetech, UART, I2C, and MIT Cheetah-protocol ports, all as stable Linux devices.

    49 parts1CERN-OHL-S-2.0
  • 2 layers36.5 × 56 mmFoc driver, the printed circuit board in 3D

    Foc driver

    sirojudinMunir/sf-motion

    Open-source Motion Control Platform

    132 parts135MIT
  • 2 layers60 × 60 mmHighPower Mechaduino, the printed circuit board in 3D

    HighPower Mechaduino

    pointhi/HighPower-Mechaduino

    Mechaduino derivative which drives up to 10A, drawn using KiCad

    140 parts31
  • 4 layers145 × 71.3 mmALL PCBS, the printed circuit board in 3D

    ALL PCBS

    NYDEREK/LineFollower_GRUZIK3.0

    Loved the project? Please consider giving a Star ⭐️

    142 parts15

Questions

How big is the Adaptor PCB?

It measures 69 × 13 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Adaptor use?

22 parts, built around the AS5047D, WAFER-GH1.25-10PLB and XT30(2+2)PB-M.G.B. 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 Adaptor KiCad files?

From the williamhaarhoff/foc8313 repository on GitHub, at the commit this page was made from: the board is adaptor/adaptor.kicad_pcb and its schematic adaptor/adaptor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Adaptor design in my own project?

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