Skip to main content

Pin Mapping

Note
  • This page lists the pin mapping of the FLY-D8 (H723) 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 with SPI drivers such as TMC5160. The same pin is multiplexed.
  • EN is the enable pin. In Klipper configuration, it is usually 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-D8 (H723) provides 8 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PE5PA8PA15PC9PD9
DRIVER1PE4PC11PC12PC10PD8
DRIVER2PE3PD1PD2PD0PD11
DRIVER3PE2PD4PD5PD3PD10
DRIVER4PE1PD7PB6PD6PA6
DRIVER5PE0PC13PC14PB7PA5
DRIVER6PE8PE12PE11PC15PD15
DRIVER7PE9PC4PA7PE10PA4
Power Off Operation

Before starting, completely turn off the printer and disconnect the power supply. Do not plug or unplug wiring, organize cable connections, 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's DIAG pin 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 set spi_bus: spi1a; there is no need to configure MOSI/MISO/SCLK pins separately:

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

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

Endstops and Probe

  • Please note that 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 / IO4PA6DRIVER4
Endstop port 5 / IO5PA5DRIVER5
RGB / PWMPD15-
RGB / PWMPA4-
ProbePC0-

Heating

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

Temperature Sensors

FunctionPin
Bed ThermistorPB0
Thermistor Port 0PC2
Thermistor Port 1PC3
Thermistor Port 2PC5
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 directly compatible with 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 0PA1
Fan Port 1PA2
Fan Port 2PA3
Fan Port 3PC6
Fan Port 4PC7
Fan Port 5PC8

PWM

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

PinNotes
PD15RGB / Neopixel
PA4RGB / Neopixel
PE6Servo / BLTouch control

BL-Touch

FunctionPin
Servo SignalPE6
Probe SignalPC0

RGB

FunctionPin
RGB0 / NeopixelPD15
RGB1 / NeopixelPA4
Loading...