Stm32

eddyem·stm32samples·F0:F030,F042,F072/usbcan_relay/kicad/stm32.kicad_pcb

Stm32 PCB layout, top view — open source STM32 board by eddyem

About the Stm32 PCB

Stm32 is an open source STM32 PCB design by eddyem, published on GitHub. It is a 2-layer board measuring 98 × 63.5 mm, with 98 components from 68 distinct parts.

Its main chip is the BME280, from the STM32 family. Other key parts include the STM32F303CBT6, ISO1050DUB, 74HC4051 and PC844. By type, the board carries 27 resistors, 24 connectors, 15 capacitors, 11 diodes, 7 transistors and 6 ICs.

It belongs with the sensors designs in this gallery.

From the project

Code samples and ready projects based on bare-metal STM32

CAN/USB management of 2 relays and some other things ===================================================

The device can also work as USB-CAN converter.

CAN protocol is quite simple. The node receives data to selected CAN ID, transmission done with the ID = CANID + 0x100.

Pinout: - PA0/1 - Relay0/1 - PA2..5 - Button0..3 (user buttons) - PA6/7 - ADC inputs through resistive divider (0..5 and 0..12V) - PA8..10 - PWM0..2 outputs (opendrain through SI2300, 5 or 12V) - PA13/14 - SWD; the SWD pin +3.3V connected through 22Ohm resistor - PA11. PA12 - USB DM/DP - PB0..PB7 - CAN ID - PB8, PB9 - CAN…

Main components on the Stm32

BME280STM32F303CBT6ISO1050DUB74HC4051PC844

Stm32 bill of materials (BOM)

98 components, 68 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
BME280
MCP2551-I/SN
U1
1
STM32F303CBT6
ISO1050DUB
U2
1
ISO1050DUB
STM32F072C8Tx
U3
1
74HC4051
LM2576
Texas Instruments
U4
1
74HC4051
LM1117-3.3
U5
1
PC844
IP4220CZ6
U6
1
B0505S-1W
B0505S
Q1
1
B0509S-1W
SI2300
Q2
1
SI2308
SI2300
Q3
1
B2424S-2W
AO3407
Q4
1
B0505S-2W
SI2300
Q5
1
SI2300
Q6
1
SI2300
Q7
1
+3.3V
J1
1
NRST
J2
1
BOOT0
J3
1
SWDIO
J4
1
SWCLK
J5
1
GND
J6
1
01x05
J7
Show 48 more
QtyPartRefs
1
Connector_Generic:Conn_02x04_Odd_Even
J8
1
RS-485
Conn_01x02_Female
J9
1
Screw_Terminal_01x02
J10
3
Screw_Terminal_01x03
J11, J12, J17
1
USB_B
J13
1
01x03
J15
1
Conn_01x02_Female
J16
1
01x05
J18
7
Hole
P1, P2, P3, P4, P5, P6, P7
1
SOLDERJUMPER_2_OPEN
NON-ISOL
JP1
1
G5LE-1-5VDC
G5LE-1
K1
1
G5LE-1
K2
1
SW_DIP_X01
SW_DIP_x08
SW1
1
SW_DIP_X04
SW_DIP_x01
SW2
1
5V
TP1
1
3.3V
TP2
1
PESD1CAN
D1
3
SS14
D2, D4, D8
1
USB6B1
D3
1
MM3Z7V5
D5
2
CESD3v3
D6, D7
1
SMBJ30A
SS14
D9
1
PESD1CAN
SS14
D10
1
1N5822
D11
1
100U
100u
L1
1
0.1
1
C1
6
0.1
C2, C4, C6, C7, C8, C11
3
0.1
C3, C9, C15
1
1
C5
2
100u 16V
C10, C14
1
47u 6V
C12
1
47u 10V
C13
1
10K
10k
R1
1
4K7
4k7
R2
3
330
22
R3, R10, R11
4
330
680
R4, R5, R6, R7
1
330
10k
R8
1
330
R9
1
4K7
2k2
R12
1
3K3
120
R13
2
3K3
10k
R14, R17
1
3K3
330
R15
1
3K3
2k2
R16
1
3K3
47k
R18
2
3K3
15k
R19, R20
4
560
10k
R21, R25, R26, R27
2
560
330
R22, R24
1
120
330
R23

Stm32 design files

The KiCad project lives in the eddyem/stm32samples repository on GitHub; these links point at the commit this page was built from.

Stm32: common questions

What microcontroller does the Stm32 use?

The Stm32 is built around the BME280, from the STM32 family.

How big is the Stm32 PCB?

The Stm32 measures 98 × 63.5 mm, has 2 copper layers and is 2.5 mm thick.

How many components are on the Stm32?

98 components, from 68 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 Stm32 design files?

From the eddyem/stm32samples 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 Stm32 design in my own project?

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

Can I test firmware for the Stm32 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 stm32samples

Similar boards