Skip to main content

Pinout

Note
  • This page lists the pinout of the FLY-D8 (F407) motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
  • UART/CS is the driver communication pin: it serves as UART when using 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 (the enable_pin is prefixed with !).
  • 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-D8 (F407) provides 8 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PE5PA8PA15PC9PD9
DRIVER1PE4PC11PC12PC10PD8
DRIVER2PE3PD1PD2PD0PD11
DRIVER3PE2PD4PD5PD3PD10
DRIVER4PE1PD7PB6PD6PA5
DRIVER5PE0PC13PC14PB7PA4
DRIVER6PE7PE11PE10PC15PD15
DRIVER7PE8PA7PA6PE9PA3
Power Off Operation

Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, organize interface cable sequences, 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 driver DIAG is connected to the corresponding input port on the main controller. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal; do not connect mechanical or optical endstop switches simultaneously. The RGB / PWM row is not a DIAG input and cannot be used for sensorless homing.

SPI Bus

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

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

Detailed description of software SPI and SPI speed, etc.: SPI Configuration Method

Endstops and Probe

  • Please note that the RGB signal pins cannot be used for endstops; they can only be used as PWM ports.
FunctionPinCorresponding Driver DIAG
Endstop Port 0 / IO0PD9DRIVER0
Endstop Port 1 / IO1PD8DRIVER1
Endstop Port 2 / IO2PD11DRIVER2
Endstop Port 3 / IO3PD10DRIVER3
Endstop Port 4 / IO4PA5DRIVER4
Endstop Port 5 / IO5PA4DRIVER5
RGB / PWMPD15-
RGB / PWMPA3-
ProbePC0-

Heating

FunctionPin
Heated BedPB0
Heater Port 0PD12
Heater Port 1PD13
Heater Port 2PD14

Temperature Sensors

FunctionPin
Heated Bed ThermistorPC5
Thermistor Port 0PC2
Thermistor Port 1PC3
Thermistor Port 2PC4
Supported Thermistor Types

The thermistor ports support NTC thermistors (100K) by default. It is recommended to configure sensor_type as Generic 3950.

List of built-in sensor_type options that can be directly connected in Klipper and their applicable scenarios: 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 0PA0
Fan Port 1PA1
Fan Port 2PA2
Fan Port 3PC6
Fan Port 4PC7
Fan Port 5PC8

PWM

The FLY-D8 (F407) provides 3 PWM outputs, which can be used for servos, fan speed control, etc.:

PinRemarks
PD15RGB / Neopixel
PA3RGB / Neopixel
PE6Servo / BLTouch Control

BL-Touch

FunctionPin
Servo SignalPE6
Probe SignalPC0

RGB

FunctionPin
RGB0 / NeopixelPD15
RGB1 / NeopixelPA3
Loading...