Skip to main content

Pinout

Note
  • This page lists the pinout of the FLY-D8 (F407) motherboard after flashing Klipper firmware. The pin numbers are based on the motherboard schematic.
  • UART/CS are the driver communication pins: used as UART when using TMC2209, and as chip select CS when using SPI drivers such as TMC5160. The pins are shared.
  • EN is the enable pin. In Klipper configuration, it is usually active-low (with ! 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-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 wiring, or touch terminals while the power is on.

DIAG and Sensorless Homing

For rows where the Corresponding Driver DIAG in the table is not -, the driver's DIAG pin is connected to the corresponding input on the main controller. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input will be occupied by the DIAG signal; do not connect mechanical or optical endstops to it 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. Configure spi_bus: spi1a in the configuration; there is no need to configure the MOSI/MISO/SCLK pins separately:

[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: Corresponding driver's UART/CS pin

For detailed information on software SPI and SPI speed, etc.: SPI Configuration Method

Endstops and Probe

  • Please note that the RGB signal pins cannot be used as 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 Bed HeatingPB0
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.

For the list of built-in sensor_type options available in Klipper and their applicable scenarios: Thermistor Configuration Method

K-type thermocouples, PT100, etc., require additional signal 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

EXP Interface

EXP Configuration Reminder
  • The EXP header is commonly used for screens like the Mini12864 or other peripherals.
  • If a pin is already occupied by an SPI, UART, endstop, fan, or other function, do not configure it again for the EXP peripheral.

EXP1

FunctionPin
EXP1_1PB10
EXP1_2PB1
EXP1_3PA14
EXP1_4PA13
EXP1_5PE15
EXP1_6PE14
EXP1_7PE13
EXP1_8PB11
EXP1_9GND
EXP1_105V

EXP2

FunctionPin
EXP2_1PB14
EXP2_2PB13
EXP2_3PA9
EXP2_4PB12
EXP2_5PA10
EXP2_6PB15
EXP2_7PE12
EXP2_8RST
EXP2_9GND
EXP2_10NC
Loading...