Skip to main content

Pin Layout

Note
  • This page lists the pin layout of the FLY-D7 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard 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 is multiplexed.
  • 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...

Interactive Pin Hotspots​

The image below uses the FLY-D7 product image and the same hotspot data from the Klipper configuration generator. Use the device filters above to show only compatible connectors; click a hotspot to see compatible devices, common Klipper configuration sections, and notes. Use “Locate in pin table” in the detail panel to jump to and highlight the corresponding row below. Hover still shows the connector name and pin. Always verify the silkscreen and connector positions against the physical board and schematic.

Filter by deviceClick a device type to show only connectors that support it; click again to clear the filter.
FLY-D7Motor driversHeatersThermistorsFansEndstopsProbe / servo
FLY-D7

Hover to see the pin; click a hotspot to view compatible devices and configs. Pins can be copied from the detail panel, except for driver connectors.

Driver Pins​

The FLY-D7 provides 7 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0PC14PC13PC15PB7PB3
DRIVER1PA1PA0PA2PC3PD2
DRIVER2PA5PA4PA6PA3PA9
DRIVER3PC5PC4PB0PA7PB4
DRIVER4PB10PB2PB11PB1NC
DRIVER5PC12PB5PC11PB6NC
DRIVER6PA15PA14PA13PC10NC
Power Off Before Operation

Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug cables, rearrange wiring, or touch terminals while the system is powered on.

DIAG and Sensorless Homing

In the table, rows where the Corresponding Driver DIAG is not - indicate that the driver 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, so do not connect mechanical or optical endstops simultaneously. Drivers without a listed DIAG mapping cannot be directly configured for sensorless homing based on the table.

SPI Bus​

SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. In the configuration, simply set spi_bus: spi2. There is no need to configure the MOSI/MISO/SCLK pins separately:

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

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

Endstops and Probe​

FunctionPinCorresponding Driver DIAG
Endstop Port 0 / IO0PB3DRIVER0
Endstop Port 1 / IO1PD2DRIVER1
Endstop Port 2 / IO2PA9DRIVER2
Endstop Port 3 / IO3PA10-
ProbePB4DRIVER3

For wiring of micro switches, optical endstops, proximity sensors, and TAP, see: Endstop Wiring Guide

Heating​

FunctionPin
Heater Port 0PC6
Heater Port 1PC7
Heater Port 2PB12

Temperature Sensors​

FunctionPin
Thermistor Port 0PC0
Thermistor Port 1PC1
Thermistor Port 2PC2
Supported Thermistor Types

The thermistor ports support NTC thermistors (100K) by default, with sensor_type recommended as Generic 3950; they also support 2-wire PT1000, configured by setting sensor_type to PT1000.

List of sensor_type options that can be directly connected internally by Klipper and their applicable scenarios: Thermistor Configuration Method

K-type thermocouples, 3-wire PT100, etc., require additional signal conditioning chips and cannot be connected directly to the thermistor ports.

Fans​

FunctionPin
Fan Port 0PC8
Fan Port 1PC9

PWM​

The FLY-D7 provides 1 PWM output, which can be used for servos, fan speed control, etc.:

PinRemarks
PA8Servo / BLTouch control

BL-Touch​

FunctionPin
Servo SignalPA8
Probe SignalPB4

Screen / EXP Description​

Interface Description

The FLY-D7 does not provide standard EXP1 / EXP2 12864 pin headers. The UART interface shown in the diagram is a serial expansion interface and is not equivalent to the 12864 EXP1 / EXP2 interfaces.

InterfacePin
UART InterfacePA10 / PA9 / GND / 5V
Loading...