Skip to main content

Pinout

Note
  • This page lists the pinout of the FLY-D5 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
  • UART/CS is the driver communication pin: used as UART with TMC2209, used as chip select CS with SPI drivers such as TMC5160. The same pin is multiplexed.
  • EN is the enable pin. In Klipper configuration, it is typically active low (with ! prefix in enable_pin).
  • DIAG is the driver diagnostic signal pin. When using endstop-less homing, configure the corresponding diag_pin according to the table below.
Loading...

Driver Pins

The FLY-D5 provides 5 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PC15PC14PC2PC13PB4
DRIVER1PA1PA0PA2PC3PB3
DRIVER2PA5PA4PA6PA3PD2
DRIVER3PC5PC4PB0PA7PB5
DRIVER4PB10PB2PB11PB1NC
Power Off Before Operation

Before starting, completely power off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, rearrange interface cable routing, or touch terminals while the system is powered on.

DIAG and Endstop-less Homing

Rows in the table where the corresponding driver DIAG is not - indicate that the driver's DIAG pin is connected to the corresponding input port on the main controller. When enabling endstop-less homing, configure diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal, so do not connect mechanical or optical endstop switches simultaneously. Drivers without a listed DIAG mapping cannot be directly configured for endstop-less homing according to the table.

SPI Bus

SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. Simply configure spi_bus: spi2 in the configuration; there is no need to separately configure MOSI/MISO/SCLK pins:

[tmc5160 stepper_x]
spi_bus: spi2
cs_pin: corresponding driver's UART/CS pin

Detailed instructions on software SPI and SPI speed, etc.: SPI Configuration Method

Endstops and Probe

FunctionPinCorresponding Driver DIAG
Endstop Port 0 / IO3PB4DRIVER0
Endstop Port 1 / IO2PB3DRIVER1
Endstop Port 2 / IO1PD2DRIVER2
Generic Input / IO0PD3-
Probe / IO4PB5DRIVER3

Heaters

FunctionPin
Heater Port 0PC6
Heater Port 1PC7

Temperature Sensors

FunctionPin
Thermistor Port 0PC0
Thermistor Port 1PC1
Supported Thermistor Types

The thermistor ports support NTC thermistors (100K) by default. The recommended sensor_type configuration is Generic 3950.

List of Klipper built-in sensor_type options that can be directly connected and their applicable scenarios: Thermistor Configuration Method

K-type thermocouples, PT100, etc., require additional conversion chips and cannot be directly connected to the thermistor ports.

Fans

FunctionPin
Fan Port 0PC8
Fan Port 1PC9

PWM

The FLY-D5 provides 1 PWM output, which can be used for servos, fan speed control, etc.:

PinNote
PA8Servo / BLTouch control

BL-Touch

FunctionPin
Servo SignalPA8
Probe SignalPB5
Loading...