Skip to the content
4 layers70 × 90 mmMotor driver, the printed circuit board in 3D

A super nice projet

Size
70 × 90 mm
Copper layers
4
Thickness
1.6 mm
Parts
73
Nets
72
Pads
275
Tracks, vias
98, 12
Pours
6
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
10 Feb 2025
Updated
31 May 2025

Overview

Motor 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 70 × 90 mm with 73 parts on 72 nets, routed with 98 tracks and 12 vias.

It is built around the STM32L412KBT6, A89307KETSR-J and AZ1117CH2-3.3TRG1. Its parts include 18 capacitors, 14 resistors, 8 connectors, 6 diodes and 3 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

3

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

73
QtyValueFootprintReferences
610kResistor_SMD:R_0603_1608MetricR6, R10, R15, R16, R17, R18
522µFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C13, C19
44.7µFCapacitor_SMD:C_0603_1608MetricC4, C12, C14, C15
4Conn_01x01_PinMountingHole:MountingHole_3.2mm_M3_Pad_TopBottomJ5, J6, J7, J8
4LEDCapacitor_SMD:C_0603_1608MetricD1, D4, D5, D6
3100nCapacitor_SMD:C_0603_1608MetricC5, C6, C10
3~Package_SO:PowerPAK_SO-8_DualSQJ746ELP1, SQJ746ELP2, SQJ746ELP3
2100nFCapacitor_SMD:C_0603_1608MetricC16, C17
2430181038816SamacSys_Parts:430181038816S1, S2
2824045817SamacSys_Parts:824045817D2, D7
10.025Resistor_SMD:R_0603_1608MetricR1
110µFCapacitor_SMD:C_0603_1608MetricC18
110µHSamacSys_Parts:WE-MAPI_3020L1
112kResistor_SMD:R_0603_1608MetricR7
115pFCapacitor_SMD:C_0603_1608MetricC20
1171013801SamacSys_Parts:171013801PS1
11k5Resistor_SMD:R_0603_1608MetricR9
11µFCapacitor_SMD:C_0603_1608MetricC11
1200Resistor_SMD:R_0603_1608MetricR2
1220µFCapacitor_SMD:C_0603_1608MetricC9
124VTestPoint:TestPoint_Pad_D1.5mmTP11
12k5Resistor_SMD:R_0603_1608MetricR8
13.3VTestPoint:TestPoint_Pad_D1.5mmTP13
1402kResistor_SMD:R_0603_1608MetricR4
1418121270802SamacSys_Parts:418121270802S3
15.6kResistor_SMD:R_0603_1608MetricR3
15VTestPoint:TestPoint_Pad_D1.5mmTP12
180kResistor_SMD:R_0603_1608MetricR5
1A89307KETSR-JSamacSys_Parts:A8519KETTRR1IC1
1AZ1117CH2-3.3TRG1SamacSys_Parts:SOT230P700X180-4NPS2
1BRAKETestPoint:TestPoint_Pad_D1.5mmTP10
1DIRTestPoint:TestPoint_Pad_D1.5mmTP9
1DebugConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ4
1ENCODERConnector_JST:JST_SH_SM05B-SRSS-TB_1x05-1MP_P1.00mm_HorizontalJ1
1GATE ATestPoint:TestPoint_Pad_D1.5mmTP7
1GATE BTestPoint:TestPoint_Pad_D1.5mmTP6
1GATE CTestPoint:TestPoint_Pad_D1.5mmTP5
1PAD_MOTEURCustom:Solder Pad x3J3
1PWMTestPoint:TestPoint_Pad_D1.5mmTP8
1PWR_CONNConnector_AMASS:AMASS_XT60PW-M_1x02_P7.20mm_HorizontalXT60
1RXTestPoint:TestPoint_Pad_D1.5mmTP3
1SCLTestPoint:TestPoint_Pad_D1.5mmTP2
1SDATestPoint:TestPoint_Pad_D1.5mmTP1
1STM32L412KBT6SamacSys_Parts:QFP80P900X900X160-32NIC2
1TXTestPoint:TestPoint_Pad_D1.5mmTP4
1USB_CConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ2
1~Custom:Oscillator 7x5mmOscillator1
1~Custom:452406020024U1

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 layers42 × 42 mmPCB COM, the printed circuit board in 3D

    PCB COM

    MOAalpha/2425_Projet1AB_SIMU4DX

    A super nice projet

    44 parts

Similar boards

  • 2 layers56.5 × 66.8 mmTracker v1, the printed circuit board in 3D

    Tracker v1

    angelnu/LorawanSensor

    LoraWan soil sensor

    45 parts22MIT
  • 4 layers39 × 92 mmChaac ng, the printed circuit board in 3D

    Chaac ng

    alvarop/chaac

    This is a work in progress for a wireless weather station project.

    82 parts21MIT
  • 2 layers87 × 30.8 mmEbus2usb, the printed circuit board in 3D

    Ebus2usb

    jkyprian/ebus2usb

    1TE DIN Rail eBus to USB Type-C Adapter

    59 parts10
  • 2 layers24 × 24 mmSX1280 module, the printed circuit board in 3D

    SX1280 module

    dabit20/ExpressLRS-SX1280-module

    SX1280 based 2.4GHz module for the ExpressLRS radio system

    50 parts
  • 2 layers57 × 57 mmSensor node, the printed circuit board in 3D

    Sensor node

    henriheimann/prosper3-monitor

    Repository of the Prosper III Environment Monitor project ☀️🌱

    52 parts
  • 4 layers102 × 52 mmVape MK16, the printed circuit board in 3D

    Vape MK16

    SirBramble/Vape-MK16

    104 parts
  • 2 layers65 × 56 mmStm32BoB, the printed circuit board in 3D

    Stm32BoB

    Arlausea/2324_Projet2A_Eve

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

    33 parts

Questions

How big is the Motor driver PCB?

It measures 70 × 90 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Motor driver use?

73 parts, built around the STM32L412KBT6, A89307KETSR-J and AZ1117CH2-3.3TRG1. 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 Motor driver KiCad files?

From the MOAalpha/2425_Projet1AB_SIMU4DX repository on GitHub, at the commit this page was made from: the board is Hardware/PCB/Motor_driver/Motor_driver-backups/Motor_driver-2025-03-14_165845/Motor_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 Motor driver design in my own project?

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