

Controller32
STM32 based controller for old Bionx ebike motor.
- Size
- 100.1 × 66.9 mm
- Copper layers
- 2
- Thickness
- 1.58 mm
- Parts
- 54
- Nets
- 62
- Pads
- 171
- Tracks, vias
- 367, 31
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 11 Sep 2022
- Updated
- 11 Nov 2025
Overview
Controller32 is an open-source printed circuit board by glecuy, from the glecuy/BionX32 repository on GitHub. It is a 2-layer board of 100.1 × 66.9 mm with 54 parts on 62 nets, routed with 367 tracks and 31 vias.
Its parts include 31 resistors, 13 capacitors, 5 connectors and 3 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.
README
README.mdBionX32 stm32 controller for BionX ebike motor
The BionX motor has originally a built-in controller. This project aims to replace embedde electronics by an external controller. Regular 24V controller with square waves doesn't provide good enough results, this is a new attempt with a FOC implementation.
Project Content
3 phases output,
3 hall sensors input,
One Shunt current measurement,
Interface for S866 Display.
PAS input,
Brake input
Core code is generated thanks to ST micro graphical tools. (X-CUBE-MCSDK) then adapted to STM32F103C8Tx
Hardware description
STM32 module MOSFET module Main pcb S866 display
Credits & Resources
STM32CubeIDE
STM32 MC SDK (motor control software development kit) : Gived up (Did not work for me)
Parts
54| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 100nF | GG_Library:GG_C_0805 | C1, C2, C3, C4, C6, C7, C8, C13 |
| 6 | 1.5k | GG_Library:GG_R_1206 | R1, R2, R4, R5, R6, R7 |
| 3 | 0 | GG_Library:GG_R_1206 | R26, R27, R28 |
| 3 | 10 | GG_Library:GG_R_1206 | R29, R30, R31 |
| 3 | 100 | GG_Library:GG_R_1206 | R8, R9, R18 |
| 3 | 10nF | GG_Library:GG_C_0805 | C9, C10, C12 |
| 3 | 4.7K | GG_Library:GG_R_1206 | R13, R17, R19 |
| 2 | 1.5K | GG_Library:GG_R_1206 | R15, R16 |
| 2 | 27K | GG_Library:GG_R_1206 | R21, R24 |
| 2 | 3.3K | GG_Library:GG_R_1206 | R22, R23 |
| 2 | 470 | GG_Library:GG_R_1206 | R12, R14 |
| 1 | 100pF | GG_Library:GG_C_0805 | C11 |
| 1 | 10K | GG_Library:GG_R_1206 | R10 |
| 1 | 15k | GG_Library:GG_R_1206 | R3 |
| 1 | 1K | GG_Library:GG_R_1206 | R11 |
| 1 | 220 | GG_Library:GG_R_1206 | R25 |
| 1 | 470MF | GG_Library:GG_CP_L30.0mm_D15.0mm_Horizontal | C5 |
| 1 | 68K | GG_Library:GG_R_1206 | R20 |
| 1 | GG_Break_ConnX02 | GG_Library:GG_2Wires_P2.54mm | J4 |
| 1 | GG_ConverterDCDC | GG_Library:GG_X0018_DCDC | PS1 |
| 1 | GG_DisplayConnX05 | GG_Library:GG_5Wires_P2.54mm | J3 |
| 1 | GG_HALL_ConnX06 | GG_Library:GG_6Wires_P2.54mm | J1 |
| 1 | GG_LMV321 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U3 |
| 1 | GG_MosFet_Module | GG_Library:GG_MOSFET_Moule | U2 |
| 1 | GG_PAS_ConnX03 | GG_Library:GG_3Wires_P2.54mm | J5 |
| 1 | GG_STM32_Module | GG_Library:GG_STM32_DIP-40 | U1 |
| 1 | GG_SerialConnX04 | GG_Library:GG_Serial04_P2.54mm | J2 |
| 1 | NTC 10K | GG_Library:GG_2Wires_P2.54mm | TH1 |
Similar boards
- 2 layers203 × 26.6 mm

- 2 layers30 × 50 mm

- 2 layers100.1 × 40 mm

32Bit shift register
MaltWhiskey/Mega-Cube
16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver
54 parts766 - 2 layers100 × 120 mm

- 2 layers

- 2 layers104.3 × 38.9 mm

- 2 layers

- 2 layers93.8 × 64.2 mm

PiFinder smt
brickbots/PiFinder
A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
54 parts257GPL-3.0
Questions
How big is the Controller32 PCB?
It measures 100.1 × 66.9 mm and has 2 copper layers, 1.58 mm thick.
What parts does the Controller32 use?
54 parts. 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 Controller32 KiCad files?
From the glecuy/BionX32 repository on GitHub, at the commit this page was made from: the board is HW/Controller32.kicad_pcb and its schematic HW/Controller32.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Controller32 design in my own project?
Its repository states no licence, so its author keeps all rights: ask glecuy before reusing the design.