Skip to the content
2 layers171.1 × 185.1 mmMpuled, the printed circuit board in 3D

An STM32F407-based PLC runtime engine developed in Embedded C, together with a custom PLC controller PCB and a Renode-based simulation environment.

Size
171.1 × 185.1 mm
Copper layers
2
Thickness
1.67 mm
Parts
189
Nets
243
Pads
648
Tracks, vias
1,077, 69
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
25 Sep 2026
Updated
4 Nov 2026

Overview

Mpuled is an open-source printed circuit board by abbounassima2, from the abbounassima2/STM32-PLC-Runtime-Engine-and-PCB repository on GitHub. It is a 2-layer board of 171.1 × 185.1 mm with 189 parts on 243 nets, routed with 1,077 tracks and 69 vias.

It is built around the MAX485ED, URB2405YMD-10WR3 and ADUM1201AR, with the LM321, XL4015E1 and BZX84C3V3 among its other parts. Its parts include 81 resistors, 33 capacitors, 29 ICs, 17 connectors and 10 diodes.

Main components

9

README

README.md

STM32 PLC Runtime Engine and Hardware Design

An STM32F407-based PLC runtime engine developed in Embedded C, together with a custom PLC controller PCB and a Renode-based simulation environment.

The project focuses on designing a reusable PLC runtime platform rather than a single-purpose STM32 application. The architecture separates the permanent runtime, hardware abstraction, process image, communication, and user control logic.


Project Goal

The main objective is to develop an embedded PLC platform capable of providing the core functions of a programmable industrial controller:

  • PLC operating modes
  • Cyclic and periodic program execution
  • Process-image based I/O
  • Digital and analog I/O management
  • Retentive PLC variables
  • Industrial communication
  • Runtime monitoring
  • Real-time task management
  • Custom PLC hardware
  • Firmware simulation and testing

The long-term architecture is based on separating the permanent PLC runtime from the user program, providing the foundation for a configurable and programmable embedded PLC.

Runtime Execution and Validation

The following logs demonstrate PLC operating-mode transitions, power recovery handling, and runtime execution.

PLC Runtime Log 1

PLC Runtime Log 2

I/O Mapping Architecture

The following diagrams illustrate the input reading and output writing processes, including hardware-to-process-image mapping.

PLC Architecture

Parts

189
QtyValueFootprintReferences
124N25Package_DIP:DIP-6_W7.62mmU9, U10, U11, U12, U17, U18, U22, U23, U24, U25, U28, U29
910KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR28, R29, R30, R31, R32, R55, R58, R59, R63
910kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5, R6, R8, R21, R22, R44, R51, R65, R72
8100Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR9, R13, R33, R36, R45, R60, R66, R79
82.4kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR41, R42, R52, R53, R61, R62, R74, R75
84.7KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR46, R47, R56, R57, R70, R71, R77, R78
7100nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC23, C24, C29, C30, C31, C32, C33
610nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2, C3, C7, C8, C25, C27
61KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR3, R4, R15, R16, R37, R39
61uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C6, C16, C17, C21, C22
6330Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R17, R18, R19, R20
40.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC13, C14, C26, C28
41N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D4
42KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR23, R24, R25, R26
4ADuM1201ARPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3, U8, U20, U21
4BZX84C3V3PCM_JLCPCB:D_SOT-23D7, D8, D9, D11
4FINDER-40.51Relay_THT:Relay_SPDT_Finder_40.51K1, K2, K3, K4
4IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ6, Q7, Q8, Q9
4PC817Package_DIP:DIP-4_W7.62mmU1, U2, U6, U7
4~TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_HorizontalJ3, J4, J5, J6
320kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR43, R54, R73
32N2222Package_TO_SOT_SMD:SOT-23W_HandsolderingQ1, Q4, Q5
2100Resistor_SMD:R_1206_3216MetricR48, R68
2100uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC15, C18
210uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC4, C5
2160Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR10, R34
21kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR50, R69
22.2kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR7, R27
2200Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR12, R14
220KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR11, R35
2220uF/50VCapacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mmC9, C10
2250Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR49, R67
22N2222PCM_JLCPCB:Q_SOT-23Q3, Q10
2330uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC11, C12
2330uF/25VCapacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mmC19, C20
24.7kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR80, R81
247uH/5AInductor_THT:L_Axial_L14.5mm_D5.8mm_P20.32mm_Horizontal_Fastron_HBCCL1, L2
2Conn_02x22_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x22_P2.54mm_VerticalJ9, J12
2LM321Package_TO_SOT_SMD:SOT-23-5_HandSolderingU4, U13
2MCP6001-OTPackage_TO_SOT_SMD:SOT-23-5U19, U27
2OPA197xDPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU5, U14
2SS54PCM_JLCPCB:D_SMAD5, D6
2SW_Omron_B3FSButton_Switch_SMD:SW_SPST_Omron_B3FS-100xPSW1, SW2
2Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ13, J14
2Screw_Terminal_01x03TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_HorizontalJ1, J2
2XL4015Package_TO_SOT_SMD:TO-263-5_TabPin3U15, U16
1120Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR76
120kResistor_SMD:R_1206_3216MetricR64
124VDCTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ8
12N2222Package_TO_SOT_SMD:TSOT-23_HandSolderingQ2
13kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR38
18.2KPCM_JLCPCB:R_1206R40
1MAX485EPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU26
1Screw_Terminal_01x05TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-5-5.08_1x05_P5.08mm_HorizontalJ7
1Screw_Terminal_01x09TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-9-5.08_1x09_P5.08mm_HorizontalJ15
1URB2405YMD-10WR3Converter_DCDC:Converter_DCDC_XP_POWER-IAxxxxS_THTPS1
1~TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4_1x04_P5.00mm_HorizontalJ16
1~TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ17
1~Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ10
1~Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ11

Similar boards

  • 2 layers90 × 88.4 mmPower supply, the printed circuit board in 3D

    Power supply

    zapta/daq

    A modular data acquisition system.

    18 parts1
  • 2 layers99.9 × 99.9 mmSpider Robot, the printed circuit board in 3D

    Spider Robot

    duvohuu/Spider_Robot

    Mechatronics System Design

    62 parts
  • 2 layers76.2 × 62.9 mmController board, the printed circuit board in 3D

    Controller board

    kercle/microscopy

    A small microscope automation project with a nice UI and processing capabilities (for now in particular focus stacking).

    18 parts
  • 2 layers121.5 × 92.5 mm50W 24-5V Buck OMER 260720V1, the printed circuit board in 3D

    50W 24-5V Buck OMER 260720V1

    yukselturkomer/50w-buck-converter-stm32

    Bu proje, STM32 mikrodenetleyici kullanılarak geliştirilmiş 50W kapasiteli bir Buck (Düşürücü) Konvertör sistemini ve bu sistemin kontrolünü sağlayan Nextion HMI (İnsan-Makine Arayüzü) tasarımını içermektedir.

    89 parts
  • 2 layers100 × 100 mmTIYCS battery, the printed circuit board in 3D

    TIYCS battery

    jildertviet/TIYCS

    This Is Your Captain Speaking

    27 parts
  • 2 layers76 × 45.2 mmMasjid2, the printed circuit board in 3D

    Masjid2

    Mahmoud1205/AthanLamp

    Hardware, software, and devlog of the Athan Lamp project.

    60 partsMIT
  • 2 layers100 × 50 mmPd power supply, the printed circuit board in 3D

    Pd power supply

    ziteh/pd-power-supply

    Adjustable power supply based on USB PD (WIP)

    110 partsCERN-OHL-P-2.0
  • 2 layers80.9 × 92.7 mmEvo Borne, the printed circuit board in 3D

    Evo Borne

    SRA-VJTI/Evo-Borne

    This repository focuses on building an open-source morphobot.

    126 parts12MIT

Questions

How big is the Mpuled PCB?

It measures 171.1 × 185.1 mm and has 2 copper layers, 1.67 mm thick.

What parts does the Mpuled use?

189 parts, built around the MAX485ED, URB2405YMD-10WR3, ADUM1201AR and LM321. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mpuled KiCad files?

From the abbounassima2/STM32-PLC-Runtime-Engine-and-PCB repository on GitHub, at the commit this page was made from: the board is PCB/mpuled.kicad_pcb and its schematic PCB/mpuled.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mpuled design in my own project?

Its repository states no licence, so its author keeps all rights: ask abbounassima2 before reusing the design.