Skip to the content
PCBKitNew board
4 layers80 × 80 mmFocDrive, the printed circuit board in 3D

Field-Oriented Control Board

Size
80 × 80 mm
Copper layers
4
Thickness
1.6 mm
Parts
125
Nets
91
Pads
473
Tracks, vias
1,438, 208
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
3 Aug 2026
Updated
13 Aug 2026

Overview

FocDrive is an open-source printed circuit board by 01binary, from the 01binary/foc repository on GitHub. It is a 4-layer board of 80 × 80 mm with 125 parts on 91 nets, routed with 1,438 tracks and 208 vias.

It is built around the STM32G474RBT3, MCP2562FDT-E/MF and AS5047D-ATSM, with the MP1584EN-LF-Z, BSZ0901NSATMA1 and HC-PM254-8.5H-1X6PZ among its other parts. Its parts include 45 capacitors, 33 resistors, 23 ICs, 3 diodes and 1 connector. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

12

README

README.md

Field-Oriented Control Drive

A board that controls BLDC motors in robot joints, based on SimpleFOC Drive Shield.

FeatureDescription
Current20A continuous, 30A peak, 75A max
Voltage30V max
EncodersAS5047D (Onboard), ASKIM2 (External)
DriverDRV8320HRTVT Triple Half-Bridge Gate Driver
CommunicationMCP2562FDT-E/MF CAN-FD Transceiver
Power12V from XT60PW-F

Microcontroller

This board uses STM32G474RBT3 MCU.

SpecificationValue
Power3.3V
Memory512 KB Flash, 96 KB SRAM
ADC5x 12-bit ADC, up to 16-bit
DAC7x 12-bit DAC
Timers17x
InterfacesCAN-FD, I2C, UART, SPI, USB 2.0
CapabilitiesCORDIC for Trigonometric Function, FMAC Filter Mathematical Accelerator

Motor Driver

The DRV8320HRTVT Triple Half-Bridge Gate Driver with Hardare interface is used to drive three N-channel power MOFSETs.

Gate Driver

  • 1.8V, 3.3V, and 5V Logic Inputs
  • Adjustable Slew Rate Control
  • Up to 100% PWM Duty Cycle
  • High-Side Charge Pump
  • Low-SIde Linear Regulator
  • 4V to 6 V Operating Voltage
  • 0.8mA to 600mA Output Capability

MOSFETs

The BSZ0904NSI 30V 60A N-channel power MOSFETs are used to drive a single 3-phase brushless DC motor.

Current Sense

Current is sensed by using the 3-Shunt, Amplified Current Sensing scheme from STM32 user guide:

Current Sense

ComponentDescription
HoJLR2512-3W-2mR-1%2mΩ 3W Current Sense Resistor SMD ±1% 2512 Current Sense Resistors / Shunt Resistors
INA240A1PWROp-Amps

Encoders

The board supports dual encoders:

  • AS5047D on the motor (before gearbox)
  • ASKIM-2 mounted on the drive (after gearbox)

Onboard Encoder

The onboard AS5047D high-resolution encoder with SPI interface is mounted on the board:

PinSignal
1CS
2CLK
3MISO
4MOSI
115V

External Encoder

The external absolute AKSIM-2 encoder with SPI interface uses a 10-pin FCI connector:

PinSignal
15V
2GND
3External Temperature Sensor Pin 1 (Pass-Thru)
4External Temperature Sensor Pin 2 (Pass-Thru)
5SCK
6CS
7MISO
8MOSI

Pin Mapping

PinNet
VBAT+3.3V
PC13Status LED
OSC32_IN32.768kHz Crystal Oscillator In
OSC32_OUT32.768kHz Crystal Oscillator Out
OSC_IN8MHz Crystal Oscillator In
OSC_OUT8Mhz Crystal Oscillator Out
RESETARM JTAG Programmer Reset Pin

Parts

125
QtyValueFootprintReferences
14100nFC0603C16, C17, C22, C23, C24, C25, C26, C27, C28, C29, C32, C35, C38, C39
91uFC0603C2, C3, C4, C6, C8, C21, C30, C31, C37
610kΩR0603R12, R28, R29, R33, R35, R36
6BSZ0901NSATMA1DFN-8_L3.3-W3.3-P0.65-BL-2U8, U9, UB1, UB2, UC1, UC2
5C0603B104K160NTC0603C1, C5, CB1, CB2, CB3
410uFC1210C18, C19, U11, U13
4HOLEHOLE COPYHOLEHOLEH1, H2, H3, H4
30ΩR0402R24, R25, R26
3100nFC0201U10, U20, U22
3100ΩR0603R13, R34, R37
32.2nFC1206C33, C36, C40
32mΩRES-SMD_L6.4-W3.2-R2512R30, R31, R32
34.7kR0603R1, R6, R7
3INA240A1PWRTSSOP-8_L4.4-W3.0-P0.65-LS6.4-BLU7, U21, U23
3M2 PLATED HOLE WITH MINI HOLESM2 PLATED HOLE WITH MINI HOLESM_A, M_B, M_C
2100kΩR1206R20, R21
218kR0603R9, R18
218pFC0402C14, C15
22.54-4P TPGTSW-SMD_8P-L10.2-W6.2-P2.54-LS9.4IDRIVE, VDS
220pFC0201C12, C13
220ΩR0402U14, U15
2220uFCAP-SMD_BD8.0-L8.3-W8.3-LS9.5-FDC9, C10
24.7kΩR0603R11, R17
2510ΩR0603R14, R15
275kR0603R8, R19
2LC150LGCTLED1206-RDDBG, PWR_LED
2LED-0603_RLED0603_REDD1, D2
110114830-11108LFCONN-SMD_8P-P1.25_AMPHENOL_10114830-11108LFEX-ENC
110kΩR0402R16
110nFC0603C34
1118kΩR0603U18
1120ΩR0402R27
11nFC0603CF3
12.2UH,20%IND-SMD_L4.0-W4.0_C9900022260L1
122kΩR0603R23
122nFC0603C11
1250kΩR0805R22
132.768kHzCRYSTAL-SMD_L3.2-W1.5-1U16
147kR0603R10
147nFC0603C7
147uFC0603C20
18MHzCRYSTAL-SMD_L3.2-W2.5_3225-8MHZX1
1AS5047D-ATSMTSSOP-14_L5.0-W4.4-P0.65-LS6.4-BLU17
1Conn_ARM_JTAG_SWD_10Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_VerticalJ1
1DRV8320HRTVTWQFN-32_L5.0-W5.0-P0.50-TL-EPU2
1HC-PM254-8.5H-1X6PZHDR-TH_HC-PM254-8.5H-1X6PZU1
1HX 5.2X5.2X1.5H SWITCH TACTILESW-SMD_4P-L5.2-W5.2-P3.7-LS6.4-1RESET
1HX USB-MICR XNJ ZBMICRO-USB-SMD_HX-USB-MICRO-XNJ-JBUSB1
1KH-BM2.54-3PSW-TH_KH-BM2.54-3PSW3
1MCP2562FDT-E/MFDFN-8_L3.0-W3.0-P0.65-BL-EPU19
1MP1584EN-LF-ZSOIC-8_L5.0-W4.0-P1.27-LS6.0-BL-EP2.0U6
1RT9193-33GBSOT-23-5_L3.0-W1.7-P0.95-LS2.8-BLU12
1SS14SMA_L4.2-W2.6-LS5.0-RD_1D3
1STM32G474RBT3LQFP-64_L10.0-W10.0-P0.50-LS12.0-BLU5
1WJ500V-5.08CONN-TH_3P-P5.00_WJ500V-5.08-3PCAN
1XT30PW-MCONN-TH_XT30PW-MPWR

Questions

How big is the FocDrive PCB?

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

What parts does the FocDrive use?

125 parts, built around the STM32G474RBT3, MCP2562FDT-E/MF, AS5047D-ATSM and MP1584EN-LF-Z. 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 FocDrive KiCad files?

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

Can I use the FocDrive design in my own project?

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

Similar boards

  • 4 layers82.6 × 76 mmUHoubolt PCB GNSS, the printed circuit board in 3D

    UHoubolt PCB GNSS

    SpaceTeam/uHoubolt_PCB_RCU

    90 partsCERN-OHL-W-2.0
  • 4 layers35 × 50 mmBldc driver, the printed circuit board in 3D

    Bldc driver

    ucchimasa/bldc_driver

    99 parts
  • 4 layers30 × 48 mmEsp32 as5047d, the printed circuit board in 3D

    Esp32 as5047d

    HeyPCB/esp32-sensors-2

    ESP32-S3 boards, one sensor each: KiCad 10, JLCPCB-ready, CERN-OHL-S-2.0

    23 partsCERN-OHL-S-2.0
  • 4 layers186.9 × 129.8 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    ansh1113/e-bike-conversion-kit

    A 4-layer PCB-based e-bike conversion kit featuring an STM32-based VESC ESC, power management circuits, wireless throttle, GSM, GPS, and more.

    179 parts1
  • 4 layers60.5 × 100.5 mmVCU, the printed circuit board in 3D

    VCU

    matatma23-gento/embedded-portfolio

    This repository collects KiCad hardware design projects. Project specifications, validation results, and individual contributions are being documented; the presence of design files does not imply production readiness or…

    166 parts
  • 4 layers54 × 106 mmSeed pedal, the printed circuit board in 3D

    Seed pedal

    TMANTsmith/daisy-esp32-guitar-pedal

    esp23 + daisy guitar pedal

    77 parts1
  • 4 layers38 × 38 mmZero star, the printed circuit board in 3D

    Zero star

    Auodit/flyamaster

    STM32F407 Flight Controller with FreeRTOS

    144 partsCC-BY-SA-4.0
  • 4 layers93.5 × 81 mmUM Controller, the printed circuit board in 3D

    UM Controller

    Aptustech/Micromanipulator_uM_NG

    Next generation Micromanipulator controller

    173 parts2