Skip to the content
PCBKitNew board
2 layers44.5 × 23 mmRobodrive pcb, the printed circuit board in 3D

Dual brushed motor driver with wireless connectivity

Size
44.5 × 23 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
27
Pads
87
Tracks, vias
133, 45
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Apr 2026
Updated
11 Apr 2026

Overview

Robodrive pcb is an open-source printed circuit board by dbking77, from the dbking77/robodrive_pcb repository on GitHub, published under the MIT licence. It is a 2-layer board of 44.5 × 23 mm with 24 parts on 27 nets, routed with 133 tracks and 45 vias.

It is built around the DRV8871DDARQ1. Its parts include 8 resistors, 6 capacitors, 6 connectors and 4 ICs. It belongs with the robots and motor control boards and the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

RoboDrive PCB

Dual brushed motor drive with wireless (BLE/Wifi) connectivity. 12V input, 2x 2Amp motor outputs, 2x servo PWM signals, and LED output

RoboDrive Top

RoboDrive Bottom

System Diagram

Basic

The basic robodrive setup has a 12V battery and 2 brushed motors. This is enough to build a differential-drive robot setup.

Basic System

Brushless Motor and Servo

Combat robots often use a brushless motor to power a spinning weapon. Many brushless electronics speed controllers (ESC), have a battery elimination circuit (BEC). This BEC often produces a high-current 5V output that can be used to power a servo. The robodrive ties the 5V pin of the servo connectors together allowing the ESC to pass through 5V power to the servo.

System with ESC and Servo

Servo and Voltage regulator

While the robodrive does have an internal 5V regulator, it cannot provide even close enough current to power a servo. One easy way to provide 5V power to servo is to use a 5V regulator. Connector the regulators input to the battery and its output to the unused servo connector on the robodrive. The robodrive ties the 5V pin of the servo connectors together allowing the 5V power pass between regulator the servo.

System with Servo and Voltage Regulator

Internal Servo Connections

The servo 5V pins are tied together. Internally the robodrive uses separate 5V regulator to power the microcontroller.

RoboDrive Servo Connections

Parts List

DescriptionQtyCostSupplierSupplier Part NumManufManuf Part NumNote
XIAO ESP32C615.38Digikey1597-113991254-NDSeeed113991254Can get cheaper directly
Unipolar Motor Driver22.03Digikey296-43024-1-NDTexas InstrDRV8871DDAR
VReg 5V 300MA SOT23-510.34Digikey296-TPS7B92050DBVRCT-NDTexas InstrTPS7B92050DBVR
Capacitor 100uF 16V10.37Digikey478-RPA0609101M025KCT-NDKyoceraRPA0609101M025KMaybe Buy Qty 10
Capacitor 1uF 16V40.08Digikey1276-1029-1-NDSamsungCL21B105KBFNNNEMaybe Buy Qty 10
Resistor 10k 060310.01Digikey311-10.0KHRCT-NDYageoRC0603FR-0710KLBuy Qty 10 or 100
Resistor 56.2k 060310.01Digikey311-56.2KHRCT-NDYageoRC0603FR-0756K2LBuy Qty 10 or 100
Resistor 1k 060320.01Digikey311-1.00KHRCT-NDYageoRC0603FR-071KLBuy Qty 10 or 100
Capacitor 10000pF 50V 060310.01Digikey399-C0603C103K5RACTUCT-NDKemetC0603C103K5RACTUBuy Qty 10 or 100
Header R/A Breakaway 40pos10.78DigikeyS1111EC-40-NDSullinsPRPC040SBAN-M71RCBreak into 2x 6pos
Header Vert Breakaway1DigikeyTODO
Female Socket 2pos40.27DigikeyS7035-NDSullinsPPPC021LFBN-RCUsed for motor/power wires
LED Red 30deg10.18DigikeyC503B-RCN-CW0Z0AA1-NDCreeC503B-RCN-CW0Z0AA1Indicator LED
LED Red 15deg10.18DigikeyC503B-RAN-CZ0C0AA1-NDCreeC503B-RAN-CZ0C0AA1Indicator LED

Filter Capacitors

Used to optionally low-pass filter and battery voltage signals, may not be needed.

Female Socket

Optional allows motor and power input wires to be connected to right angle headers more easily.

Voltage Regulator Heating

30mA * (12.6V - 5V) = 0.228W

  • Junction to Ambient = 207C/W = +47C

LED

LED output is used for indicating device power and mode of operation A high candela output LED should be used so only a few mA of current produces enough brightness

  • XL-302SURD : 600mcd @ 20mA
  • C503B-RAN-CZ0C0AA1 : 15000mcd @ 20mA 15degrees, 2.1Vf
    • (3.3V - 2.1V) / 1kOhm = 1.2mA --> 900 mcd
  • C503B-RCN-CW0Z0AA1 : 5100mcd @ 20mA 30degrees, 2.1Vf
    • (3.3V - 2.1V) / 1kOhm = 1.2mA --> 306 mcd

Current ILIM

Motor (PZ22GR9120R-084BBH) max stall current 1.3Amp. This is probably continuous stall current, so peak is probably larger. Pick a current trip limit of 1.5Amp

Itrip = 1.5 Amp : RLim (kOhm) = 64 / ITrip = 42kOhm Itrip = 1.64 Amp : RLip (kOhm) = 64 / ITrip = 39kOhm Itrip = 2.0 Amp : RLim (kOhm) = 64 / ITrip = 36kOhm

DescriptionQtyCostSupplierSupplier Part NumManufManuf Part NumNote
Resistor 36k 060310.01DigikeyRMCF0603FT36K0CT-NDStackpoleRMCF0603FT36K0Buy Qty 10 or 100
Resistor 39k 060310.01Digikey311-39.0KHRCT-NDYAGEORC0603FR-0739KLBuy Qty 10 or 100
Resistor 41.2k 060310.01Digikey311-41.2KHRCT-NDYAGEORC0603FR-0741K2LBuy Qty 10 or 100

Firmware

TODO : Link to Firmware

Revisions

  • Rev A :
    • Used DRV8424PPWPR dual motor drive
      • Part was difficult to hand solder
      • Required a number of extra passives
    • Used single 6-POS R/A heaeder
      • Female connectors did not fit properly
    • Part libraries
      • Used some proprietary libraries
  • Rev B :
    • 22 x 44mm
    • Uses 2x DRV8871DDAR single motor drivers
      • 1.27mm pitch should be easier to solder
      • Requires fewer passives
    • Power input move to "front"
      • Easier to wire to typical brushless ESC
    • LED output added
      • Makesit
    • Spacing for R/A header
      • Female connectors requires extra spacing to fit
    • Part Libraries
      • All open source / custom

Parts

24
QtyValueFootprintReferences
41uFCapacitor_SMD:C_0805_2012MetricC2, C3, C12, C13
31kResistor_SMD:R_0603_1608MetricR2, R9, R10
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ2, J3
2DRV8871DDARDRV8871:hsop8_holeU3, U4
2TBDResistor_SMD:R_0603_1608MetricR1, R11
110000pf 16VCapacitor_SMD:C_0603_1608MetricC11
1100uFCustom:CP_Radial_D6.3mm_P2.50mmC1
110kResistor_SMD:R_0603_1608MetricR7
156.2kResistor_SMD:R_0603_1608MetricR6
1JUMPERResistor_SMD:R_0603_1608MetricR8
1LEDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ7
1MOTOR1Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ5
1MOTOR2Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ4
1POWERConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ6
1TPS7B92050DBVRPackage_TO_SOT_SMD:SOT-23-5U2
1XIAO-ESP32-C6-DIPXIAO:XIAO-ESP32-C6-DIP-ONLYU5

Questions

How big is the Robodrive pcb PCB?

It measures 44.5 × 23 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Robodrive pcb use?

24 parts, built around the DRV8871DDARQ1. 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 Robodrive pcb KiCad files?

From the dbking77/robodrive_pcb repository on GitHub, at the commit this page was made from: the board is robodrive_pcb.kicad_pcb and its schematic robodrive_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Robodrive pcb design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers61.9 × 76.2 mmDigits pcb, the printed circuit board in 3D

    Digits pcb

    justinlindh/digits

    Encrypted retro phone network — private VoIP over vintage desk phones

    77 parts4AGPL-3.0
  • 4 layers58.5 × 36 mmSmart lock, the printed circuit board in 3D

    Smart lock

    shmuelzon/lowkey

    Matter-over-Thread and/or BLE in-door smart lock controller based on the RBM1 lock body

    64 parts4
  • 4 layers75 × 49 mmKamikazii, the printed circuit board in 3D

    Kamikazii

    choicebuilds/SumoBot-v2

    A Robojackets robot (v2) built from scratch, featuring a custom 4-layer PCB, STM32-based (ARM Cortex-M3) firmware written in C (STM32CubeMX + CMake), and a 3D-printed chassis.

    59 parts
  • 4 layers144 × 112 mmQuadcuber, the printed circuit board in 3D

    Quadcuber

    gonewx/quadcuber

    本目录是 A1 电子源目录。打开 quadcuber.kicadpro,包含原生可编辑原理图和四层 PCB、本地符号/封装库。本设计为单块PCB,RP2040、QSPI Flash、晶振、USB-C、驱动和电源均直接焊接在板上;A0的Pico H插装已移除。马达使用EV3裸插座。接线定义仍从 ../wiring/spec.py 导入,固件未改动,也没有把 R/L 固件描述成已支持四臂控制。

    200 parts
  • 4 layers112.3 × 73.8 mmIndMotorControl, the printed circuit board in 3D

    IndMotorControl

    ivanchairez01/indMotorControl

    STM32-based industrial motor controller featuring FreeRTOS, CAN networking, closed-loop PID speed control, fault management, and real-time diagnostics.

    54 parts
  • 4 layers31.6 × 27.7 mmMoon child, the printed circuit board in 3D

    Moon child

    Matthew-Bon/moon_child

    A rocket flight computer to support CBJAMO's amoral interests.

    172 partsGPL-3.0
  • 4 layers130 × 100 mmPropmesh, the printed circuit board in 3D

    Propmesh

    mrwillson2u/propmesh

    Open-source wireless control for Halloween and holiday props.

    265 partsGPL-3.0