Skip to the content
4 layers186.9 × 129.8 mmBLDC 4, the printed circuit board in 3D

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

Size
186.9 × 129.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
179
Nets
178
Pads
603
Tracks, vias
2,216, 219
Pours
47
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
21 Feb 2025
Updated
10 May 2025

Overview

BLDC 4 is an open-source printed circuit board by ansh1113, from the ansh1113/e-bike-conversion-kit repository on GitHub. It is a 4-layer board of 186.9 × 129.8 mm with 179 parts on 178 nets, routed with 2,216 tracks and 219 vias.

It is built around the SN65HVD232D, LM358P and MP1584EN-LF-Z, with the DRV8302, EEE1HA101UAP and XT30PW-M among its other parts. Its parts include 64 resistors, 55 capacitors, 20 connectors, 8 ICs and 8 transistors. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

12

README

README.md

e-Bike Conversion Kit

Overview

This project is a custom e-bike conversion kit featuring:

  • STM32-based VESC ESC for motor control
  • ESP32/ESP8266 for wireless control and battery monitoring
  • 36V 10.4Ah Lithium Power Supply with buck circuits (36V->24V, 24V->12V, 12V->5V)
  • Wireless throttle module (mode increase/decrease/start switches)
  • GSM/GPS integration for tracking and security
  • Battery level and mode indicator LEDs
  • Electronic latch locking system
  • Phone charging port

Features

  • Wireless throttle control using ESP32
  • Real-time battery monitoring and motor control
  • GPS tracking for security
  • Compact 4-layer PCB design

Installation

1. Hardware Assembly

  • Mount the VESC ESC with proper cooling.
  • Connect the 36V battery to the power input.
  • Wire the ESP module to the ESC for PPM signal transmission.
  • Connect buck converters for proper voltage regulation.
  • Attach LEDs, GSM/GPS module, and gyro sensor.
  • Install wireless throttle module on the handlebar.

2. Software Setup

  • Install VESC Tool for ESC configuration.
  • Flash the ESP firmware using Arduino IDE.
  • Configure PPM values for different speed modes.

Firmware Installation

1. Flashing VESC Firmware

  • Download and install VESC Tool.
  • Connect STM32 to your PC via USB.
  • Select the correct firmware version and upload.

2. Flashing ESP Firmware

  • Install Arduino IDE with ESP32/ESP8266 support.
  • Install necessary libraries (WiFi, TinyGPS++, Adafruit_GFX etc.).
  • Compile and upload Firmware/hook_receiver/hook_receiver.ino.

Parts

179
QtyValueFootprintReferences
172.2uCRF1:SMD-0603_cC10, C11, C12, C13, C14, C16, C17, C18, C20, C23, C24, C26, C31, C35, C41, C401 +1
92k2CRF1:SMD-0603_rR4, R5, R11, R12, R13, R22, R24, R27, R33
810u,50VCRF1:SMD-1206C1, C8, C9, C39, C40, C43, C44, C49
710kCRF1:SMD-0603_rR2, R7, R8, R9, R10, R20, R402
72KResistor_SMD:R_1210_3225MetricR39, R40, R41, R44, R45, R47, R52
739kCRF1:SMD-0603_rR3, R23, R26, R30, R32, R36, R46
6100RCRF1:SMD-0603_rR37, R38, R48, R49, R50, R51
64R7CRF1:SMD-0603_rR28, R29, R34, R35, R42, R43
6IRFS7530CRF1:D2PAK-7-GDSQ1, Q2, Q3, Q4, Q5, Q6
4100nCRF1:SMD-0603_cC2, C3, C27, C32
443650-0402Connector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_VerticalJ3, J6, J12, J13
44n7CRF1:SMD-0603_cC4, C5, C6, C7
3220nCRF1:SMD-0603_cC28, C29, C30
3EEE1HA101UAPCapacitor_SMD:CAP_EEE1HA101UAPC42, C50, C53
3KAM21BR71H104JTCapacitor_SMD:C_0805_2012MetricC47, C48, C55
3MountingHoleMountingHole:MountingHole_3.2mm_M3H3, H3, H3
3XT30PW-MConnector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_VerticalJ1, J2, J4
2100uw_smd_cap:c_tant_BC25, C33
215pCRF1:SMD-0603_cC15, C38
22-1445098-2Connector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_VerticalJ7, J10
22.2kΩResistor_SMD:R_1210_3225MetricR56, R59
22.2nCRF1:SMD-0603_cC34, C36
222RCRF1:SMD-0603_rR103, R104
22kResistor_SMD:R_1210_3225MetricR16, R31
23403.0176.24Fuse:Fuse_Schurter_UMT250F1, F2
2LM22678TJ-ADJ/NOPBregulator:LM22678TJ-ADJNOPBU7, U9
2SHUNTCRF1:WSLP2726R53, R54
2XT30PW-MConnector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_VerticalJ11, J14
1
10RCRF1:SMD-0603_rR6
1120pCRF1:SMD-0603_cC19
115kCRF1:SMD-0603_rR19
115u, 100vw_smd_cap:c_2220C51
115u,100Vw_smd_cap:c_2220C37
1171971-0005Connector_JST:JST_EH_B5B-EH-A_1x05_P2.50mm_VerticalJ5
118.2kΩResistor_SMD:R_1210_3225MetricR55
118kCRF1:SMD-0603_rR17
11KResistor_SMD:R_1210_3225MetricR15
11MCRF1:SMD-0603_rR25
11kResistor_SMD:R_1210_3225MetricR14
1210kΩResistor_SMD:R_1210_3225MetricR57
1220kCRF1:SMD-0603_rR21
122nCRF1:SMD-0603_cC22
122uw_smd_inductors:inductor_smd_8x5mmL1
139kΩResistor_SMD:R_1210_3225MetricR60
13k3CRF1:SMD-0603_rR18
140.2kΩResistor_SMD:R_1210_3225MetricR58
16.8nCRF1:SMD-0603_cC21
18MHz 10ppmCRF1:Crystal_5x3mmX2
1AMDLA4020S-220MTInductor_SMD:IND_AMDLA4020S-220MTL2
1B560C-13-FDiode_SMD:B560C-13-FD6
1CANBUSJST conn:b4b-ph-klP101
1DIODESCHDiodes_SMD:SMA_HandsolderingD4
1DRV8302CRF1:TSSOP-56-PPU3
1ESP32-DEVKIT-V1Module:MODULE_ESP32_DEVKIT_V1U4
1GREENLEDs:LED-0603D1
1HALL/EncoderCRF1:MICRO_JST_6P1
1IN+CRF1:1PAD_4x5mmP4
1IN-CRF1:1PAD_4x5mmP5
1IRF5305STRLPBFIRF530:TRANS_IRF3205SQ8
1LEDLEDs:LED-0603D3
1LM358PPackage_DIP:DIP-8_W7.62mm_SocketU6
1LMJ316BB7226KLHTCapacitor_SMD:C_1206_3216MetricC46
1MAASL105CD7105MFCA01Capacitor_SMD:C_0402_1005MetricC54
1MINI-USB-SHIELD-32005-201CRF1:USB-UX60R-MB-5STX1
1MOTOR1CRF1:1PAD_4x5mmP6
1MOTOR2CRF1:1PAD_4x5mmP7
1MOTOR3CRF1:1PAD_4x5mmP9
1MP1584EN-LF-Zregulator:MP1584(1)U8
1NICRF1:SMD-0603_rR401
1NTC 10kCRF1:SMD-0603_rR1
1Optoisolator1Package_DIP:DIP-4_W7.62mm_SocketU5
1PWR_COMMCRF1:b7b-ph-klP3
1REDLEDs:LED-0603D2
1SERVOCRF1:pinhead-1X03K1
1SN65HVD232CRF1:SOIC-8-WU401
1SPM6530T-6R8MInductor_SMD:IND_SPM6530T-6R8M-HZL4
1SRN6045TA-220MInductor_SMD:IND_SRN6045TA-220ML3
1SS34Diode_SMD:DIO_SS34D7
1STB75NF75T4STB75NF75T4:VREG_L7805ACD2TQ7

The 174 most common of 179 parts.

Similar boards

  • 2 layers70.7 × 52.6 mmCacophonyV2, the printed circuit board in 3D

    CacophonyV2

    RKinosaki/H2ChaosSpeaker

    Speaker code for Hades 2 Chaos cosplay

    30 parts
  • 2 layers60 × 45 mmTracker lite, the printed circuit board in 3D

    Tracker lite

    Sanu0910/RFMW-ANT

    109 parts
  • 4 layers39.9 × 97.5 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    augustbering/besc-hw

    This the Hardware for my open source custom ESC.

    120 parts
  • 4 layers39 × 85 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    FrogFairy/bldc-hardware

    Brushless DC Motor controller from Benjamin Vedder

    165 parts
  • 4 layers68.2 × 125.3 mmAfter remap, the printed circuit board in 3D

    After remap

    KoJZz/Control-Rakatuy

    bash git pull origin main # pull updatean terbaru dari repo git add . # add file terbaru yang udah dibuat git commit -m "Update: [Component Name] - Added power stage layout" # commiting git push origin main # push ke…

    148 parts
  • 2 layers40 × 60 mmSTM8003f3p development board, the printed circuit board in 3D

    STM8003f3p development board

    niksrajendra/stm8-bootloader-extended

    STM8 bootloader designed to work with any available communication interface and configure for different feature like secure, unsecure bootloader.

    131 parts
  • 4 layers100 × 67 mm2Phase SynchBuck, the printed circuit board in 3D

    2Phase SynchBuck

    Natchpai/LQRx-InterleavedBuck

    Digitally Controlled 2-phase Interleaved Buck Converter

    306 parts3CERN-OHL-S-2.0
  • 4 layers91 × 30 mmMethanesense, the printed circuit board in 3D

    Methanesense

    fredriknk/msense

    Open Source hardware kicad source files for a NRF9160 based methane sensor utilizing MOX sensor.

    145 partsMIT

Questions

How big is the BLDC 4 PCB?

It measures 186.9 × 129.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the BLDC 4 use?

179 parts, built around the SN65HVD232D, LM358P, MP1584EN-LF-Z and DRV8302. 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 ansh1113/e-bike-conversion-kit repository on GitHub, at the commit this page was made from: the board is Hardware/PCB Files/BLDC_4.kicad_pcb and its schematic Hardware/PCB Files/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 ansh1113 before reusing the design.