Ebike controller pcb compact
PetteriAimonen·ebike-controller-pcb-compact·design/BLDC_4.kicad_pcb
About the Ebike controller pcb compact
Ebike controller pcb compact is an open source STM32 PCB design by PetteriAimonen, published on GitHub. It is a 4-layer board measuring 77 × 30 mm, with 143 components from 41 distinct parts.
Its main chip is the STM32F40X_LQFP64, from the STM32 family. Other key parts include the DRV8302, LSM6DS3, MICROSD and XC6206PXXXMR. By type, the board carries 60 capacitors, 54 resistors, 10 connectors, 6 transistors, 6 diodes and 5 ICs.
It belongs with the robotics & motion designs in this gallery.
From the project
Custom e-bike controller based on VESC4
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.

Main components on the Ebike controller pcb compact
Ebike controller pcb compact bill of materials (BOM)
143 components, 41 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32F40X_LQFP64 | LQFP-64_10x10mm_P0.5mm | U1 |
| 1 | DRV8302 | HTSSOP-56-1EP_6.1x14mm_P0.5mm_EP3.61x6.35mm | U3 |
| 1 | LSM6DS3 | LSM6DS3 | U4 |
| 1 | N/A MICROSD | microSD_HC_Molex_104031-0811 | U5 |
| 1 | XC6206PXXXMR XC6206PxxxMR | SOT-23-3 | U6 |
| 6 | BSC030N08NS5 | TDSON-8-1 | Q1, Q2, Q3, Q4, Q5, Q6 |
| 1 | 8MHZ 8MHz | Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | N/A Motor | TerminalBlock_bornier-3_P5.08mm | J1 |
| 1 | 5V_OUT | TerminalBlock_bornier-2_P5.08mm | J2 |
| 1 | 40V_IN | TerminalBlock_bornier-2_P5.08mm | J3 |
| 1 | USB_C_RECEPTACLE_USB2.0 USB_C_Receptacle_USB2.0 | USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J401 |
| 1 | N/A HALL/Encoder | PinHeader_1x06_P2.54mm_Vertical | P1 |
| 1 | N/A SWD | PinHeader_1x06_P2.54mm_Vertical | P2 |
| 1 | N/A OLED | PinHeader_1x04_P2.54mm_Vertical | P11 |
| 1 | N/A BRAKE | PinHeader_1x02_P2.54mm_Vertical | P12 |
| 1 | N/A BUTTONS | PinHeader_1x02_P2.54mm_Vertical | P13 |
| 1 | N/A EXTENSION | PinHeader_1x06_P2.54mm_Vertical | P14 |
| 1 | N/A GREEN | LED_0603_1608Metric | D1 |
| 1 | N/A RED | LED_0603_1608Metric | D2 |
| 1 | LED | LED_0603_1608Metric | D3 |
Show 21 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C14996 Schottky | D_SMA | D4 |
| 1 | SMAJ5 | D_SMA | D5 |
| 1 | SMAJ48 | D_SMA | D7 |
| 1 | 22U 22u | L_7.3x7.3_H4.5 | L1 |
| 16 | 4.7UF 4.7uF | C_0603_1608Metric | C1, C3, C8, C16, C17, C18, C20, C23 +8 |
| 14 | 100NF 100nF | C_0603_1608Metric | C2, C11, C12, C13, C22, C27, C28, C29 +6 |
| 10 | 4.7NF 4.7nF | C_0603_1608Metric | C4, C5, C6, C7, C21, C34, C36, C501 +2 |
| 13 | C354362 1uF,100V | C_1206_3216Metric | C9, C37, C39, C40, C43, C44, C49, C50 +5 |
| 3 | 22PF 22pF | C_0603_1608Metric | C15, C19, C38 |
| 1 | N/A 470µF | CP_Elec_10x10.5 | C33 |
| 3 | N/A 100uF,63V | CP_Elec_10x10.5 | C57, C58, C59 |
| 1 | C162670 NTC 10k | R_0603_1608Metric | R1 |
| 4 | 10K 10k | R_0603_1608Metric | R2, R19, R20, R44 |
| 7 | 39K 39k | R_0603_1608Metric | R3, R23, R26, R30, R32, R36, R46 |
| 14 | 2K2 2k2 | R_0603_1608Metric | R4, R7, R11, R12, R13, R14, R15, R16 +6 |
| 12 | 4K7 4k7 | R_0603_1608Metric | R6, R8, R9, R10, R39, R40, R41, R401 +4 |
| 1 | 12K 12k | R_0603_1608Metric | R17 |
| 1 | 220K 220k | R_0603_1608Metric | R21 |
| 6 | 4R7 | R_0603_1608Metric | R28, R29, R34, R35, R42, R43 |
| 6 | 100R | R_0603_1608Metric | R37, R38, R48, R49, R50, R51 |
| 2 | 5m | R_2512_6332Metric | R53, R54 |
Ebike controller pcb compact design files
The KiCad project lives in the PetteriAimonen/ebike-controller-pcb-compact repository on GitHub; these links point at the commit this page was built from.
Ebike controller pcb compact: common questions
What microcontroller does the Ebike controller pcb compact use?
The Ebike controller pcb compact is built around the STM32F40X_LQFP64, from the STM32 family.
How big is the Ebike controller pcb compact?
The Ebike controller pcb compact measures 77 × 30 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Ebike controller pcb compact?
143 components, from 41 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Ebike controller pcb compact design files?
From the PetteriAimonen/ebike-controller-pcb-compact repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Ebike controller pcb compact design in my own project?
The repository has no license, so all rights stay with PetteriAimonen. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Ebike controller pcb compact without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
LibreVNA
jankae
122 × 98 mm592 parts6LGPL-3.01.6kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2k