Skip to the content
2 layers60 × 60 mmTesting pcb, the printed circuit board in 3D

STM32G431 + DRV8311H BLDC control project using STM32CubeIDE.

Size
60 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
68
Pads
211
Tracks, vias
938, 162
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
28 Jan 2026
Updated
9 Apr 2026

Overview

Testing pcb is an open-source printed circuit board by NoobMaster-version, from the NoobMaster-version/Field-Orient-Control-for-BLDC-Motor repository on GitHub. It is a 2-layer board of 60 × 60 mm with 56 parts on 68 nets, routed with 938 tracks and 162 vias.

It is built around the AMS1117. Its parts include 11 connectors, 9 resistors, 7 capacitors, 4 ICs and 2 diodes. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

Field-Orient-Control-for-BLDC-Motor

STM32G431 + DRV8311H BLDC control project using STM32CubeIDE.

Main components

  • STM32G431CBT6 (MCU)
  • DRV8311H (3-phase gate driver)
  • AS5600 (magnetic encoder)
  • LDL1117 (voltage regulator)

This repo includes:

  • firmware/3xPWM_FOC (FOC firmware project)
  • firmware/Open_Loop_Test_DRV8311 (open-loop bring-up test)

Hardware

Soldered PCB

Soldered PCB

Motor running (open-loop)

Open loop motor test

PWM mode (3x PWM)

The firmware uses 3x PWM with TIM1 and complementary outputs to drive DRV8311:

  • INHA from PA8 (TIM1_CH1)

  • INHB from PA9 (TIM1_CH2)

  • INHC from PA10 (TIM1_CH3)

  • INLA from PB13 (TIM1_CH1N)

  • INLB from PB14 (TIM1_CH2N)

  • INLC from PB15 (TIM1_CH3N)

Pin connections (STM32 -> DRV8311 / interface)

Gate driver control

  • PA8 (TIM1_CH1) -> INHA

  • PA9 (TIM1_CH2) -> INHB

  • PA10 (TIM1_CH3) -> INHC

  • PB13 (TIM1_CH1N) -> INLA

  • PB14 (TIM1_CH2N) -> INLB

  • PB15 (TIM1_CH3N) -> INLC

  • PC13 (GPIO) -> nSLEEP

  • PC14 (GPIO input)-> nFAULT (pull-up)

Current sensing

  • PA0 (ADC1_IN1) -> SOA
  • PA1 (ADC2_IN2) -> SOB
  • PA2 (ADC1_IN3) -> SOC

Encoder and debug

  • PA15 (I2C1_SCL) -> AS5600 SCL
  • PB7 (I2C1_SDA) -> AS5600 SDA
  • PB10 (USART3_TX) -> UART TX (debug)
  • PB11 (USART3_RX) -> UART RX (debug)

Parts

56
QtyValueFootprintReferences
16SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2, JP3, JP4, JP5, JP6, JP7, JP8, JP9, JP10, JP11, JP12, JP13, JP14, JP15, JP16
4M3MountingHole:MountingHole_3mmH1, H2, H3, H4
210kResistor_SMD:R_0805_2012MetricR7, R8
210uFCapacitor_SMD:C_0805_2012MetricC4, C5
24.7kResistor_SMD:R_0805_2012MetricR2, R3
2Conn_01x04_PinConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ11, J12
2SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmBOOT, RESET
10.1uFCapacitor_SMD:C_0805_2012MetricC6
10KResistor_SMD:R_0805_2012MetricR5
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1
1100nFCapacitor_SMD:C_0805_2012MetricC2
110KResistor_SMD:R_0805_2012MetricR1
11kResistor_SMD:R_0805_2012MetricR6
11kLED_SMD:LED_0805_2012MetricR9
11uFCapacitor_SMD:C_0805_2012MetricC3
14.7uFCapacitor_SMD:C_0805_2012MetricC7
147kResistor_SMD:R_0805_2012MetricR4
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1AS5600AS5600:SOIC8U4
1DRV8311HPackage_DFN_QFN:Texas_RRW0024A_WQFN-24-1EP_3x3mm_P0.4mm_EP1.9x1.9mmU3
1INH/LxConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ5
1LEDLED_SMD:LED_0805_2012MetricD1
1LED_SmallLED_SMD:LED_0805_2012MetricD2
1SOxConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ10
1ST-LINK FlasherConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ2
1STM32G431CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1UARTConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalGND
1VConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ7
1batt_1x2Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ3
1gndConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ6
1outConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ8
1~Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalJ4
1~Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ9

Similar boards

  • 2 layers74.4 × 51.2 mmEsp32-wroom timer, the printed circuit board in 3D

    Esp32-wroom timer

    AlessandroAU/Chorus32-ESP32LapTimer

    This is an ESP32 port of the popular Chorus RF Laptimer

    66 parts102GPL-3.0
  • 2 layers44 × 20.5 mmQrng, the printed circuit board in 3D

    Qrng

    Spooky-Manufacturing/QRNG

    Quantum Random Number Generator

    29 parts86GPL-3.0
  • 4 layers125 × 90 mmAnalog board, the printed circuit board in 3D

    Analog board

    EERNINUO/ArbWave30

    ArbWave30 – 30MHz 任意波形发生器 | FPGA + 高速DAC | SCPI 可控

    295 parts53GPL-3.0
  • 2 layers100 × 45 mmTranspOtterNG, the printed circuit board in 3D

    TranspOtterNG

    Jana-Marie/transpOtterNG

    Next Generation of TranspOtter.

    63 parts51
  • 2 layers85 × 56 mmBasicengine, the printed circuit board in 3D

    Basicengine

    uli/basicengine-pcb

    Schematics and PCB layout for the BASIC Engine home computer

    115 parts48
  • 2 layers230 × 116 mmCvocd banana, the printed circuit board in 3D

    Cvocd banana

    hotchk155/cvocd.a

    176 parts38
  • 2 layers22 × 71 mmCircut, the printed circuit board in 3D

    Circut

    larry-wong/tiny_sensor

    基于 ESP32-S3 的温湿度 / 光照 / 人体存在传感器和红外发射器。

    18 parts34
  • 2 layers89.6 × 79 mmTDR 5351 core, the printed circuit board in 3D

    TDR 5351 core

    MR-DOS/TDR_diploma_thesis

    Time domain reflectometer. Includes Hardware, firmware and GUI in Octave. Also a diploma thesis.

    199 parts33GPL-3.0

Questions

How big is the Testing pcb PCB?

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

What parts does the Testing pcb use?

56 parts, built around the AMS1117. 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 Testing pcb KiCad files?

From the NoobMaster-version/Field-Orient-Control-for-BLDC-Motor repository on GitHub, at the commit this page was made from: the board is pcb_design/testing_pcb/testing_pcb.kicad_pcb and its schematic pcb_design/testing_pcb/testing_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Testing pcb design in my own project?

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