Controller

Choccy-vr·BeanBike·PCB/BeanBike/Controller/Controller.kicad_pcb

Controller PCB layout, top view — open source STM32 board by Choccy-vr

About the Controller PCB

Controller is an open source STM32 PCB design by Choccy-vr, published on GitHub. It is a 4-layer board measuring 74.1 × 99.3 mm, with 76 components from 50 distinct parts.

Its main chip is the STM32G473RETX, from the STM32 family. Other key parts include the SN65HVD230DR, TD1501HS50, AMS1117-3.3, DRV8353SRTAT and SN74LVC4245APWR. By type, the board carries 24 capacitors, 16 resistors, 10 diodes, 9 connectors, 6 ICs and 6 transistors.

It belongs with the displays & leds designs in this gallery.

From the project

A DIY eBike display and controller.

A DIY smart eBike display and controller.

I made this because I really like eBikes; they are just fun. I have always wanted my own, but off the shelf they are way too expensive. So I thought of going the custom route, making my own controller. But then I thought, if I am really going to do this, I am not going to get some normal boring eBike I want my eBike. And that is how this came to be.

Controller, from the project README
From the project README

Main components on the Controller

Controller bill of materials (BOM)

76 components, 50 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
SN65HVD230DR
U1
1
TD1501HS50
U2
1
AMS1117-3.3
U3
1
STM32G473RETX
STM32G473RETx
U4
1
DRV8353SRTAT
U5
1
SN74LVC4245APWR
U6
1
PHASE A HIGH
Q1
1
PHASE B HIGH
Q2
1
PHASE C HIGH
Q3
1
PHASE A LOW
Q4
1
PHASE B LOW
Q5
1
PHASE C LOW
Q6
1
X49SM8MSD2SC
X1
1
CONN_01X05_PIN
Conn_01x05_Pin
J2
1
Throttle Conn
J3
1
PAS Conn
J4
1
Display Conn
J5
1
Brake Conn
J6
1
ST-Link-Debug
J7
1
PHASE A
J8
Show 30 more
QtyPartRefs
1
PHASE B
J9
1
PHASE C
J10
1
5v Polyfuse
F1
1
3.3v Polyfuse
F2
1
SW_Push
SW1
1
C64898
D
D1
6
LED
D2, D4, D5, D6, D7, D8
1
LED
D3
1
C19077477
5v Zener
D9
1
C19077475
3.3v Zener
D10
1
CYA1040-33UH
L1
1
680uF 63V
C1
1
330uF 25V
C2
1
22UF
22uF
C3
1
10UF
10uf
C4
8
100NF
100nF
C5, C6, C7, C8, C10, C12, C13, C16
1
4.7UF
4.7uF
C9
5
1UF
1uF
C11, C17, C20, C22, C23
2
30PF
30pF
C14, C15
2
0.1UF
0.1uF
C18, C24
1
C45783
>10uF
C19
1
47NF
47nF
C21
2
10K
10k
R1, R12
1
180K
180k
R2
3
CSS2H-2512R-1L00F
R3, R4, R5
4
15K
15k
R6, R8, R9, R10
1
330
R7
2
1k
R11, R13
1
120
R14
2
73K
73k
R25, R26

Controller design files

The KiCad project lives in the Choccy-vr/BeanBike repository on GitHub; these links point at the commit this page was built from.

Controller: common questions

What microcontroller does the Controller use?

The Controller is built around the STM32G473RETX, from the STM32 family.

How big is the Controller PCB?

The Controller measures 74.1 × 99.3 mm, has 4 copper layers and is 1.59 mm thick.

How many components are on the Controller?

76 components, from 50 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 Controller design files?

From the Choccy-vr/BeanBike 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 Controller design in my own project?

The repository has no license, so all rights stay with Choccy-vr. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the Controller 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.

More boards in BeanBike

Similar boards