Skip to the content
4 layers50 × 50 mmTMC262 Stepper Driver, the printed circuit board in 3D

TMC262 Stepper Driver

MOAalpha/2425_Projet1AB_SIMU4DX

A super nice projet

Size
50 × 50 mm
Copper layers
4
Thickness
1.56 mm
Parts
103
Nets
103
Pads
424
Tracks, vias
860, 262
Pours
527
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
10 Feb 2025
Updated
31 May 2025

Overview

TMC262 Stepper Driver is an open-source printed circuit board by MOAalpha, from the MOAalpha/2425_Projet1AB_SIMU4DX repository on GitHub. It is a 4-layer board of 50 × 50 mm with 103 parts on 103 nets, routed with 860 tracks and 262 vias.

It is built around the TMC262-LA, USBLC6-2SC6 and KSS221GLFS, with the SQJ504EP-T1_GE3, FSV340AF and WS2812B among its other parts. Its parts include 30 capacitors, 30 resistors, 12 diodes, 6 connectors and 5 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

6

README

README.md

2425_Projet1AB_SIMU4DX

A super nice projet

L'objectif de ce projet est de reconstituer un simulateur de voiture permettant de ressentir les vraies sensations de conduite, avec un frein à retour de force et 4 pieds movibles.

On s'inspire du projet : https://github.com/ChrGri/DIY-Sim-Racing-FFB-Pedal

La base ayant déjà été faite, on souhaite modifier le châssis et les pédales de frein afin d'augmenter la sensation de conduire une véritable voiture.

INSTALLER ET FAIRE FONCTIONNER SIMHUB

Tout d'abord, il vous faut installer SimHub sur votre ordinateur.

Cliquez sur "Add/Remove/Features" dans le menu de gauche.

image

Cliquez sur "addons motion" pour activer le contrôle de mouvement.

image

Normalement, "Motion" apparaît sur SimHub (icône avec un siège).

image

Cliquez sur "Let's test it".

image

Choisissez comme configuration "3 DOFs, 2 fronts, 1 rear".

image

Cliquez sur "Add new controller".

image

Choisissez "generic serial output"

image

Dans "Connexion", assurez-vous que votre carte est connectée sur le bon COM.

image

Vous pouvez régler la dimension de la plateforme ce qui vous permet d'obtenir la limitation des axes.

image

Cliquez ensuite sur "Edit serial commands setting".

image

Dans cet onglet, vous voyez le type de données que SimHub vous envoie : ce sont deux angles (le roll et le pitch) et une translation selon l'axe horizontal qui est appelé "heave".

C'est dans cet onglet que vous pouvez régler la forme des données que vous souhaitez envoyer :

Baudrate: 115000

Data bits: 8

Stop bits: 1

Parity: none

Number of controlled axis: 3

Axis output format: decimal

Axis resolution: 8 bits (donc de 0 à 255)

Motion update commands: (à copier-coller ; vous pouvez aussi cliquer sur les "..." pour les ajouter)

image

image

image

Cliquez sur "Edit axis assignment". Vous n'avez que trois axes (rear center, front left corner, front right corner). Vous pouvez tester l'envoi des données dans cet onglet.

image

LIRE LES DONNÉES DE SIMHUB

Méthode avec deux STM32 :

Nous avons utilisé cette méthode au début de notre projet, car nous n'avions pas encore terminé l'impression des cartes.

Si vous disposez de deux microcontrôleurs STM32 ayant l'UART 1 et 2, il vous suffit de relier les ports RX, TX et GND de vos deux cartes STM32.

Par la suite, il vous faut installer STM32CubeIDE et PuTTY. Activez l'UART 1 et 2. Puis, ajoutez cette ligne de code qui vous permettra de lire les données.

image

Une fois que le code est chargé dans les deux cartes, il faut par la suite ouvrir PuTTY et SimHub.

Dans SimHub : Il faut revenir dans l'onglet "Edit axis assignment" et cliquer sur le bouton de test pour que SimHub envoie les données.

Dans PuTTY : Cliquez sur "Connexion type" "Serial", puis choisissez le COM correspondant à votre carte et sélectionnez 115200 bauds.

image

Méthode avec le hub USB :

Cette méthode permet de tester le fonctionnement du hub USB.

La carte qui reçoit les données est le hub USB dans notre schéma d'architecture ; elle reçoit les données via le port USB. Il faut relier l'un des ports USB du hub USB dédié aux autres cartes vers le PC. Ensuite, vous pourrez lire les données envoyées avec PuTTY. Malheureusement, nous n'avons pas pu le faire, car nous avons rencontré un problème avec le timer de notre microcontrôleur.

On a effectué une PCB de communication : image Elle a pour rôle la transmission des infos du jeu prélevés à l'aide de simhub aux 4 moteurs qui font bouger le châssis.

NB : Le circuit semble correct (On a bien 5V en entrée du régulateur et 3.3V en sortie) MAIS son horloge interne ne fonctionne pas.

On a effectué une PCB Moteur pour chacun des 4 moteurs : image Celle-ci se charge d'indiquer au driver à quel point il faut bouger le vérin.

A suivre :

Tester la PCB du STEPPER pour commander la pédale de frein avec retour de force.
image
Assembler le tout.
Profiter des sensations.

Parts

103
QtyValueFootprintReferences
10100nCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C5, C15, C16, C19, C23, C24
810kResistor_SMD:R_0402_1005MetricR1, R2, R3, R4, R9, R10, R11, R25
7LEDLED_SMD:LED_0603_1608MetricD5, D6, D7, D8, D9, D10, D13
6180mResistor_SMD:R_0612_1632MetricR19, R20, R21, R28, R29, R30
5SW_PushMaker:KSS221GLFSSW1, SW2, SW3, SW4, SW5
42k5Resistor_SMD:R_0402_1005MetricR13, R14, R15, R16
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3, H4
4SQJ504EPMaker_librairy:SQJ504EPQ1, Q2, Q3, Q4
310nCapacitor_SMD:C_0402_1005MetricC9, C10, C18
310uCapacitor_SMD:C_1206_3216MetricC25, C26, C28
3470nCapacitor_SMD:C_0402_1005MetricC20, C27, C29
3FSV340AFDiode_SMD:D_SMAD4, D11, D12
210Resistor_SMD:R_0402_1005MetricR18, R27
210uCapacitor_SMD:C_0603_1608MetricC12, C21
21k5Resistor_SMD:R_0402_1005MetricR17, R26
21uCapacitor_SMD:C_0402_1005MetricC14, C31
24u7Capacitor_SMD:C_1210_3225MetricC7, C8
25V_USBTestPoint:TestPoint_Pad_D1.0mmTP3, TP4
25k1Resistor_SMD:R_0402_1005MetricR23, R24
2WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2
112kResistor_SMD:R_0402_1005MetricR12
11kResistor_SMD:R_0402_1005MetricR22
1220nCapacitor_SMD:C_0402_1005MetricC22
122uCapacitor_SMD:C_0805_2012MetricC13
124VTestPoint:TestPoint_Pad_D1.0mmTP1
1330Resistor_SMD:R_0402_1005MetricR8
13V3TestPoint:TestPoint_Pad_D1.0mmTP6
1402kResistor_SMD:R_0402_1005MetricR5
147uCapacitor_SMD:C_0805_2012MetricC11
14u7Capacitor_SMD:C_0402_1005MetricC6
15VTestPoint:TestPoint_Pad_D1.0mmTP5
15V_BUCKTestPoint:TestPoint_Pad_D1.0mmTP2
15k6Resistor_SMD:R_0402_1005MetricR7
1629722000214Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J3
180k6Resistor_SMD:R_0402_1005MetricR6
1AZ1117-3.3Package_TO_SOT_SMD:SOT-223U1
1C_Polarized_SmallCapacitor_SMD:CP_Elec_10x10.5C30
1Conn_01x02Connector_AMASS:AMASS_XT30U-M_1x02_P5.0mm_VerticalJ4
1Conn_01x04Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ1
1Conn_01x04Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_VerticalJ5
1Conn_01x05Connector_JST:JST_PH_B5B-PH-K_1x05_P2.00mm_VerticalJ6
1STM32G431CBUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU3
1SolderJumper_3_OpenJumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mmJP1
1TMC262Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mmU4
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5
1~Connector_PinHeader_1.27mm:PinHeader_2x07_P1.27mm_Vertical_SMDJ2
1~Maker:171013801U2

More from MOAalpha/2425_Projet1AB_SIMU4DX

3
  • 4 layers80 × 92.3 mmMotor driver, the printed circuit board in 3D

    Motor driver

    MOAalpha/2425_Projet1AB_SIMU4DX

    A super nice projet

    105 parts
  • 4 layers70 × 90 mmMotor driver, the printed circuit board in 3D

    Motor driver

    MOAalpha/2425_Projet1AB_SIMU4DX

    A super nice projet

    73 parts
  • 4 layers42 × 42 mmPCB COM, the printed circuit board in 3D

    PCB COM

    MOAalpha/2425_Projet1AB_SIMU4DX

    A super nice projet

    44 parts

Similar boards

  • 4 layers50 × 50 mmSOS Schematic, the printed circuit board in 3D

    SOS Schematic

    DBXYD/2526_Projet1AB_SOS

    1) Hardware : Une carte électronique sur mesure intégrant une carte électronique sur mesure intégrant un microcontrôleur basse consommation STM32L4, un lecteur RFID communiquant via bus SPI matériel, et une interface…

    48 parts
  • 4 layers85 × 67.1 mmRobourt, the printed circuit board in 3D

    Robourt

    Arlausea/2324_Projet2A_Eve

    Upgrade of a robot arm to help disabled people in everyday life

    184 parts
  • 4 layers60 × 60 mmPCB Aquarium v2, the printed circuit board in 3D

    PCB Aquarium v2

    FernandesVincent/Aquarium_automatiser

    Suite du projet 2425_Maker_Aquarium

    152 parts
  • 2 layersBeacon, the printed circuit board in 3D

    Beacon

    Cesium-Lab/body

    PCBs

    52 parts1
  • 2 layers89 × 100 mmHub16, the printed circuit board in 3D

    Hub16

    joshajohnson/Hub16

    A macro pad with 16 keys, two rotary encoders, a four port USB hub, and plenty of LEDs!

    132 parts388
  • 2 layers390 × 120.2 mmKeyboard, the printed circuit board in 3D

    Keyboard

    joshajohnson/entropy

    Strange keyboard with a left hand numpad

    334 parts97
  • 2 layers89 × 124 mmHub20, the printed circuit board in 3D

    Hub20

    joshajohnson/Hub20

    Hub20 is a numpad with a bunch of features you never knew you needed.

    183 parts68
  • 2 layers285 × 94.6 mmNice60, the printed circuit board in 3D

    Nice60

    Nicell/nice60

    Pro Micro Powered, Hotswap 60% Keyboard

    142 parts29MIT

Questions

How big is the TMC262 Stepper Driver PCB?

It measures 50 × 50 mm and has 4 copper layers, 1.56 mm thick.

What parts does the TMC262 Stepper Driver use?

103 parts, built around the TMC262-LA, USBLC6-2SC6, KSS221GLFS and SQJ504EP-T1_GE3. 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 TMC262 Stepper Driver KiCad files?

From the MOAalpha/2425_Projet1AB_SIMU4DX repository on GitHub, at the commit this page was made from: the board is Hardware/TMC262_Stepper_Driver/TMC262_Stepper_Driver.kicad_pcb and its schematic Hardware/PCB Frein/PCB Frein.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TMC262 Stepper Driver design in my own project?

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