Mainboard
eddyem·stm32samples·F3:F303/MLX90640-allsky/kicad/mainboard.kicad_pcb
About the Mainboard PCB
Mainboard is an open source STM32 PCB design by eddyem, published on GitHub. It is a 2-layer board measuring 58 × 35 mm, with 86 components from 52 distinct parts.
Its main chip is the STM32F303CBT6, from the STM32 family. Other key parts include the BME280, ISO1050DUB and 74HC4051. By type, the board carries 35 resistors, 18 capacitors, 15 connectors, 6 diodes, 5 ICs and 3 transistors.
It belongs with the sensors designs in this gallery.
From the project
Code samples and ready projects based on bare-metal STM32
This firmware implements an infrared all-sky camera system based on up to five MLX90640 thermal imaging sensors (32×24 pixels each), designed for cloud monitoring at the Special Astrophysical Observatory of the Russian Academy of Sciences. The system automates sky quality assessment for 0.5-meter telescopes of the "Astro-M" complex.
The device continuously captures thermal images from multiple sensors (Zenith, East, South, West, North), processes environmental data from a BMP280 pressure/humidity/temperature sensor, and controls PWM heaters to prevent dew formation on optics.
Main components on the Mainboard
Mainboard bill of materials (BOM)
86 components, 52 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | BME280 PC817 | DIP-4_W7.62mm | U1 |
| 1 | STM32F303CBT6 PC817 | DIP-4_W7.62mm | U2 |
| 1 | ISO1050DUB IP4220CZ6 | SOT-23-6 | U3 |
| 1 | 74HC4051 USBLC6-2SC6 | SOT-23-6 | U4 |
| 1 | 74HC4051 STM32F303CBTx | LQFP-48_7x7mm_P0.5mm | U5 |
| 1 | B0505S-1W B1203S-1W | B0x0xS | Q1 |
| 1 | B0509S-1W B1212S-1W | B0x0xS | Q2 |
| 1 | SI2308 SI2300 | SOT-23_Handsoldering | Q3 |
| 1 | 8MHZ NX5032GA-8MHz | Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Conn_01x03_Pin | TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal | J1 |
| 1 | Conn_01x03_Pin | TerminalBlock_Phoenix_MKDS-1,5-4_1x04_P5.00mm_Horizontal | J2 |
| 1 | Conn_01x04_Pin | PinHeader_1x06_P2.54mm_Vertical | J3 |
| 1 | Conn_01x04_Socket | PinHeader_1x06_P2.54mm_Vertical | J4 |
| 2 | ~ | JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical | J5, J6 |
| 7 | Conn_01x04_Socket | JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J7, J8, J10, J11, J12, J13, J14 |
| 1 | RS-485 Conn_01x04_Socket | JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J9 |
| 1 | Prog | PinSocket_1x06_P1.27mm_Vertical | J15 |
| 1 | SE83-75X | SE83-GDS | GD1 |
| 1 | 50K 30V | S10K30 | RV1 |
| 1 | SMAJ15CA | D_SMA | D1 |
Show 32 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | SP0504BAHT | SOT-23-5 | D2, D3 |
| 2 | CESD3V3 | D_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4, D5 |
| 1 | MM3Z3V6 | D_SOD-323F | D6 |
| 1 | 100U 2uH | L_CommonMode_Wuerth_WE-CMB-S | L1 |
| 4 | 0.1 1u | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C4, C11 |
| 2 | 1u | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C14 |
| 1 | 10u | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5 |
| 1 | 0.1 10u | C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C6 |
| 2 | 0.1 | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7, C8 |
| 6 | 0.1 | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C9, C10, C12, C15, C17, C18 |
| 2 | 6 | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13, C16 |
| 1 | 10K x | R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R1 |
| 1 | 4K7 x | R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R2 |
| 4 | 330 x | R_2010_5025Metric_Pad1.40x2.65mm_HandSolder | R3, R4, R5, R6 |
| 2 | 330 20k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7, R8 |
| 2 | 330 100k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R9, R10 |
| 1 | 330 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R11 |
| 1 | 4K7 330 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R12 |
| 2 | 3K3 1k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R13, R14 |
| 3 | 3K3 110 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R15, R16, R17 |
| 1 | 3K3 330 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R18 |
| 2 | 3K3 1k 0.1% | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R19, R20 |
| 1 | 560 270 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R21 |
| 1 | 560 1k 0.1% | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R22 |
| 1 | 120 1k 0.1% | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R23 |
| 4 | 560 1k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R24, R25, R26, R27 |
| 2 | 560 22 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R28, R29 |
| 1 | 1K5 1k5 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R30 |
| 1 | 10k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R31 |
| 1 | 470 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R32 |
| 1 | 10M 22 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R33 |
| 2 | 330 | R_Array_Convex_4x0603 | RN1, RN2 |
Mainboard design files
The KiCad project lives in the eddyem/stm32samples repository on GitHub; these links point at the commit this page was built from.
Mainboard: common questions
What microcontroller does the Mainboard use?
The Mainboard is built around the STM32F303CBT6, from the STM32 family.
How big is the Mainboard PCB?
The Mainboard measures 58 × 35 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mainboard?
86 components, from 52 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 Mainboard 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 Mainboard 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 Mainboard 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
Stm32
eddyem
98 × 63.5 mm98 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