Skip to the content
4 layers77 × 30 mmBLDC 4, the printed circuit board in 3D

Custom e-bike controller based on VESC4

Size
77 × 30 mm
Copper layers
4
Thickness
1.6 mm
Parts
149
Nets
115
Pads
557
Tracks, vias
1,412, 200
Pours
13
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
2 Jun 2023
Updated
29 Mar 2025

Overview

BLDC 4 is an open-source printed circuit board by PetteriAimonen, from the PetteriAimonen/ebike-controller-pcb-compact repository on GitHub. It is a 4-layer board of 77 × 30 mm with 149 parts on 115 nets, routed with 1,412 tracks and 200 vias.

It is built around the DRV8302, LSM6DS3 and BSC030N08NS5, with the SMAJ48 among its other parts. Its parts include 60 capacitors, 55 resistors, 10 connectors, 6 diodes and 6 transistors. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

4

README

README.md

Custom E-bike controller based on VESC 4.10

Customized version of Benjamin Vedder's VESC for driving BLDC motors.

VESC Hardware is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.

Can use either VESC firmware or my custom firmware.

Changes:

  • Added screw terminals for power cables and 2.54 mm pin headers for signals.
  • Most parts are on single-side, with parts available on JLCPCB.
  • Added LSM6DS3 accelerometer on board for controlling assist power
  • Designed for max. 20A 50V operation.

Schematic

Designed to mount on an aluminum block for cooling the FETs. Alternatively a heatsink can be screwed on.

Assembly costs for 5 pcs at JLCPCB as of 2023:

text
PCB (with 1 oz inner layer copper and lead-free HASL): $28.00
Setup fee:$7.88
Stencil:$1.48
Components:$97.77
Extended components fee:$29.56
SMT Assembly:$3.43 

Parts

149
QtyValueFootprintReferences
164.7uFCapacitor_SMD:C_0603_1608MetricC1, C3, C8, C16, C17, C18, C20, C23, C24, C26, C46, C47, C48, C52, C60, C61
14100nFCapacitor_SMD:C_0603_1608MetricC2, C11, C12, C13, C22, C27, C28, C29, C30, C32, C41, C42, C45, C62
142k2Resistor_SMD:R_0603_1608MetricR4, R7, R11, R12, R13, R14, R15, R16, R18, R22, R24, R27, R31, R33
131uF,100VCapacitor_SMD:C_1206_3216MetricC9, C37, C39, C40, C43, C44, C49, C50, C51, C53, C54, C55, C56
124k7Resistor_SMD:R_0603_1608MetricR6, R8, R9, R10, R39, R40, R41, R401, R402, R403, R404, R405
104.7nFCapacitor_SMD:C_0603_1608MetricC4, C5, C6, C7, C21, C34, C36, C501, C502, C503
739kResistor_SMD:R_0603_1608MetricR3, R23, R26, R30, R32, R36, R46
6100RResistor_SMD:R_0603_1608MetricR37, R38, R48, R49, R50, R51
64R7Resistor_SMD:R_0603_1608MetricR28, R29, R34, R35, R42, R43
6BSC030N08NS5Package_TO_SOT_SMD:TDSON-8-1Q1, Q2, Q3, Q4, Q5, Q6
5M3MountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4, H5
410kResistor_SMD:R_0603_1608MetricR2, R19, R20, R44
3100uF,63VCapacitor_SMD:CP_Elec_10x10.5C57, C58, C59
322pFCapacitor_SMD:C_0603_1608MetricC15, C19, C38
25mResistor_SMD:R_2512_6332MetricR53, R54
112kResistor_SMD:R_0603_1608MetricR17
1220kResistor_SMD:R_0603_1608MetricR21
122uInductor_SMD:L_7.3x7.3_H4.5L1
140V_INTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ3
1470µFCapacitor_SMD:CP_Elec_10x10.5C33
15V_OUTTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ2
18MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
1BRAKEConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalP12
1BUTTONSConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalP13
1DRV8302Package_SO:HTSSOP-56-1EP_6.1x14mm_P0.5mm_EP3.61x6.35mmU3
1EXTENSIONConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalP14
1GREENLED_SMD:LED_0603_1608MetricD1
1HALL/EncoderConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalP1
1LEDLED_SMD:LED_0603_1608MetricD3
1LSM6DS3LSM6DS3:LSM6DS3U4
1MICROSDConnector_Card:microSD_HC_Molex_104031-0811U5
1MotorTerminalBlock:TerminalBlock_bornier-3_P5.08mmJ1
1N/AResistor_SMD:R_0603_1608MetricR5
1NTC 10kResistor_SMD:R_0603_1608MetricR1
1OLEDConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalP11
1REDLED_SMD:LED_0603_1608MetricD2
1SMAJ48Diode_SMD:D_SMAD7
1SMAJ5Diode_SMD:D_SMAD5
1STM32F40X_LQFP64Package_QFP:LQFP-64_10x10mm_P0.5mmU1
1SWDConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalP2
1SchottkyDiode_SMD:D_SMAD4
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11J401
1XC6206PxxxMRPackage_TO_SOT_SMD:SOT-23-3U6

Similar boards

  • 4 layers90 × 70 mmDst-01x8, the printed circuit board in 3D

    Dst-01x8

    alxhub/arc

    Addy's Railroad Company

    243 parts
  • 6 layers46 × 46 mmTercio B1, the printed circuit board in 3D

    Tercio B1

    Kerol-Dev/Tercio-B1

    Tercio B1 brushless FOC driver (planning)

    163 partsApache-2.0
  • 6 layersServodrive S, the printed circuit board in 3D

    Servodrive S

    sequoia-hope/servodrive

    A simpler brushless motor driver

    198 parts
  • 4 layers99.5 × 69 mmPump controller reva, the printed circuit board in 3D

    Pump controller reva

    UWARG/pump-controller-hardware

    Hardware for Competition 2026 Water Pump Controller on Project Valkyrie

    244 parts
  • 4 layers56.3 × 39.7 mmFOC PowerDRV8323, the printed circuit board in 3D

    FOC PowerDRV8323

    totaldesaster/SimpleFOC-Serial-Driver

    Advanced dual BLDC driver based on the RP2350 and DRV8323S ICs, designed to be controlled from a trajectory controller over RS-485, RS-422 or TTL UART. Features a compact high power design with two stacked PCBs.

    34 parts1GPL-3.0
  • 6 layers56.6 × 33.7 mmBattery, the printed circuit board in 3D

    Battery

    86kkd/millionBoard

    Amazing 500million sensor enetric skateboard use body center of gravity to control !!!

    143 parts
  • 2 layers81.4 × 63.5 mmBbesc kiCad, the printed circuit board in 3D

    Bbesc kiCad

    jakeread/tesc

    in-progress motor controller, towards accessible closed-loop control

    82 parts16
  • 4 layers186.9 × 129.8 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    ansh1113/e-bike-conversion-kit

    A 4-layer PCB-based e-bike conversion kit featuring an STM32-based VESC ESC, power management circuits, wireless throttle, GSM, GPS, and more.

    179 parts1

Questions

How big is the BLDC 4 PCB?

It measures 77 × 30 mm and has 4 copper layers, 1.6 mm thick.

What parts does the BLDC 4 use?

149 parts, built around the DRV8302, LSM6DS3, BSC030N08NS5 and SMAJ48. 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 BLDC 4 KiCad files?

From the PetteriAimonen/ebike-controller-pcb-compact repository on GitHub, at the commit this page was made from: the board is design/BLDC_4.kicad_pcb and its schematic design/BLDC_4.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BLDC 4 design in my own project?

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