Pin Mapping
- 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/CSis the driver communication pin: used as UART with TMC2209, and as chip selectCSwith SPI drivers such as TMC5160. The same pin is multiplexed.ENis the enable pin. In Klipper configuration, it is usually active low (with the!prefix inenable_pin).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 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.
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.
| 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. It is recommended to configure sensor_type as Generic 3950.
List of built-in
sensor_typeoptions 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
| 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 outputs, 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 |