Pinout
- This page lists the pinout of the FLY-D8 (H723) mainboard after flashing Klipper firmware. Pin numbers are based on the mainboard schematic.
UART/CSis the driver communication pin: used as UART when using TMC2209, and as chip selectCSwhen using SPI drivers such as TMC5160. The same pin is multiplexed.ENis the enable pin, which is typically active-low in Klipper configuration (enable_pinwith the!prefix).DIAGis the driver diagnostic signal pin. When using sensorless homing, configure the correspondingdiag_pinaccording to the table below.
Driver Pins
The FLY-D8 (H723) provides 8 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | PE5 | PA8 | PA15 | PC9 | PD9 |
| DRIVER1 | PE4 | PC11 | PC12 | PC10 | PD8 |
| DRIVER2 | PE3 | PD1 | PD2 | PD0 | PD11 |
| DRIVER3 | PE2 | PD4 | PD5 | PD3 | PD10 |
| DRIVER4 | PE1 | PD7 | PB6 | PD6 | PA6 |
| DRIVER5 | PE0 | PC13 | PC14 | PB7 | PA5 |
| DRIVER6 | PE8 | PE12 | PE11 | PC15 | PD15 |
| DRIVER7 | PE9 | PC4 | PA7 | PE10 | PA4 |
Before starting, completely power off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, arrange interface wiring, or touch terminals while the power is on.
Rows in the table where the corresponding driver DIAG is not - indicate that the driver's DIAG signal is connected to the corresponding input pin on the main controller. When enabling sensorless homing, directly configure diag_pin according to the table. The corresponding input pin will be occupied by the DIAG signal; do not connect mechanical or optical endstops simultaneously. The RGB / PWM rows are not DIAG inputs and cannot be used for sensorless homing.
SPI Bus
SPI drivers such as the TMC5160 use the mainboard's hardware SPI bus. Simply configure spi_bus: spi1a in the configuration — there is no need to configure the MOSI/MISO/SCLK pins individually:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: UART/CS pin of the corresponding driver
Detailed information on software SPI and SPI speeds: 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.
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop Port 0 / IO0 | PD9 | DRIVER0 |
| Endstop Port 1 / IO1 | PD8 | DRIVER1 |
| Endstop Port 2 / IO2 | PD11 | DRIVER2 |
| Endstop Port 3 / IO3 | PD10 | DRIVER3 |
| Endstop Port 4 / IO4 | PA6 | DRIVER4 |
| Endstop Port 5 / IO5 | PA5 | DRIVER5 |
| RGB / PWM | PD15 | - |
| RGB / PWM | PA4 | - |
| Probe | PC0 | - |
Heating
| Function | Pin |
|---|---|
| Heated Bed | PB1 |
| Heater Port 0 | PD12 |
| Heater Port 1 | PD13 |
| Heater Port 2 | PD14 |
Temperature Sensors
| Function | Pin |
|---|---|
| Bed Thermistor | PB0 |
| Thermistor Port 0 | PC2 |
| Thermistor Port 1 | PC3 |
| Thermistor Port 2 | PC5 |
The thermistor ports support NTC thermistors (100K) by default. The recommended sensor_type configuration is Generic 3950.
List of built-in
sensor_typeoptions directly supported by 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
| Function | Pin |
|---|---|
| Fan Port 0 | PA1 |
| Fan Port 1 | PA2 |
| Fan Port 2 | PA3 |
| Fan Port 3 | PC6 |
| Fan Port 4 | PC7 |
| Fan Port 5 | PC8 |
PWM
The FLY-D8 (H723) provides 3 PWM output channels, which can be used for servos, fan speed control, etc.:
| Pin | Notes |
|---|---|
| PD15 | RGB / Neopixel |
| PA4 | RGB / Neopixel |
| PE6 | Servo / BLTouch control |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PE6 |
| Probe Signal | PC0 |
RGB
| Function | Pin |
|---|---|
| RGB0 / Neopixel | PD15 |
| RGB1 / Neopixel | PA4 |
EXP Interface
- EXP headers are commonly used for screens like the Mini12864 or for expansion peripherals.
- If a pin is already occupied by SPI, UART, endstop, fan, or other functions, do not configure it again for EXP peripherals.
EXP1
| Function | Pin |
|---|---|
| EXP1_1 | PB11 |
| EXP1_2 | PE7 |
| EXP1_3 | PA14 |
| EXP1_4 | PA13 |
| EXP1_5 | PB10 |
| EXP1_6 | PE15 |
| EXP1_7 | PE14 |
| EXP1_8 | PA0 |
| EXP1_9 | GND |
| EXP1_10 | 5V |
EXP2
| Function | Pin |
|---|---|
| EXP2_1 | PB14 |
| EXP2_2 | PB13 |
| EXP2_3 | PA9 |
| EXP2_4 | PB12 |
| EXP2_5 | PA10 |
| EXP2_6 | PB15 |
| EXP2_7 | PE13 |
| EXP2_8 | RST |
| EXP2_9 | GND |
| EXP2_10 | NC |