

STSPIN32G4 V2
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
5STSPIN32G4
VFQFPN-64(9x9)-40℃~+125℃ 1A 3 5.5V~15V I2C、SPI、UART、CAN No Three Phase VFQFPN-64(9x9) Brushless DC (BLDC) Motor Driver ROHSSTMicroelectronicsIntelligent Power Modules (IPM)TJA1057T/1Z
SOP-8-40℃~+150℃ 1.2mA 4.75V~5.25V 5Mbps 70mA CAN Transceiver SOP-8 CAN Transceivers ROHSNXP SemiconductorsCAN Transceivers1N4148WS
SOD-3231.25V@150mA 100V 150mA 1uA@75V 200mW 2A 4ns Independent SOD-323 Switching Diodes ROHSJiangsu Changjing Electronics Technology (CJ)Switching DiodesPRTR5V0U2X
SOT-143-55℃~+125℃ 0.3pF、0.8pF 100W 10V、15V 5V 6.5V 6A 80nA ESD IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 Three channels Unidirectional SOT-143 ESD and Surge Protection (TVS/ESD) ROHSTECH PUBLICESD And Surge Protection (TVS/ESD)SS210
SMA(DO-214AC)-55℃~+150℃ 1 Independent 100V 2A 500uA@100V 850mV@2A SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky Diodes
README
README.mdZombieServo
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
Parts
91| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 1N4148WS | Diode_SMD:D_SOD-323 | D1, D2, D7, D10, D11, D12 |
| 6 | 33 | Resistor_SMD:R_0402_1005Metric | R1, R4, R13, R17, R18, R25 |
| 4 | 1.5k | Resistor_SMD:R_0402_1005Metric | R23, R24, R44, R50 |
| 4 | 100nF | Capacitor_SMD:C_0402_1005Metric | C7, C9, C11, C41 |
| 4 | 2.2uf | Capacitor_SMD:C_1206_3216Metric | C3, C21, C23, C26 |
| 4 | 22k | Resistor_SMD:R_0402_1005Metric | R26, R27, R41, R47 |
| 4 | LOGO | LOGO | G***, G***, G***, G*** |
| 4 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2, H3, H4 |
| 3 | 10k | Resistor_SMD:R_0402_1005Metric | R2, R3, R11 |
| 3 | 1uF | Capacitor_SMD:C_0805_2012Metric | C16, C24, C27 |
| 3 | 220 | Resistor_SMD:R_0402_1005Metric | R5, R6, R8 |
| 3 | Jumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1, JP4, JP8 |
| 3 | LED | LED_SMD:LED_0805_2012Metric | D3, D4_white1, D4_white2 |
| 3 | Q_Dual_NMOS_G1 | mystuff:V-DFN3030-8 (Type K) | Q1, Q2, Q7 |
| 2 | 11k | Resistor_SMD:R_0402_1005Metric | R29, R53 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric | C8, C10 |
| 2 | 20p | Capacitor_SMD:C_0402_1005Metric | C4, C18 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R19, R20 |
| 2 | 7mΩ | Resistor_SMD:R_1206_3216Metric | R7, R15 |
| 2 | Conn_01x03_MountingPin | Connector_JST:JST_SH_BM03B-SRSS-TB_1x03-1MP_P1.00mm_Vertical | J5, J8 |
| 2 | NetTie_2 | NetTie:NetTie-2_SMD_Pad0.5mm | NT1, NT2 |
| 1 | 10K | Resistor_SMD:R_0402_1005Metric | R99 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 10uf 25v | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 120 | Resistor_SMD:R_0402_1005Metric | R98 |
| 1 | 18uh | Inductor_SMD:L_1812_4532Metric | L2 |
| 1 | 220nF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 24mhz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y3 |
| 1 | 3.01k | Resistor_SMD:R_0402_1005Metric | R39 |
| 1 | 33nf | Capacitor_SMD:C_0402_1005Metric | C19 |
| 1 | 72.3k | Resistor_SMD:R_0402_1005Metric | R37 |
| 1 | BAT30k | Diode_SMD:D_SOD-523 | D8 |
| 1 | Conn_01x02_Female | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J4 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_XH_B3B-XH-AM_1x03_P2.50mm_Vertical | J1 |
| 1 | Conn_01x06_MountingPin | Connector_PinHeader_1.27mm:PinHeader_1x06_P1.27mm_Vertical | J6 |
| 1 | Conn_01x06_MountingPin | Connector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_Vertical | J9 |
| 1 | Conn_01x12_MountingPin | mystuff:0.5K-A-12PBF | J2 |
| 1 | Jumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP3 |
| 1 | PRTR5V0U2X | Package_TO_SOT_SMD:SOT-143 | D13 |
| 1 | SS210 | Diode_SMD:D_SOD-323 | D5 |
| 1 | STSPIN32G4 | spin_2:STSPIN32G4 | IC1 |
| 1 | SW_Push | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | SW1 |
| 1 | TJA1057T/1Z | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J14 |
Similar boards
- 4 layers45 × 35 mm

- 4 layers110 × 160 mm

- 4 layers75.2 × 99.5 mm

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 mm

Lemon pepper
VIPQualityPost/lemon-pepper-stepper
simplefoc all-in-one 50W hybrid stepper + bldc driver
87 parts75MIT - 4 layers

- 2 layers68.6 × 53.3 mm

- 4 layers100 × 60 mm

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 mm

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.