Skip to the content
2 layers67.5 × 90.5 mmPWM Motor control board, the printed circuit board in 3D

PWM Motor control board

DiyaVPatil/PWM-Motor-Control-ESP32

Custom ESP32 PWM motor controller designed in KiCad

Size
67.5 × 90.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
46
Pads
133
Tracks, vias
202, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Jul 2026
Updated
5 Aug 2026

Overview

PWM Motor control board is an open-source printed circuit board by DiyaVPatil, from the DiyaVPatil/PWM-Motor-Control-ESP32 repository on GitHub. It is a 2-layer board of 67.5 × 90.5 mm with 34 parts on 46 nets, routed with 202 tracks and 0 vias.

It is built around the TPS63031DSK, AO3400A and SS14. Its parts include 10 capacitors, 8 resistors, 5 connectors, 4 diodes and 4 transistors. It belongs with the robots and motor control boards of this library.

Main components

3

README

README.md

ESP32 PWM Motor Controller

A custom PCB-based motor controller designed in KiCad for efficient PWM speed control of brushed DC motors using an ESP32 microcontroller.

This project began as a perfboard prototype and was later redesigned as a custom printed circuit board to improve physical dimensions and manufacturability.

Features

  • ESP32-based PWM motor control
  • Adjustable motor speed (0–100% duty cycle)
  • Logic-level MOSFET driver stage
  • Flyback diode protection
  • Battery-powered operation (3.7 V Li-ion)
  • Compact custom PCB designed in KiCad

Hardware

  1. ESP32 DevKit | Main microcontroller
  2. IRLB8748 | Logic-level N-channel MOSFET
  3. Schottky Diode | Flyback protection
  4. TP4056 | Li-ion charging module
  5. 3.7 V Li-ion Battery | Portable power source
  6. Coreless DC Motor | Demonstration load

Project Timeline

Version 1

Perfboard prototype built from KiCad schematic as a "proof-of-concept"

Version 2

Final custom KiCad PCB, after making improvements from the perfboard prototype.

Future Improvements

  • Real-time speed feedback on an OLED display
  • Battery percentage monitoring
  • Current sensing
  • Bluetooth control
  • Closed-loop speed control using encoder feedback

Repository Structure

Note that there is a functionality video available under images and BOM

text
ESP32-PWM-Motor-Controller/

firmware/
hardware/
kicad/
images and BOM/
docs/
README.md

Author

Diya

Electrical Engineering Student
University of California, Riverside

Parts

34
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C5
4-veTerminalBlock_Phoenix:TerminalBlock_Phoenix_PTSM-0,5-2-2,5-V-SMD_1x02-1MP_P2.50mm_VerticalJ1, J2, J3, J4
410kResistor_SMD:R_0603_1608MetricR5, R6, R7, R8
4220Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4
4AO3400APackage_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4
4SS14Diode_SMD:D_SMAD1, D2, D3, D4
310uFCapacitor_SMD:C_0805_2012MetricC7, C9, C10
11.5uHInductor_SMD:L_Coilcraft_XxL4020L1
1100nFCapacitor_SMD:C_0603_1608MetricC8
1680uFCapacitor_SMD:CP_Elec_8x10.5C6
1Battery terminalTerminalBlock_Phoenix:TerminalBlock_Phoenix_PTSM-0,5-2-2,5-V-SMD_1x02-1MP_P2.50mm_VerticalJ5
1TPS63031DSKPackage_SON:WSON-10-1EP_2.5x2.5mm_P0.5mm_EP1.2x2mmU1
1~ESP32 Pinout:UntitledM1

Similar boards

  • 2 layers90 × 45 mmEsp32-dalitester, the printed circuit board in 3D

    Esp32-dalitester

    lukasprojects/esp32-dalitester

    Small ESP32 DALI tester for commissioning and maintaining light installations via the DALI bus

    84 parts
  • 4 layers70 × 67 mmPairing voice pcb v11 70x67, the printed circuit board in 3D

    Pairing voice pcb v11 70x67

    windmoondreamer/pairing-voice-cube

    아이가 목소리를 녹음하고, 부모가 버튼을 눌러 재생하는 장치의 회로기판 프로젝트. 80mm 큐브 케이스 · 최대 45초 녹음 · 내장 플래시 · 배터리 구동.

    48 parts
  • 2 layers66.8 × 34 mmESP8266, the printed circuit board in 3D

    ESP8266

    MaloufSleep/ME-ESP8266

    Malouf Electronics - ESP8266 Dev Board

    127 parts204MIT
  • 2 layers170.1 × 96.9 mmSmartPrintCoreH7x, the printed circuit board in 3D

    SmartPrintCoreH7x

    BoltzRnD/SmartPrintCoreH7x

    STM32H7 based Robust and Open Source 3D Printer Mainboard

    567 parts89
  • 4 layers220 × 172.8 mmHw openmower universal, the printed circuit board in 3D

    Hw openmower universal

    xtech/hw-openmower-universal

    This hardware version is in beta state. Expect for things to not work at the current state!

    472 parts20CC-BY-4.0
  • 2 layers158 × 85 mmPiPLC Mainboard, the printed circuit board in 3D

    PiPLC Mainboard

    Chrismettal/PiPLC

    Glorified breakout board + DIN rail case for Pis

    154 parts19
  • 4 layers115.5 × 96.2 mmClosed deck x4, the printed circuit board in 3D

    Closed deck x4

    OpenLogicEFI/Hardware

    Hardware is based off an open source project called Speeduino by Josh Stewart.

    245 parts19

Questions

How big is the PWM Motor control board PCB?

It measures 67.5 × 90.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PWM Motor control board use?

34 parts, built around the TPS63031DSK, AO3400A and SS14. 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 PWM Motor control board KiCad files?

From the DiyaVPatil/PWM-Motor-Control-ESP32 repository on GitHub, at the commit this page was made from: the board is hardware/PWM Motor control board.kicad_pcb and its schematic hardware/PWM Motor control board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PWM Motor control board design in my own project?

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