Skip to the content
2 layers100 × 150 mmPCB Kicad F446, the printed circuit board in 3D

PCB Kicad F446

axvelo/PCB-Kicad-F446

A custom CNC control interface board designed with KiCad 9.0, intended for use with LinuxCNC and the Remora STM32F446 / W5500 firmware real-time firmware.

Size
100 × 150 mm
Copper layers
2
Thickness
1.6 mm
Parts
202
Nets
210
Pads
661
Tracks, vias
1,493, 102
Pours
17
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Jun 2026
Updated
14 Jun 2026

Overview

PCB Kicad F446 is an open-source printed circuit board by axvelo, from the axvelo/PCB-Kicad-F446 repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 100 × 150 mm with 202 parts on 210 nets, routed with 1,493 tracks and 102 vias.

It is built around the LM358, EL357N(B)(TA)-G and CBMUD1200LAS8, with the ZMM5V6, BAV23A and BAV23C among its other parts. Its parts include 70 resistors, 47 connectors, 36 capacitors, 34 ICs and 7 diodes.

Main components

6

README

README.md

STM32F446 CNC Control Board

Türkçe

A custom CNC control interface board designed with KiCad 9.0, intended for use with LinuxCNC and the Remora STM32F446 / W5500 firmware real-time firmware. The WeAct Studio STM32F446 64-Pin Core Board plugs onto this control board, and a WIZnet W5500 Ethernet module connects via the on-board SPI socket for Remora Ethernet operation.


WARNING — Read before use

This design is provided as-is, without warranty of any kind, express or implied. CNC machines involve high voltages, high-speed mechanical components, and industrial motor drivers. Improper construction, wiring, or use of this hardware design can cause serious injury, death, fire, or property damage.

The author(s) of this design accept no liability for any damage, injury, or loss resulting from the use, misuse, reproduction, or inability to use this hardware design or any derivative thereof. You are solely responsible for verifying the suitability, safety, and correctness of any implementation before powering or operating it.

This design is intended for personal and educational use by individuals with appropriate knowledge of electronics and machine safety. It is not a finished or certified product.


1. Board Overview

MCU ModuleWeAct Studio STM32F446 64-Pin Core Board
EthernetWIZnet W5500 (SPI)
Step/Dir Outputs5 axes — RS-422 differential (X, Y, Z, A, B)
Signal IsolationCBMUD1200LAS8 high-speed digital isolators
Differential DriverAM26LS31CDRG4 quad RS-422 line driver
Digital Inputs8 × optocoupler-isolated (EL357N)
Digital Outputs6 × optocoupler-isolated (configurable pull-up / pull-down)
Motor Enable Outputs2 × optocoupler-isolated (STEP_EN, STEP_EN_Z)
Halt / E-StopDedicated halt circuit — selectable NO / NC polarity
Alarm InputServo driver alarm → hardware halt trigger
Probe InputParallel dual-signal touch probe input
Spindle ControlAnalog 0–10 V output via LM358 op-amp
Encoder Input3-channel differential RS-422 (A/B/Z) with isolation
PCB ToolKiCad 9.0

2. PCB Layout

PCB Layout


3. Hardware Modules

3.1 MCU: WeAct Studio STM32F446 64-Pin Core Board

The WeAct STM32F446 development module plugs onto this control board via two 30-pin sockets. The sockets expose all GPIO ports (PA0–PA15, PB0–PB15, PC0–PC15, PD2) as well as 3.3 V and 5 V power rails.

WeAct Module

Full MCU pin assignment:

MCU Pin Map


3.2 Ethernet: WIZnet W5500 Module

Ethernet connectivity is provided by a WIZnet W5500 module connected to the on-board SPI socket. This enables Remora Ethernet operation, where LinuxCNC communicates with the STM32F446 over UDP in real time.

W5500 Module


4. I/O Features

4.1 5-Axis Step / Direction Outputs (RS-422 Differential)

Each of the five axes (X, Y, Z, A, B) has a fully isolated, differential step and direction output channel. The signal chain consists of:

  1. CBMUD1200LAS8 — Dual-channel high-speed digital isolator (SOIC-8, LCSC C476470). Provides galvanic isolation between the MCU 3.3 V domain and the driver 5 V domain.
  2. AM26LS31CDRG4 — Quad RS-422 line driver (SOIC-16). Converts single-ended signals from the isolator output to balanced differential pairs (STEP+/STEP−, DIR+/DIR−).
  3. ZMM5V6 Zener diode — Transient protection on the 5 V driver supply.

Each axis provides a 4-pin screw terminal: STEP+, STEP−, DIR+, DIR−.

text
MCU GPIO  →  CBMUD1200  →  AM26LS31C  →  STEP± / DIR±
(3.3 V)      (isolator)    (RS-422 driver)   (to motor driver)

4.2 Isolated Digital Inputs (8 Channels)

Eight optocoupler-isolated digital inputs (EL357N, 1 kΩ series / 4.7 kΩ pull-up / 100 nF filter) connect via 2-pin screw terminals. Each channel is labelled by its intended function:

ChannelNet LabelFunction
OPT_0OPT_0_DOORSafety door switch
OPT_1OPT_1_B_LIMB-axis limit switch
OPT_2OPT_2_X_LIMX-axis limit switch
OPT_3OPT_3_Y_LIMY-axis limit switch
OPT_4OPT_4_Z_LIMZ-axis limit switch
OPT_5OPT_5_FEED_HOLDFeed hold button
OPT_6OPT_6_CYCLE_STARTCycle start button
OPT_7OPT_7_A_LIMA-axis limit switch

Note — HALT triggering: OPT_0 (DOOR) and OPT_1 (B_LIM) are wired to also trigger the hardware halt circuit in addition to being read as standard digital inputs by the firmware.


4.3 Isolated Digital Outputs (6 Channels)

Six optocoupler-isolated digital outputs are available for switching relays, solenoids, and other loads. Output polarity (pull-up or pull-down) is configured per channel via on-board jumpers.

ChannelNet LabelDefault Use
AUX_0AUX_0_COOLANTFlood coolant pump
AUX_1AUX_1_MISTMist coolant
AUX_2AUX_2General purpose
AUX_3AUX_3General purpose
AUX_4AUX_4General purpose
AUX_5AUX_5General purpose
Pull-Down Configuration

AUX Pull-Down

Pull-Up Configuration

AUX Pull-Up

Each output connector exposes three pins: Vcc, SIG, GND.


4.4 Motor Enable Outputs

Two dedicated optocoupler-isolated outputs (EL357N) are provided for controlling the enable (ENA) pins of motor drivers:

SignalFunction
STEP_ENEnable output for all axes
STEP_EN_ZIndependent enable output for the Z axis

Unlike the AUX outputs (section 4.3), the motor enable outputs have a fixed output configuration — there is no pull-up / pull-down jumper. They connect directly to motor driver ENA inputs via screw terminals.


4.5 Halt / E-Stop Input

A dedicated halt input is provided with optocoupler isolation (EL357N) and AO3400A N-channel MOSFET switching. The trigger polarity is selected by an on-board jumper:

Halt Trigger States

Jumper PositionTrigger Condition
Position ANormally-open (NO) contact — triggers on circuit open
Position BNormally-closed (NC) contact — triggers on V+ applied

Multiple sources can trigger the HALT signal in hardware:

  • External E-stop switch — connected to the dedicated HALT screw terminal.
  • Door input (OPT_0_DOOR) — opening the safety door triggers a halt.
  • B-axis limit (OPT_1_B_LIM) — B-axis over-travel triggers a halt.
  • Servo ALARM input — described separately below.

4.6 Servo Alarm Input

A separate ALARM input is dedicated to receiving the alarm signal from servo motor drivers. When a servo driver asserts its alarm output, this input hardware-triggers the HALT signal, bringing the machine to an immediate stop independently of the firmware state.

The alarm input circuit uses the same optocoupler isolation and transistor topology as the halt channels, wired in parallel with the main halt circuit.


4.7 Probe / Touch Probe Input

The probe input (PROBE) uses a parallel dual-signal circuit implemented in parallel_switch.kicad_sch. Two independent probe signals (SIG_1, SIG_2) are combined through BAV23 dual-diode packages in a wired-OR configuration before entering the optocoupler (EL357N) and reaching the MCU.

text
Signal 1 ──┐
           ├── BAV23 (OR) ── EL357N ── MCU PROBE
Signal 2 ──┘

This allows two different probe switch contacts (e.g. a tool-length sensor and a 3D touch probe) to share the same MCU input. Either signal independently triggers the probe detection.

The probe screw terminal (J21, labeled PROBE) provides three connections: Vcc, SIG 1, SIG 2.


4.8 Spindle Speed Control

An analog spindle speed output is generated using an LM358 dual operational amplifier. The MCU generates a PWM signal (SPINDLE_PWM) which is filtered and scaled by the LM358 stage to produce a 0–10 V analog reference voltage suitable for VFD spindle speed control.

Additional spindle signals: SPINDLE_DIR (direction) and SPINDLE_EN (enable).


4.9 Encoder Input

The encoder input accepts a 3-channel differential quadrature encoder with index (A, B, Z). The signal chain:

  1. AM26LS32ACDRG4 — Quad RS-422 differential line receiver (SOIC-16). Converts the differential pairs (A+/A−, B+/B−, Z+/Z−) to single-ended logic signals.
  2. CBMUD1200LAS8 (×2) — High-speed dual-channel digital isolators. Provide galvanic isolation between the encoder cable side (5 V) and the MCU side (3.3 V).
  3. 8-pin screw terminal — Encoder connector pinout: A+, A−, B+, B−, Z+, Z−, 5 V, GND.
  4. 100 Ω series resistors + ZMM5V6 Zener — Line termination and transient protection.
text
Encoder  →  8-pin terminal  →  AM26LS32A  →  CBMUD1200  →  MCU (ENC_A / ENC_B / ENC_Z)
(RS-422)                       (receiver)     (isolator)    (3.3 V logic)

The 8-pin terminal is wired 1:1 to a custom encoder board via a straight-through Ethernet (Cat5/Cat6) cable, using the four twisted pairs for the A+/A−, B+/B−, Z+/Z−, and power pairs.

Note: Most industrial encoders provide single-ended (open-collector or push-pull) outputs. To connect such an encoder, an external line driver module must be used to convert the single-ended ABZ signals to RS-422 differential pairs before connecting to the RJ45: axvelo/PCB-Encoder-Line-Driver


5. Software Compatibility

5.1 LinuxCNC

LinuxCNC runs on a real-time Linux PC and acts as the CNC machine controller. It sends motion commands to the Remora firmware over Ethernet.

5.2 Remora Firmware

The STM32F446 runs a Remora port specifically built for this board's hardware combination (STM32F446 + WIZnet W5500). It receives step/direction commands from LinuxCNC via UDP over the W5500 Ethernet interface and generates real-time pulse trains.

Firmware repository: axvelo/Firmware-F446-W5500


6. Schematics

Full schematics are available as a PDF:

The KiCad 9.0 source files (.kicad_sch, .kicad_pcb, .kicad_pro) are included in this repository.


7. Key Components

ComponentPart NumberPackageFunction
MCU ModuleWeAct STM32F446 64-PinModuleMain controller
Ethernet ModuleWIZnet W5500ModuleSPI Ethernet
Digital IsolatorCBMUD1200LAS8SOIC-8High-speed 2-ch isolation
RS-422 Line DriverAM26LS31CDRG4SOIC-16Step/dir differential output
RS-422 Line ReceiverAM26LS32ACDRG4SOIC-16Encoder differential input
OptocouplerEL357N(B)(TA)-GDIP-4I/O galvanic isolation
N-ch MOSFETAO3400ASOT-23Halt circuit switching
NPN TransistorMMBT5551SOT-23Probe circuit signal switching
Dual DiodeBAV23A / BAV23CSOT-23Probe wired-OR logic
Op-AmpLM358SOIC-8Spindle 0–10V analog output
Zener DiodeZMM5V6LL-345.6 V transient protection

8. License

This project is licensed under the CERN Open Hardware Licence Version 2 — Strongly Reciprocal (CERN-OHL-S-2.0).

You may redistribute and modify this design under the terms of the CERN-OHL-S v2. Any product or design that incorporates or derives from this work must be released under the same licence, with all source files (schematics, PCB layout, BOMs) made publicly available.

See the LICENSE file for the full licence text.

Parts

202
QtyValueFootprintReferences
30100nFaxvelo_footprint:0603_CC1, C2, C10, C11, C13, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26 +14
304.7KΩ ±1%axvelo_footprint:0603_RR10, R13, R19, R21, R22, R25, R27, R35, R36, R37, R38, R41, R43, R45, R47, R49 +14
22EL357N(B)(TA)-Gaxvelo_footprint:EL357N-GU10, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26 +6
12Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ10, J11, J17, J18, J29, J30, J33, J34, J37, J38, J43, J44
111KΩ ±1%axvelo_footprint:0603_RR18, R23, R28, R42, R44, R46, R48, R50, R52, R54, R76
9510Ω ±1%axvelo_footprint:0603_RR7, R20, R34, R56, R59, R62, R68, R71, R72
8AUX_OUTaxvelo_footprint:Terminal_1x3J13, J20, J32, J36, J40, J46, J50, J51
8OPT_INaxvelo_footprint:Terminal_1x2J9, J22, J23, J24, J25, J26, J27, J28
710KΩ ±1%axvelo_footprint:0603_RR3, R14, R15, R16, R24, R26, R29
7CBMuD1200LAS8axvelo_footprint:SOIC-8_150milU2, U3, U5, U6, U28, U31, U32
7Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ12, J14, J19, J31, J35, J39, J45
51uFaxvelo_footprint:0603_CC6, C12, C14, C31, C32
4MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965H1, H2, H3, H4
4ZMM5V6axvelo_footprint:LL-34D1, D2, D8, D9
30Ω ±1%axvelo_footprint:0603_RR4, R5, R6
3100Ω ±1%axvelo_footprint:0603_RR65, R66, R67
32KΩ ±1%axvelo_footprint:0603_RR11, R12, R40
3AM26LS31CDRG4axvelo_footprint:SOIC-16_150milU4, U7, U29
2270Ω ±1%axvelo_footprint:0603_RR8, R9
2AO3400A Naxvelo_footprint:SOT-23-3LQ2, Q3
2MMBT5551 G1axvelo_footprint:SOT-23-3Q1, Q5
2Screw_Terminal_01x08axvelo_footprint:Terminal_1x8J5, J6
1100KΩ ±1%axvelo_footprint:0603_RR17
110uFaxvelo_footprint:1206_CC15
147KΩ ±1%axvelo_footprint:0603_RR39
15V_PWRaxvelo_footprint:Terminal_1x2J3
1AM26LS32ACDRG4axvelo_footprint:SOIC-16_150milU30
1BAV23Aaxvelo_footprint:SOT-23-3D7
1BAV23Caxvelo_footprint:SOT-23-3D6
1HALTaxvelo_footprint:Terminal_1x2J15
1LM358axvelo_footprint:SOIC-8_150milU11
1PARALLELaxvelo_footprint:Terminal_1x3J21
1SM712_SOT23axvelo_footprint:SOT-23-3D3
1SPINDLEaxvelo_footprint:Terminal_1x3J8
1SPINDLE_PWRaxvelo_footprint:Terminal_1x2J7
1Screw_Terminal_01x04axvelo_footprint:Terminal_1x4J41
1Screw_Terminal_01x08axvelo_footprint:RJ45_verticalJ42
1~axvelo_footprint:WeAct_F4_ConnJ1
1~axvelo_footprint:Wiznet_ConnJ2
1~axvelo_footprint:Terminal_1x3J47

Similar boards

  • 4 layers66.6 × 86.6 mmDPSin Board WiFi Triac, the printed circuit board in 3D

    DPSin Board WiFi Triac

    gmeirelles-ops/esp32-DPTri

    Firmware ESP-IDF para a DPSin Board WiFi Triac (rev v1.0.1): relé AC ON/OFF e dimmer TRIAC por porcentagem, controlados pelo app, com pareamento por hold ≥10 s no botão PAIR.

    62 parts1
  • 2 layers200 × 170 mmRouting R1, the printed circuit board in 3D

    Routing R1

    ddasdkimo/rack-atx-controller

    10-host isolated ATX rack controller hardware planning, interactive 3D model and wiring documentation

    698 parts
  • 2 layers169.9 × 102.7 mmStm32h723zet6, the printed circuit board in 3D

    Stm32h723zet6

    mgalleguilloscespedes-png/proyectro-stm32

    en mi afán por el diseño 3d y la electrónica decidí crear mi propia versión de una placa controladora para impresora 3d, basándome en el microcontrolador stm32h723zet6 y la pcb de bigtreetech manta mp8

    587 parts
  • 2 layers151.4 × 45.7 mmCNC Boosterpack, the printed circuit board in 3D

    CNC Boosterpack

    speters/CNC_BoosterWing

    CNC breakout board for the TM4C1294CL Launchpad running grbHAL

    159 parts
  • 4 layers189.4 × 59.1 mmFlippyDriver, the printed circuit board in 3D

    FlippyDriver

    NietoSkunk/FlippyDriver

    Driver board for Luminator MAX3000 Flip Dot Panels

    344 parts10MIT
  • 2 layers99.1 × 59.7 mmLaserHarp3 - Rev3.1, the printed circuit board in 3D

    LaserHarp3 - Rev3.1

    amonbenson/laserharp

    Setup a virtual environment and install the dependencies:

    134 parts1

Questions

How big is the PCB Kicad F446 PCB?

It measures 100 × 150 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PCB Kicad F446 use?

202 parts, built around the LM358, EL357N(B)(TA)-G, CBMUD1200LAS8 and ZMM5V6. 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 PCB Kicad F446 KiCad files?

From the axvelo/PCB-Kicad-F446 repository on GitHub, at the commit this page was made from: the board is PCB-Kicad-F446.kicad_pcb and its schematic PCB-Kicad-F446.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB Kicad F446 design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).