PLC STM32 Modbus
danhmanu·PLC-STM32F407VET6·kicad/PLC_STM32_Modbus.kicad_pcb
About the PLC STM32 Modbus PCB
PLC STM32 Modbus is an open source STM32 PCB design by danhmanu, published on GitHub. It is a 2-layer board measuring 100 × 80 mm, with 310 components from 94 distinct parts.
Its main chip is the STM32F407VET6, from the STM32 family. Other key parts include the LMR16006YQ5, AMS1117-3.3, REF3030, USBLC6-2SC6 and CH340C. By type, the board carries 131 resistors, 61 capacitors, 54 diodes, 19 transistors, 13 fuses and 12 ICs.
From the project
Mạch nguyên lý KiCad 10 cho bộ PLC: điều khiển qua LAN bằng Modbus TCP (W5500), có thêm RS485 (Modbus RTU), nạp code qua USB‑C (CH340C), 16 ngõ ra transistor cách ly quang, 10 ngõ vào analog 0–10V / 4–20mA.
Mạch nguyên lý KiCad 10 cho bộ PLC: điều khiển qua LAN bằng Modbus TCP (W5500), có thêm RS485 (Modbus RTU), nạp code qua USB‑C (CH340C), 16 ngõ ra transistor cách ly quang, 10 ngõ vào analog 0–10V / 4–20mA.
- Điện áp tại chân ADC: Vadc = Vin × 18/65 (VREF = 3.000V) - 0–10V (không cắm jumper): 10V → 2.77V. Đo được tối đa khoảng 10.8V. - 4–20mA (cắm jumper kênh n trên J702, chân 2n‑1 ↔ 2n): shunt 499Ω mắc song song cầu chia 65k, tổng ≈ 495.2Ω. 20mA → 9.9V → 2.74V; 4mA → 0.55V. - Sụt áp trên tải ≈ 10V. Cảm biến 2 dây cấp 24V vẫn còn khoảng 14V để hoạt động. - Firmware: Vin = raw/4095 × 3.0 ×…

Main components on the PLC STM32 Modbus
PLC STM32 Modbus bill of materials (BOM)
310 components, 94 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LMR16006YQ5 | SOT-23-6 | U101 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U102 |
| 1 | STM32F407VET6 | LQFP-100_14x14mm_P0.5mm | U200 |
| 1 | REF3030 | SOT-23 | U201 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U301 |
| 1 | CH340C | SOIC-16_3.9x9.9mm_P1.27mm | U302 |
| 1 | W5500 | LQFP-48_7x7mm_P0.5mm | U400 |
| 1 | SP3485EN | SOIC-8_3.9x4.9mm_P1.27mm | U401 |
| 4 | TLP291-4 | SOIC-16_4.55x10.3mm_P1.27mm | U501, U502, U503, U504 |
| 2 | MMBT3904 | SOT-23 | Q301, Q302 |
| 1 | MMBT3906 | SOT-23 | Q303 |
| 16 | DMN6075S | SOT-23 | Q501, Q502, Q503, Q504, Q505, Q506, Q507, Q508 +8 |
| 1 | 8MHz 20pF | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y201 |
| 1 | 25MHz 18pF | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y401 |
| 1 | 24VDC IN | TerminalBlock_Phoenix_MKDS-1-2-3.81_1x02_P3.81mm_Horizontal | J101 |
| 1 | SWD | PinHeader_2x05_P1.27mm_Vertical_SMD | J201 |
| 1 | USB-C | USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J301 |
| 1 | HR911105A | RJ45_Hanrun_HR911105A_Horizontal | J401 |
| 1 | RS485 | TerminalBlock_Phoenix_MKDS-1-3-3.81_1x03_P3.81mm_Horizontal | J402 |
| 1 | OUT 1-8 | TerminalBlock_Phoenix_MKDS-1-10-3.81_1x10_P3.81mm_Horizontal | J501 |
Show 74 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | OUT 9-16 | TerminalBlock_Phoenix_MKDS-1-10-3.81_1x10_P3.81mm_Horizontal | J502 |
| 1 | AI 1-10 | TerminalBlock_Phoenix_MKDS-1-10-3.81_1x10_P3.81mm_Horizontal | J701 |
| 1 | mA SELECT | PinHeader_2x10_P2.54mm_Vertical | J702 |
| 1 | AI PWR/COM | TerminalBlock_Phoenix_MKDS-1-6-3.81_1x06_P3.81mm_Horizontal | J703 |
| 1 | PTC MF-MSMF050-2 0.5A/60V | Fuse_1812_4532Metric | F101 |
| 1 | 500MA 500mA | Fuse_1206_3216Metric | F301 |
| 10 | 50MA 50mA | Fuse_0805_2012Metric | F701, F702, F703, F704, F705, F706, F707, F708 +2 |
| 1 | 200MA 200mA | Fuse_1206_3216Metric | F711 |
| 1 | AUTO-BOOT | PinHeader_1x02_P2.54mm_Vertical | JP301 |
| 1 | TERM 120R | PinHeader_1x02_P2.54mm_Vertical | JP401 |
| 1 | RESET | SW_SPST_PTS810 | SW201 |
| 1 | BOOT | SW_SPST_PTS810 | SW202 |
| 1 | SS110 (100V/1A) | D_SMA | D101 |
| 1 | SMBJ33CA | D_SMB | D102 |
| 1 | PWR (green) | LED_0603_1608Metric | D103 |
| 1 | SS16 | D_SMA | D104 |
| 2 | SS14 | D_SMA | D105, D106 |
| 1 | 3V3 (green) | LED_0603_1608Metric | D107 |
| 1 | RUN (green) | LED_0603_1608Metric | D201 |
| 1 | ERR (red) | LED_0603_1608Metric | D202 |
| 12 | SMF12CA | D_SOD-123F | D401, D402, D701, D702, D703, D704, D705, D706 +4 |
| 16 | SS16FL | D_SOD-123F | D501, D503, D505, D507, D509, D511, D513, D515 +8 |
| 1 | Q1 | LED_0603_1608Metric | D502 |
| 1 | Q2 | LED_0603_1608Metric | D504 |
| 1 | Q3 | LED_0603_1608Metric | D506 |
| 1 | Q4 | LED_0603_1608Metric | D508 |
| 1 | Q5 | LED_0603_1608Metric | D510 |
| 1 | Q6 | LED_0603_1608Metric | D512 |
| 1 | Q7 | LED_0603_1608Metric | D514 |
| 1 | Q8 | LED_0603_1608Metric | D516 |
| 1 | Q9 | LED_0603_1608Metric | D518 |
| 1 | Q10 | LED_0603_1608Metric | D520 |
| 1 | Q11 | LED_0603_1608Metric | D522 |
| 1 | Q12 | LED_0603_1608Metric | D524 |
| 1 | Q13 | LED_0603_1608Metric | D526 |
| 1 | Q14 | LED_0603_1608Metric | D528 |
| 1 | Q15 | LED_0603_1608Metric | D530 |
| 1 | Q16 | LED_0603_1608Metric | D532 |
| 1 | SMBJ33A | D_SMB | D533 |
| 1 | BLM31PG601SN1 3A | L_1206_3216Metric | FB101 |
| 1 | 600R@100MHz | L_0805_2012Metric | FB102 |
| 1 | CMC TDK ACM7060-701-2PL | L_CommonModeChoke_TDK_ACM7060 | L101 |
| 1 | 10uH 1A | L_Bourns-SRN4018 | L102 |
| 1 | 47UF/50V 47uF/50V | CP_Elec_6.3x7.7 | C101 |
| 1 | 1UF/50V 1uF/50V | C_1206_3216Metric | C102 |
| 1 | 10UF/50V 10uF/50V | C_1210_3225Metric | C103 |
| 3 | 100NF/50V 100nF/50V | C_0805_2012Metric | C104, C106, C502 |
| 1 | 2.2UF/50V 2.2uF/50V | C_1206_3216Metric | C105 |
| 30 | 100NF 100nF | C_0603_1608Metric | C107, C112, C114, C203, C204, C205, C206, C207 +22 |
| 3 | 22UF 22uF | C_1206_3216Metric | C108, C109, C111 |
| 4 | 10UF 10uF | C_0805_2012Metric | C110, C113, C304, C410 |
| 2 | 20PF 20pF | C_0603_1608Metric | C201, C202 |
| 2 | 4.7UF 4.7uF | C_0805_2012Metric | C209, C401 |
| 3 | 1UF 1uF | C_0603_1608Metric | C210, C214, C302 |
| 2 | 2.2UF 2.2uF | C_0805_2012Metric | C212, C213 |
| 1 | 4.7NF/250V 4.7nF/250V | C_1206_3216Metric | C301 |
| 3 | 10NF 10nF | C_0603_1608Metric | C402, C412, C413 |
| 2 | 18PF 18pF | C_0603_1608Metric | C403, C404 |
| 1 | 6.8NF 6.8nF | C_0603_1608Metric | C411 |
| 1 | 10UF/50V 10uF/50V | C_1206_3216Metric | C501 |
| 1 | 4.7K 4.7k | R_1206_3216Metric | R101 |
| 14 | 1k | R_0603_1608Metric | R102, R203, R204, R308, R704, R708, R712, R716 +6 |
| 57 | 10K 10k | R_0603_1608Metric | R201, R202, R304, R305, R306, R307, R402, R403 +49 |
| 2 | 5.1K 5.1k | R_0603_1608Metric | R301, R302 |
| 1 | 1M | R_0603_1608Metric | R303 |
| 1 | 12.4k 1% | R_0603_1608Metric | R401 |
| 4 | 49.9 1% | R_0603_1608Metric | R404, R405, R406, R407 |
| 2 | 330 | R_0603_1608Metric | R408, R409 |
| 2 | 680 | R_0603_1608Metric | R411, R412 |
| 1 | 120 | R_1206_3216Metric | R413 |
| 16 | 470 | R_0603_1608Metric | R501, R505, R509, R513, R517, R521, R525, R529 +8 |
| 10 | 499 0.1% 0.25W | R_1206_3216Metric | R701, R705, R709, R713, R717, R721, R725, R729 +2 |
| 10 | 47k 0.1% | R_0603_1608Metric | R702, R706, R710, R714, R718, R722, R726, R730 +2 |
| 10 | 18k 0.1% | R_0603_1608Metric | R703, R707, R711, R715, R719, R723, R727, R731 +2 |
PLC STM32 Modbus design files
The KiCad project lives in the danhmanu/PLC-STM32F407VET6 repository on GitHub; these links point at the commit this page was built from.
PLC STM32 Modbus: common questions
What microcontroller does the PLC STM32 Modbus use?
The PLC STM32 Modbus is built around the STM32F407VET6, from the STM32 family.
How big is the PLC STM32 Modbus PCB?
The PLC STM32 Modbus measures 100 × 80 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the PLC STM32 Modbus?
310 components, from 94 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 PLC STM32 Modbus design files?
From the danhmanu/PLC-STM32F407VET6 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 PLC STM32 Modbus design in my own project?
The repository has no license, so all rights stay with danhmanu. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the PLC STM32 Modbus 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 PLC-STM32F407VET6
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k