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, and as chip select CS when using SPI drivers such as TMC5160. The same pin is multiplexed.
  • EN is the enable pin. In Klipper configuration, it is typically active-low (with the ! prefix in enable_pin).
  • DIAG is the driver diagnostic signal pin. When using sensorless 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 turn off the printer and disconnect the power supply. Do not plug or unplug cables, rearrange connector wiring, or touch terminals while the power is on.

DIAG and Sensorless Homing

In the table, rows where the corresponding driver DIAG is not - indicate that the DIAG signal of that driver is already connected to the corresponding input port on the main controller. When enabling sensorless homing, configure the diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal. Do not connect mechanical or optical endstops simultaneously. Drivers without a listed DIAG correspondence cannot be directly configured for sensorless homing according to the table.

SPI Bus

SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. In the configuration, simply set spi_bus: spi2. There is no need to configure the MOSI/MISO/SCLK pins separately:

[tmc5160 stepper_x]
spi_bus: spi2
cs_pin: UART/CS pin of the corresponding driver

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
General Input / IO0PD3-
Probe / IO4PB5DRIVER3

Heating

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's built-in sensor_type options that can be connected directly, and suitable applications for each model: Thermistor Configuration Method

K-type thermocouples, PT100, etc., require additional conversion chips and cannot be connected directly 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.:

PinRemarks
PA8Servo / BLTouch control

BL-Touch

FunctionPin
Servo SignalPA8
Probe SignalPB5

EXP Interface

EXP Configuration Reminder
  • The EXP header is commonly used for displays such as the Mini12864 or for expanding peripherals.
  • If a pin is already used by SPI, UART, endstop, fan, or other functions, do not configure it redundantly for EXP peripherals.

EXP1

FunctionPin
EXP1_1NC
EXP1_2PA15
EXP1_3PC11
EXP1_4PA14
EXP1_5PC10
EXP1_6PA13
EXP1_7NC
EXP1_8NC
EXP1_9GND
EXP1_105V

EXP2

FunctionPin
EXP2_1PB14
EXP2_2PB13
EXP2_3PC12
EXP2_4PB12
EXP2_5PB6
EXP2_6PB15
EXP2_7NC
EXP2_8RST
EXP2_9GND
EXP2_10NC
Loading...