Stm32
eddyem·stm32samples·F0:F030,F042,F072/usbcan_relay/kicad/stm32.kicad_pcb
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
Stm32 bill of materials (BOM)
98 components, 68 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | BME280 MCP2551-I/SN | SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | STM32F303CBT6 ISO1050DUB | SOP-8_6.62x9.15mm_P2.54mm | U2 |
| 1 | ISO1050DUB STM32F072C8Tx | LQFP-48_7x7mm_P0.5mm | U3 |
| 1 | 74HC4051 LM2576 Texas Instruments | TO-220-5_P3.4x3.7mm_StaggerEven_Lead3.8mm_Vertical | U4 |
| 1 | 74HC4051 LM1117-3.3 | SOT-223-3_TabPin2 | U5 |
| 1 | PC844 IP4220CZ6 | TSOP-6_1.65x3.05mm_P0.95mm | U6 |
| 1 | B0505S-1W B0505S | B0x0xS | Q1 |
| 1 | B0509S-1W SI2300 | SOT-23_Handsoldering | Q2 |
| 1 | SI2308 SI2300 | SOT-23_Handsoldering | Q3 |
| 1 | B2424S-2W AO3407 | SOT-23_Handsoldering | Q4 |
| 1 | B0505S-2W SI2300 | SOT-23_Handsoldering | Q5 |
| 1 | SI2300 | SOT-23_Handsoldering | Q6 |
| 1 | SI2300 | SOT-23_Handsoldering | Q7 |
| 1 | +3.3V | PinHeader_1x01_P2.54mm_Vertical | J1 |
| 1 | NRST | PinHeader_1x01_P2.54mm_Vertical | J2 |
| 1 | BOOT0 | PinHeader_1x01_P2.54mm_Vertical | J3 |
| 1 | SWDIO | PinHeader_1x01_P2.54mm_Vertical | J4 |
| 1 | SWCLK | PinHeader_1x01_P2.54mm_Vertical | J5 |
| 1 | GND | PinHeader_1x01_P2.54mm_Vertical | J6 |
| 1 | 01x05 | PinHeader_1x05_P2.54mm_Vertical | J7 |
Show 48 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | Connector_Generic:Conn_02x04_Odd_Even | PinHeader_2x04_P2.54mm_Vertical | J8 |
| 1 | RS-485 Conn_01x02_Female | PinSocket_1x02_P2.54mm_Vertical | J9 |
| 1 | Screw_Terminal_01x02 | TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_Horizontal | J10 |
| 3 | Screw_Terminal_01x03 | TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J11, J12, J17 |
| 1 | USB_B | USB_B_OST_USB-B1HSxx_Horizontal | J13 |
| 1 | 01x03 | PinSocket_1x03_P2.54mm_Vertical | J15 |
| 1 | Conn_01x02_Female | PinSocket_1x02_P2.54mm_Vertical | J16 |
| 1 | 01x05 | PinSocket_1x05_P2.54mm_Vertical | J18 |
| 7 | Hole | Hole_3mm | P1, P2, P3, P4, P5, P6, P7 |
| 1 | SOLDERJUMPER_2_OPEN NON-ISOL | R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | JP1 |
| 1 | G5LE-1-5VDC G5LE-1 | Relay_SPDT_SANYOU_SRD_Series_Form_C | K1 |
| 1 | G5LE-1 | Relay_SPDT_SANYOU_SRD_Series_Form_C | K2 |
| 1 | SW_DIP_X01 SW_DIP_x08 | SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mm | SW1 |
| 1 | SW_DIP_X04 SW_DIP_x01 | SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile | SW2 |
| 1 | 5V | PinSocket_1x01_P2.54mm_Vertical | TP1 |
| 1 | 3.3V | PinSocket_1x01_P2.54mm_Vertical | TP2 |
| 1 | PESD1CAN | SOT-23 | D1 |
| 3 | SS14 | D_SMA-SMB_Universal_Handsoldering | D2, D4, D8 |
| 1 | USB6B1 | SOIC-8_3.9x4.9mm_P1.27mm | D3 |
| 1 | MM3Z7V5 | D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D5 |
| 2 | CESD3v3 | D_SOD-523 | D6, D7 |
| 1 | SMBJ30A SS14 | D_SMA-SMB_Universal_Handsoldering | D9 |
| 1 | PESD1CAN SS14 | D_SMA-SMB_Universal_Handsoldering | D10 |
| 1 | 1N5822 | D_DO-201_P3.81mm_Vertical_AnodeUp | D11 |
| 1 | 100U 100u | L_12x12mm_H4.5mm | L1 |
| 1 | 0.1 1 | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1 |
| 6 | 0.1 | C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C2, C4, C6, C7, C8, C11 |
| 3 | 0.1 | C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C3, C9, C15 |
| 1 | 1 | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C5 |
| 2 | 100u 16V | CP_Radial_D8.0mm_P3.50mm | C10, C14 |
| 1 | 47u 6V | CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder | C12 |
| 1 | 47u 10V | CP_EIA-6032-28_Kemet-C_Pad2.25x2.35mm_HandSolder | C13 |
| 1 | 10K 10k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R1 |
| 1 | 4K7 4k7 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R2 |
| 3 | 330 22 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R3, R10, R11 |
| 4 | 330 680 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R4, R5, R6, R7 |
| 1 | 330 10k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R8 |
| 1 | 330 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R9 |
| 1 | 4K7 2k2 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R12 |
| 1 | 3K3 120 | R_1210_3225Metric_Pad1.42x2.65mm_HandSolder | R13 |
| 2 | 3K3 10k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R14, R17 |
| 1 | 3K3 330 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R15 |
| 1 | 3K3 2k2 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R16 |
| 1 | 3K3 47k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R18 |
| 2 | 3K3 15k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R19, R20 |
| 4 | 560 10k | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R21, R25, R26, R27 |
| 2 | 560 330 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R22, R24 |
| 1 | 120 330 | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | 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
STM32
Multistepper
eddyem
113.5 × 105.5 mm234 parts4LNo license208- schematic only · 234 partsSTM32
Fx3u 24mr
eddyem
234 parts2LNo license208 STM32
Nitrogen
eddyem
80 × 80 mm136 parts4LNo license208STM32
Many485
eddyem
80 × 84 mm107 parts2LNo license208STM32
Mainboard
eddyem
58 × 35 mm86 parts2LNo license208STM32
Windshield
eddyem
66 × 54 mm86 parts2LNo license208STM32
Chiller control
eddyem
62 × 60.5 mm69 parts2LNo license208STM32
Servo control
eddyem
53 × 47 mm59 parts2LNo license208STM32
Encoder
eddyem
78 × 81 mm53 parts2LNo license208STM32
Shutter
eddyem
61 × 49.5 mm40 parts2LNo license208STM32
Hall
eddyem
45.3 × 46.9 mm34 parts2LNo license208
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k