Foc8313
williamhaarhoff·foc8313·hw/foc8313.kicad_pcb
About the Foc8313 PCB
Foc8313 is an open source STM32 PCB design by williamhaarhoff, published on GitHub. It is a 4-layer board measuring 35 × 35 mm, with 84 components from 46 distinct parts.
Its main chip is the C8304, from the STM32 family. Other key parts include the C3187929, C5446, C92482, C962063 and C2060768. By type, the board carries 33 capacitors, 24 resistors, 9 ICs, 6 diodes, 4 connectors and 2 switches.
It belongs with the robotics & motion designs in this gallery.
From the project
Highly compact field oriented controller based on the DRV8313 IC

Main components on the Foc8313
Foc8313 bill of materials (BOM)
84 components, 46 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C3187929 LMR36015SFBRNXR | VQFN-12_L3.0-W2.0-P0.65-BL_TI_RNX | U1 |
| 1 | C5446 XC6206P332MR | SOT-23-3_L2.9-W1.6-P1.90-LS2.8-BR | U2 |
| 1 | C92482 DRV8313PWP | HTSSOP-28_L9.8-W4.5-P0.65-LS6.6-BL-EP | U3 |
| 1 | C8304 STM32F103CBTx | LQFP-48_7x7mm_P0.5mm | U4 |
| 1 | C962063 AS5047D | TSSOP-14_4.4x5mm_P0.65mm | U5 |
| 2 | C2060768 INA240A2D | SOIC-8_3.9x4.9mm_P1.27mm | U7, U8 |
| 1 | ISO6521F | DFN-8-1EP_3x2mm_P0.5mm_EP1.3x1.5mm | U10 |
| 1 | C124020 TJA1051TK/3,118 | HVSON-8_L3.0-W3.0-P0.65-BL-EP | U12 |
| 1 | C13738 X322516MLB4SI | OSC-SMD_4P-L3.2-W2.5-BL | X1 |
| 1 | C7430447 Encoder | CONN-SMD_5P-P1.00_MEGASTAR_ZX-SH1.0-5PWT | J2 |
| 2 | C2764182 CAN | CONN-SMD_AFC10-S03QCA-00 | J3, J4 |
| 1 | C7430450 GPIO | CONN-SMD_8P-P1.00_MEGASTAR_ZX-SH1.0-8PWT | J6 |
| 1 | * | SolderJumper-3_P1.3mm_Bridged2Bar12_Pad1.0x1.5mm | JP1 |
| 1 | MIE1W0505BGLVH-3R-Z | CONV_MIE1W0505BGLVH-3R-Z | PS1 |
| 2 | C569760 SW_SPST | SW-TH_PANASONIC_EVPAKE31A | SW1, SW2 |
| 1 | TYPE-C 16PIN 2MD(073) | USB-C-SMD_TYPE-C-6PIN-2MD-073 | USB2 |
| 2 | C92677 36V | D_SOD-323 | D1, D3 |
| 1 | C2286 LED | D_0603_1608Metric | D4 |
| 1 | C2290 WHITE | LED_0603_1608Metric | D5 |
| 1 | C145179 RB521S30T1G | D_SOD-523 | D6 |
Show 26 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C72038 GREEN | LED_0603_1608Metric | D7 |
| 1 | C280267 27n | L_0603_1608Metric | L1 |
| 1 | C285963 10u | L_0805_2012Metric | L2 |
| 19 | C307331 100n | C_0402_1005Metric | C1, C2, C3, C4, C6, C7, C12, C20 +11 |
| 2 | C15849 1u | C_0603_1608Metric | C5, C15 |
| 1 | C16772 220n | C_0402_1005Metric | C8 |
| 1 | C377773 2.2u | C_0805_2012Metric | C9 |
| 2 | C1532 22n | C_0402_1005Metric | C10, C11 |
| 1 | C45783 22u | C_0805_2012Metric | C14 |
| 2 | C1549 18p | C_0402_1005Metric | C16, C17 |
| 1 | C12530 2.2u | C_0402_1005Metric | C18 |
| 1 | C15195 10n | C_0402_1005Metric | C23 |
| 1 | C7471868 47u | CP_Elec_5x5.7 | C30 |
| 2 | C59461 22u | C_0603_1608Metric | C37, C38 |
| 2 | C25741 100k | R_0402_1005Metric | R1, R3 |
| 1 | C22787 120 | R_0603_1608Metric | R2 |
| 2 | C25765 20k | R_0402_1005Metric | R4, R7 |
| 1 | C25744 10k | R_0402_1005Metric | R5 |
| 3 | C25867 1k5 | R_0402_1005Metric | R6, R8, R17 |
| 2 | C25092 22 | R_0402_1005Metric | R11, R16 |
| 2 | C728268 10m | R_0805_2012Metric | R12, R13 |
| 2 | C25905 5.1k | R_0402_1005Metric | R14, R15 |
| 1 | C25900 4.7k | R_0402_1005Metric | R18 |
| 6 | 5.1k | R_0402_1005Metric | R19, R20, R21, R22, R24, R30 |
| 1 | 100k | R_0402_1005Metric | R25 |
| 1 | 10k | R_0402_1005Metric | R26 |
Foc8313 design files
The KiCad project lives in the williamhaarhoff/foc8313 repository on GitHub; these links point at the commit this page was built from.
Foc8313: common questions
What microcontroller does the Foc8313 use?
The Foc8313 is built around the C8304, from the STM32 family.
How big is the Foc8313 PCB?
The Foc8313 measures 35 × 35 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Foc8313?
84 components, from 46 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Foc8313 design files?
From the williamhaarhoff/foc8313 repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Foc8313 design in my own project?
The repository has no license, so all rights stay with williamhaarhoff. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Foc8313 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in foc8313
Similar boards
STM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
Module 16S
stuartpittaway
71.1 × 89.6 mm113 parts4LCC-BY-NC-4.01.1kSTM32
Djinn
tzarc
192.3 × 150.5 mm216 parts2LCERN-OHL-S-2.0988STM32
Ghoul
tzarc
228.6 × 79.4 mm163 parts2LCERN-OHL-S-2.0988