

Motor master
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
8ESP32-S3-WROOM-1-N8
SMD,25.5x18mm-40℃~+85℃ -98.2dBm 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA Bluetooth5.0 ESP32-S3 Chip On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesSN65HVD232DR-JSM
SOP-8-40℃~+125℃ 1 2mA 3.3V 5Mbps CAN Transceiver ESD protection、Thermal shutdown protection、Short-Circuit Protection SOP-8 CAN Transceivers ROHSJSMSEMICAN TransceiversLM1117MPX-3.3/NOPB-HXY
SOT-223-20℃~+85℃ 1.3V@(800mA) 15V 2mA 3.3V 800mA Fixed Thermal Shutdown SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSHXY MOSFETVoltage Regulators - Linear, Low Drop Out (LDO) Regulators150060RS75000
0603-40℃~+85℃ 140° 20mA 250mcd 2V 625nm 630nm Discrete Diode Red Water Clear 0603 LED Indication - Discrete ROHSWürth ElektronikLight Emitting Diodes (LED)SK14
SMA(DO-214AC)-55℃~+150℃ 1 Independent 1A 200uA@40V 30A 40V 500mV@1A SMA(DO-214AC) Schottky Diodes ROHSSuzhou Good-Ark ElecSchottky DiodesSZNUP2105LT1G-ES
SOT-23ESD And Surge Protection (TVS/ESD)ElecSuperTPD4E02B04DQAR
USON-10(1x2.5)-40℃~+125℃ 0.33pF 10nA 17W@8/20us 2A@8/20us 3.6V 7.5V 8.8V Bidirectional Four channels IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 TVS USON-10(1x2.5) ESD and Surge Protection (TVS/ESD) ROHSTexas InstrumentsESD And Surge Protection (TVS/ESD)USB4105-GF-A
SMD-40℃~+85℃ 1 12P 48V 5A Black Female Surface Mount, Right Angle Type-C USB 2.0 SMD USB Connectors ROHSGlobal Connector Technology (GCT)USB Connectors
README
README.mdMotorMaster
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C3, C5, C6, C7, C8, C9, C11, C14 |
| 5 | 10k | Resistor_SMD:R_0603_1608Metric | R4, R5, R6, R7, R8 |
| 4 | 10uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C4, C10 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric | R3, R9 |
| 2 | 100p | Capacitor_SMD:C_0603_1608Metric | C12, C13 |
| 2 | 150060RS75000 | SamacSys_Parts:LEDC1608X80N | D3, D5 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | 60 | Resistor_SMD:R_1206_3216Metric | R10, R11 |
| 2 | SK14 | SamacSys_Parts:DIONM5027X250N | D1, D4 |
| 1 | 120 | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 4.7n | Capacitor_SMD:C_0603_1608Metric | C15 |
| 1 | 5-12V | SamacSys_Parts:1190297 | J2 |
| 1 | Boot | SamacSys_Parts:PTS636SKG25JSMTRLFS | S1 |
| 1 | CAN | SamacSys_Parts:1719710103 | J8 |
| 1 | E-Stop | SamacSys_Parts:FSM4JH | S4 |
| 1 | ESP32-S3-WROOM-1-N8 | ESP32-S3-WROOM-1-N8:XCVR_ESP32-S3-WROOM-1-N8 | U1 |
| 1 | EXT | SamacSys_Parts:TSW-102-XX-YY-S | J6 |
| 1 | FTDI | SamacSys_Parts:HDRV4W64P0X254_1X4_1016X254X889P | J5 |
| 1 | LM1117MPX-3.3_NOPB | SamacSys_Parts:SOT230P700X180-4N | IC1 |
| 1 | PWM1 | SamacSys_Parts:1719710103 | J3 |
| 1 | PWM2 | SamacSys_Parts:1719710103 | J4 |
| 1 | Reset | SamacSys_Parts:PTS636SKG25JSMTRLFS | S2 |
| 1 | SN65HVD232DR | SamacSys_Parts:SOIC127P600X175-8N | IC2 |
| 1 | SZNUP2105LT1G | SamacSys_Parts:SOT96P237X111-3N | D6 |
| 1 | TERM | SamacSys_Parts:1719710103 | J7 |
| 1 | TPD4E02B04DQAR | SamacSys_Parts:DQA_R-PUSON-N10_ | D2 |
| 1 | Test | SamacSys_Parts:PTS636SKG25JSMTRLFS | S3 |
| 1 | USB4105-GF-A | USB-C-data-connector:GCT_USB4105-GF-A | J1 |
The 48 most common of 52 parts.
Similar boards
- 4 layers59.9 × 61.5 mm

- 4 layers86.3 × 25 mm

- 4 layers100 × 82.6 mm

HV ECU
outlandnish/subaru-brz-hv-ecu
HV Power Management ECU for my Subaru BRZ EV Conversion
125 partsMIT - 2 layers135.1 × 159.4 mm

- 4 layers112 × 57 mm

- 2 layers96.6 × 59.7 mm

Preheat controller
perja12/preheating_station_controller
Controller for the Youyue 946c preheating station.
53 parts1Apache-2.0 - 2 layers56 × 50 mm

Catvfoctrl
xflyingcat/vfo_controller
External VFO controller with magnetic encoder for the Xiegu G90 HF transceiver
55 parts1MIT - 2 layers86.5 × 33 mm

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.