Skip to the content
2 layers60.3 × 48.1 mmMotor driver, the printed circuit board in 3D

This repository contains the KiCad schematics and PCB layout files for a custom DC motor driver. Designed around a discrete MOSFET H-Bridge topology, the board incorporates dedicated gate drivers and a hardware-level…

Size
60.3 × 48.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
37
Nets
39
Pads
139
Tracks, vias
191, 7
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
23 Oct 2026
Updated
23 Oct 2026

Overview

Motor driver is an open-source printed circuit board by a0405chain3x10, from the a0405chain3x10/Motor_driver repository on GitHub. It is a 2-layer board of 60.3 × 48.1 mm with 37 parts on 39 nets, routed with 191 tracks and 7 vias.

It is built around the 74HC04D and 74HC08D. Its parts include 12 resistors, 11 capacitors, 6 ICs, 4 transistors and 4 connectors. It belongs with the robots and motor control boards of this library.

Main components

2

README

Readme.md

Discrete H-Bridge DC Motor Driver

This repository contains the KiCad schematics and PCB layout files for a custom DC motor driver. Designed around a discrete MOSFET H-Bridge topology, the board incorporates dedicated gate drivers and a hardware-level logic safety interlock to prevent catastrophic shoot-through conditions.

image image image

Hardware Architecture

The motor driver is built to handle high-current DC loads using a robust discrete component approach:

  • Power Delivery: The main power stage accepts a 12V input via a dedicated screw terminal (J1), supported by a 220uF/25V electrolytic bulk capacitor (C7) to handle transient loads.
  • Logic Power: A separate 3.3V input (J3) is utilized to power the onboard logic gates and safely interface with low-voltage microcontrollers.
  • H-Bridge Configuration: The switching stage utilizes two PMOS (Q1, Q3) and two NMOS (Q2, Q4) transistors in a standard H-Bridge layout to control motor direction and speed.
  • Gate Driving: Two TC4428xOA ICs (U1, U2) are used to provide the necessary current to rapidly charge and discharge the MOSFET gates, ensuring highly efficient PWM switching and minimizing thermal dissipation.
  • Motor Output: The driven motor connects directly to the H-Bridge via a 2-pin screw terminal (J4) labeled M+ and M-.

Hardware Safety Interlock

To protect the H-Bridge from short circuits caused by simultaneous directional commands (shoot-through), the board features a physical logic-gate safety layer:

  • Logic ICs: The interlock circuit is constructed using standard DIP-packaged 74HC08 (AND) and 74HC04 (NOT/Inverter) logic chips.
  • Signal Processing: Raw R and L input signals from the control connector (J2) are processed through the logic gates to generate mutually exclusive R_Safe and L_Safe signals.
  • Fail-Safe Operation: If both directional inputs are triggered simultaneously (either by software bug or electrical noise), the hardware logic overrides the input and prevents the active signals from reaching the TC4428xOA gate drivers, keeping the MOSFETs safely deactivated.

PCB Layout & Design Features

The physical dual-layer board is optimized for current handling and thermal management:

  • High-Current Routing: The M+ and M- motor output paths utilize exceptionally thick copper traces routed across both the top and bottom layers to handle heavy current loads without overheating.
  • Thermal Management: The four TO-220 MOSFETs (Q1-Q4) are aligned sequentially along the edge of the board, allowing them to share a single, continuous heatsink for optimal thermal dissipation.
  • Mixed-Technology Assembly: The design smartly combines through-hole components for robust mechanical connections (connectors, bulk capacitors, DIP logic ICs) with surface-mount (SMD) components for the gate drivers, decoupling capacitors, and pull-down resistors to save board space and optimize routing.

Bill of Materials (BOM)

Semiconductors & ICs

ReferencePartPackageDescriptionQuantity
U1, U2TC4428xOASOIC-8 (SMD)1.5A Dual High-Speed Gate Driver2
Q1, Q3PMOS TransistorTO-220High-Side P-Channel Power MOSFET2
Q2, Q4NMOS TransistorTO-220Low-Side N-Channel Power MOSFET2
U5, U674HC08DIP-14Quad 2-Input AND Gate2
U3, U474HC04DIP-14Hex Inverter (NOT Gate)2

Passives (Resistors & Capacitors)

ReferenceValuePackageDescriptionQuantity
C7220uF / 25VRadial (THT)Bulk Electrolytic Decoupling Capacitor1
C4, C6, C81uF / 25VSMDCeramic Decoupling Capacitor3
C3, C5, C9, C10, C11, C12, C13100nF (0.1uF)SMDCeramic Decoupling Capacitor7
R1, R2, R3, R410 ΩSMDGate Current Limiting Resistor4
R5, R6, R7, R810k ΩSMDInput Signal Pull-down Resistor4
R9, R10, R11, R1247k ΩSMDGate Pull-down Resistor4

Connectors & Hardware

ReferencePartDescriptionQuantity
J12-Pin Screw Terminal12V Main Power Input1
J42-Pin Screw TerminalMotor Output (M+, M-)1
J23-Pin Header/TerminalLogic Inputs (R, L, GND)1
J32-Pin Header/Terminal3.3V Logic Power Input1
HeatsinkTO-220 ContinuousMulti-component heatsink across Q1-Q41

Setup and Fabrication

  1. Clone this repository to view or modify the design files in KiCad:
    bash
    git clone https://github.com/adityasoni0405/<your-repo-name>.git
  2. Open motor driver.kicad_pro in KiCad to explore the schematic and PCB.
  3. To fabricate the board, export the Gerber files directly from the .kicad_pcb layout interface. When ordering from a fabricator (e.g., JLCPCB, PCBWay), a standard 1.6mm thickness with 1oz copper is sufficient, but 2oz copper is recommended if driving high-current loads continuously.

Parts

37
QtyValueFootprintReferences
5100nF/10VCapacitor_SMD:C_0805_2012MetricC9, C10, C11, C12, C13
410Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4
410kResistor_SMD:R_0603_1608MetricR5, R6, R7, R8
447kResistor_SMD:R_0603_1608MetricR9, R10, R11, R12
31uF/25VCapacitor_SMD:C_0805_2012MetricC4, C6, C8
2100nF/25VCapacitor_SMD:C_0805_2012MetricC3, C5
274HC04Package_DIP:DIP-14_W7.62mmU3, U4
274HC08Package_DIP:DIP-14_W7.62mmU5, U6
2NMOSPackage_TO_SOT_THT:TO-220-3_VerticalQ2, Q4
2PMOSPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q3
2Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1, J4
2TC4428xOAPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1, U2
1220uF/25VCapacitor_SMD:CP_Elec_10x10.5C7
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1Screw_Terminal_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2

Similar boards

  • 2 layers191.8 × 121.3 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-UART-Computer-1-2

    Legacy: Version 1 and 2 of my TTL-only CPU featuring UART I/O, an expansion port, 512KB SSD at up to 10MHz clock speed

    109 parts184
  • 2 layers306.1 × 130.2 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64-Home-Computer

    Legacy: Full TTL-only home computer with VGA and PS/2 and twice the processing power of a Commodore 64

    132 parts94
  • 2 layers216 × 150 mmMotherboard-101, the printed circuit board in 3D

    Motherboard-101

    artemisamsx/artemisa

    Schematics, PCB designs and HDL simulations to build a 8-bits MSX computer

    124 parts67
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 4 layers65.9 × 52.9 mmMotor shield, the printed circuit board in 3D

    Motor shield

    DCC-EX/EX-MotorShield8874

    Design files for the open source 5A Motor Shield

    114 parts12
  • 4 layers170 × 130 mmZ80Atmega128, the printed circuit board in 3D

    Z80Atmega128

    46nori/Z80Atmega128

    Real Z80A system with I/O emulated by AVR(ATmega128)

    109 parts9GPL-3.0
  • 4 layers65.9 × 52.7 mmMotor shield, the printed circuit board in 3D

    Motor shield

    DCC-EX/EX-Hardware

    Open Source hardware projects developed by the DCC-EX Team

    123 parts7CERN-OHL-W-2.0
  • 4 layers220 × 170 mmArpeggiator, the printed circuit board in 3D

    Arpeggiator

    EwoudVV/arpeggiator

    12-note analog arpeggiator with a 1/2/3 octave range, custom pcb and printed case

    360 parts3

Questions

How big is the Motor driver PCB?

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

What parts does the Motor driver use?

37 parts, built around the 74HC04D and 74HC08D. 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 a0405chain3x10/Motor_driver repository on GitHub, at the commit this page was made from: the board is motor driver.kicad_pcb and its schematic _restore_backup_2026-10-10T15-27-36-162/motor driver.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 a0405chain3x10 before reusing the design.