Skip to the content
4 layers34 × 63 mmSTSPIN32G4 V2, the printed circuit board in 3D

Motor Driver for some aliexpress robotic serovos powered by simpleFOC and a STSPIN32g4

Size
34 × 63 mm
Copper layers
4
Thickness
1.66 mm
Parts
91
Nets
87
Pads
316
Tracks, vias
793, 188
Pours
11
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
21 Oct 2023
Updated
15 Jan 2025

Overview

STSPIN32G4 V2 is an open-source printed circuit board by Scouttman, from the Scouttman/ZombieServo repository on GitHub. It is a 4-layer board of 34 × 63 mm with 91 parts on 87 nets, routed with 793 tracks and 188 vias.

It is built around the STSPIN32G4, TJA1057T/1Z and 1N4148WS, with the PRTR5V0U2X and SS210 among its other parts. Its parts include 30 resistors, 19 capacitors, 12 diodes, 8 connectors and 3 transistors. It belongs with the robots and motor control boards of this library.

Main components

5

README

README.md

ZombieServo

Motor Driver for some aliexpress robotic serovos powered by simpleFOC and a STSPIN32g4 Runs simpleFOC forum post here
May also port the mit mini cheeta code to it if the torque control is good
Position can be set with T i.e. set T6.28 will do one rotation (not sure why it is not a full rotation)
The M command for simple foc is added but not tested
20231021_143033 (1) 20231021_140654 (1)

Parts

91
QtyValueFootprintReferences
61N4148WSDiode_SMD:D_SOD-323D1, D2, D7, D10, D11, D12
633Resistor_SMD:R_0402_1005MetricR1, R4, R13, R17, R18, R25
41.5kResistor_SMD:R_0402_1005MetricR23, R24, R44, R50
4100nFCapacitor_SMD:C_0402_1005MetricC7, C9, C11, C41
42.2ufCapacitor_SMD:C_1206_3216MetricC3, C21, C23, C26
422kResistor_SMD:R_0402_1005MetricR26, R27, R41, R47
4LOGOLOGOG***, G***, G***, G***
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
310kResistor_SMD:R_0402_1005MetricR2, R3, R11
31uFCapacitor_SMD:C_0805_2012MetricC16, C24, C27
3220Resistor_SMD:R_0402_1005MetricR5, R6, R8
3Jumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1, JP4, JP8
3LEDLED_SMD:LED_0805_2012MetricD3, D4_white1, D4_white2
3Q_Dual_NMOS_G1mystuff:V-DFN3030-8 (Type K)Q1, Q2, Q7
211kResistor_SMD:R_0402_1005MetricR29, R53
21uFCapacitor_SMD:C_0402_1005MetricC8, C10
220pCapacitor_SMD:C_0402_1005MetricC4, C18
25.1kResistor_SMD:R_0402_1005MetricR19, R20
27mΩResistor_SMD:R_1206_3216MetricR7, R15
2Conn_01x03_MountingPinConnector_JST:JST_SH_BM03B-SRSS-TB_1x03-1MP_P1.00mm_VerticalJ5, J8
2NetTie_2NetTie:NetTie-2_SMD_Pad0.5mmNT1, NT2
110KResistor_SMD:R_0402_1005MetricR99
110uFCapacitor_SMD:C_0805_2012MetricC6
110uf 25vCapacitor_SMD:C_0805_2012MetricC1
1120Resistor_SMD:R_0402_1005MetricR98
118uhInductor_SMD:L_1812_4532MetricL2
1220nFCapacitor_SMD:C_0805_2012MetricC2
124mhzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY3
13.01kResistor_SMD:R_0402_1005MetricR39
133nfCapacitor_SMD:C_0402_1005MetricC19
172.3kResistor_SMD:R_0402_1005MetricR37
1BAT30kDiode_SMD:D_SOD-523D8
1Conn_01x02_FemaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x03_PinConnector_JST:JST_XH_B3B-XH-AM_1x03_P2.50mm_VerticalJ1
1Conn_01x06_MountingPinConnector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_VerticalJ6
1Conn_01x06_MountingPinConnector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_VerticalJ9
1Conn_01x12_MountingPinmystuff:0.5K-A-12PBFJ2
1Jumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP3
1PRTR5V0U2XPackage_TO_SOT_SMD:SOT-143D13
1SS210Diode_SMD:D_SOD-323D5
1STSPIN32G4spin_2:STSPIN32G4IC1
1SW_PushJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmSW1
1TJA1057T/1ZPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11J14

Similar boards

  • 4 layers45 × 35 mmSTSPIN32G4 V2, the printed circuit board in 3D

    STSPIN32G4 V2

    Scouttman/STSPIN32G4

    STM32G4 small board

    109 parts6
  • 4 layers75.2 × 99.5 mmFOC, the printed circuit board in 3D

    FOC

    nordstream3/FOC

    Date | Manufacturer | amount | includes | shipping & tax | price | -------- | -------- | -------- | -------- | -------- | -------- | 2024-01-17 | JLCPCB | 10 boards | All assembled excl fets and caps | YES, to EU |…

    261 parts81
  • 4 layers35 × 35 mmLemon pepper, the printed circuit board in 3D

    Lemon pepper

    VIPQualityPost/lemon-pepper-stepper

    simplefoc all-in-one 50W hybrid stepper + bldc driver

    87 parts75MIT
  • 2 layers68.6 × 53.3 mmStm32f4 uno poe, the printed circuit board in 3D

    Stm32f4 uno poe

    easy-smart/stm32f4_uno_poe

    96 parts
  • 4 layers100 × 60 mmCyd obd adapter, the printed circuit board in 3D

    Cyd obd adapter

    ssjrocks/cyd-obd-adapter

    Open low-level OBD-II adapter: ESP32 with HS-CAN, single-wire CAN, flex CAN, 2x K-line, L-line and pin voltage probes, exposed over BT Classic, BLE, WiFi and USB as a raw proxy. KiCad 10, JLCPCB-ready.

    170 partsAGPL-3.0
  • 4 layers110 × 90 mmUsb hub 3s, the printed circuit board in 3D

    Usb hub 3s

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    116 parts3MIT

Questions

How big is the STSPIN32G4 V2 PCB?

It measures 34 × 63 mm and has 4 copper layers, 1.66 mm thick.

What parts does the STSPIN32G4 V2 use?

91 parts, built around the STSPIN32G4, TJA1057T/1Z, 1N4148WS and PRTR5V0U2X. 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 STSPIN32G4 V2 KiCad files?

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

Can I use the STSPIN32G4 V2 design in my own project?

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