Stm32

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

Top view of the Stm32 PCB
Simulate this board

Stm32 is an open source STM32 PCB design by eddyem: a 2-layer, 98 × 63.5 mm board with 98 components (68 distinct parts). It is built around the BME280, STM32F303CBT6, ISO1050DUB, 74HC4051 and more. Filed under sensors.

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…

Built around

Parts list

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

More boards in stm32samples

Similar boards