Skip to main content

Pin Distribution

Note
  • This page lists the pin distribution of the FLY-DP5 mainboard after flashing Klipper firmware. The pin numbers are based on the mainboard schematic.
  • UART/CS is the driver communication pin: used as UART when using TMC2209, and as chip select CS when using SPI drivers such as TMC5160. The same pin serves both functions.
  • EN is the enable pin, typically active low in Klipper configuration (enable_pin with a ! prefix).
  • 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-DP5 provides 5 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PC15PC14PC2PC13PB4
DRIVER1PA1PA0PA2PC3PB3
DRIVER2PA5PA4PA6PA3PD2
DRIVER3PC5PC4PB0PA7PB5
DRIVER4PB10PB2PB11PB1NC
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 in the table where the corresponding driver DIAG is not -, the driver's 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, so do not connect mechanical or optical endstop switches at the same time. Drivers without a listed DIAG correspondence cannot be configured for sensorless homing directly according to the table.

SPI Bus

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

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

Detailed explanation of software SPI, SPI speed, etc.: SPI Configuration Method

Endstops and Probe

FunctionPinCorresponding Driver DIAG
Endstop Port 0 / IO0PB4DRIVER0
Endstop Port 1 / IO1PB3DRIVER1
Endstop Port 2 / IO2PD2DRIVER2
ProbePB5DRIVER3

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 sensor_type options built into Klipper 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-DP5 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

Driver RGB

  • Please note that this is not separately brought out | Pin | Remarks | | :----: | :----: | | PB7 | Driver RGB |
Loading...