Skip to the content
2 layers47 × 55.5 mmMotor master, the printed circuit board in 3D

The board can also be connected to motors through the CAN bus. Connect one end of the CAN chain to the CAN connector on the board and the other end to the TERM connector, or use another termination resistor.

Size
47 × 55.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
52
Nets
60
Pads
202
Tracks, vias
250, 43
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
15 Jul 2024
Updated
24 Aug 2024

Overview

Motor master is an open-source printed circuit board by PaulBailey-1, from the PaulBailey-1/motor-master repository on GitHub. It is a 2-layer board of 47 × 55.5 mm with 52 parts on 60 nets, routed with 250 tracks and 43 vias.

It is built around the ESP32-S3-WROOM-1-N8, SN65HVD232DR-JSM and LM1117MPX-3.3/NOPB-HXY, with the 150060RS75000, SK14 and SZNUP2105LT1G-ES among its other parts. Its parts include 15 capacitors, 12 resistors, 8 connectors, 6 diodes and 4 switches. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

8

README

README.md

MotorMaster

This is a board designed to easily command FRC motors for testing or prototyping. It currently supports motors with the Talon FX motor controller. This repo contains the board schematics, PCB layout, and firmware for the board.

Features

It features 2 PWM channels that can be connected directly to the CAN connectors of the motor to command a duty cycle. Pressing the test button will output a 50% duty cycle on both PWM channels.

The board can also be connected to motors through the CAN bus. Connect one end of the CAN chain to the CAN connector on the board and the other end to the TERM connector, or use another termination resistor. NOTE: CAN functionality is still experimental and may not work, feel free to work on it.

The e-stop button will prevent the board from outputting any commands until the MCU is reset with the reset button.

The EXT pins can be used to connect an external input, like a switch or button, to provide additional control such as driving a motor or as an e-stop. The functionality must be added to the code, by default it does nothing.

The board can be powered through the USB C port, or from the power terminal off of a 12V battery. The board does not supply the motor with power, but it is important that it shares ground with the motor.

The board is designed to be used over Bluetooth with its accompanying app, the source of which is here: https://github.com/PaulBailey-1/motor-master-app
It is a cross-platform app and so should be able to be compiled for Android and iOS, but it has only been tested for Android.

Manufacturing

Board gerbers exported for manufacture by OSHPark are included in the repo, otherwise, the board can be opened in KiCad to export for manufacture. The BOM can be ordered from either Mouser or DigiKey.

The FTDI header (J5) and the EXT header (J6) are optional. The USBC TVS diode (D2) may also be omitted since it is hard to solder without bridges, although it does make the USB lines vulnerable to damage from ESD. The USB C may also be omitted entirely (J1 & D2), and the board can be programmed through the FTDI header.

To assemble the board, a stencil can be ordered and used to apply solder paste to the pads. The solder then may be reflowed in an oven or with hot air. It may also be possible to have it assembled by the PCB fab house.

Programming

Dependencies:

  • CAN by Sandeep Mistry v0.3.1
  • ESP32Servo by Kevin Harrington & John K. Bennett v3.0.5

To program the board, connect to it with USB C or with an FTID adapter and program it with the Arduino IDE. Install the ESP32 boards and the required libraries, select 'ESP32S3 Dev Module' as the board, and upload.

The name of the board over Bluetooth can have a postfix added to it in the code to help distinguish it. The first time the board is programmed after being assembled, the Boot button must be held from when it is plugged until it has been flashed. For debugging over USB C make sure the 'USB CDC On Boot' option is enabled so that you can get logging over the serial port.

Parts

52
QtyValueFootprintReferences
80.1uFCapacitor_SMD:C_0603_1608MetricC3, C5, C6, C7, C8, C9, C11, C14
510kResistor_SMD:R_0603_1608MetricR4, R5, R6, R7, R8
410uFCapacitor_SMD:C_0603_1608MetricC1, C2, C4, C10
2100Resistor_SMD:R_0603_1608MetricR3, R9
2100pCapacitor_SMD:C_0603_1608MetricC12, C13
2150060RS75000SamacSys_Parts:LEDC1608X80ND3, D5
25.1kResistor_SMD:R_0603_1608MetricR1, R2
260Resistor_SMD:R_1206_3216MetricR10, R11
2SK14SamacSys_Parts:DIONM5027X250ND1, D4
1120Resistor_SMD:R_0603_1608MetricR12
14.7nCapacitor_SMD:C_0603_1608MetricC15
15-12VSamacSys_Parts:1190297J2
1BootSamacSys_Parts:PTS636SKG25JSMTRLFSS1
1CANSamacSys_Parts:1719710103J8
1E-StopSamacSys_Parts:FSM4JHS4
1ESP32-S3-WROOM-1-N8ESP32-S3-WROOM-1-N8:XCVR_ESP32-S3-WROOM-1-N8U1
1EXTSamacSys_Parts:TSW-102-XX-YY-SJ6
1FTDISamacSys_Parts:HDRV4W64P0X254_1X4_1016X254X889PJ5
1LM1117MPX-3.3_NOPBSamacSys_Parts:SOT230P700X180-4NIC1
1PWM1SamacSys_Parts:1719710103J3
1PWM2SamacSys_Parts:1719710103J4
1ResetSamacSys_Parts:PTS636SKG25JSMTRLFSS2
1SN65HVD232DRSamacSys_Parts:SOIC127P600X175-8NIC2
1SZNUP2105LT1GSamacSys_Parts:SOT96P237X111-3ND6
1TERMSamacSys_Parts:1719710103J7
1TPD4E02B04DQARSamacSys_Parts:DQA_R-PUSON-N10_D2
1TestSamacSys_Parts:PTS636SKG25JSMTRLFSS3
1USB4105-GF-AUSB-C-data-connector:GCT_USB4105-GF-AJ1

The 48 most common of 52 parts.

Similar boards

  • 4 layers59.9 × 61.5 mmSuckydo, the printed circuit board in 3D

    Suckydo

    discreetmayor/smt_pickup

    80 parts
  • 4 layers86.3 × 25 mmHdmi snake, the printed circuit board in 3D

    Hdmi snake

    Ajstros/hdmi-snake

    Hardware design for playing snake over HDMI.

    62 parts
  • 4 layers100 × 82.6 mmHV ECU, the printed circuit board in 3D

    HV ECU

    outlandnish/subaru-brz-hv-ecu

    HV Power Management ECU for my Subaru BRZ EV Conversion

    125 partsMIT
  • 2 layers135.1 × 159.4 mmBMS Master, the printed circuit board in 3D

    BMS Master

    UCDFS/Circuits

    KiCad projects and PCB designs for UCDFS electronic circuits.

    220 parts1
  • 4 layers112 × 57 mmUniversalboxArm1-0, the printed circuit board in 3D

    UniversalboxArm1-0

    Solartraveler/UniversalboxArm

    PCB for experimenting with a STM32

    170 parts2
  • 2 layers96.6 × 59.7 mmPreheat controller, the printed circuit board in 3D

    Preheat controller

    perja12/preheating_station_controller

    Controller for the Youyue 946c preheating station.

    53 parts1Apache-2.0
  • 2 layers56 × 50 mmCatvfoctrl, the printed circuit board in 3D

    Catvfoctrl

    xflyingcat/vfo_controller

    External VFO controller with magnetic encoder for the Xiegu G90 HF transceiver

    55 parts1MIT
  • 2 layers86.5 × 33 mmPlatineA CNMB2, the printed circuit board in 3D

    PlatineA CNMB2

    maxx3105/HBW-1W-T10

    10 Kanal Temperatursensor für Homematic Wired.

    34 parts

Questions

How big is the Motor master PCB?

It measures 47 × 55.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Motor master use?

52 parts, built around the ESP32-S3-WROOM-1-N8, SN65HVD232DR-JSM, LM1117MPX-3.3/NOPB-HXY and 150060RS75000. 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 master KiCad files?

From the PaulBailey-1/motor-master repository on GitHub, at the commit this page was made from: the board is board/motor_master.kicad_pcb and its schematic board/motor_master.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Motor master design in my own project?

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