Pin Distribution
- This page lists the pin distribution of the FLY-Super5 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
UART/CSis the driver communication pin: when using TMC2209, it functions as UART; when using SPI drivers such as TMC5160, it functions as chip selectCS. The same pin is multiplexed.ENis the enable pin, typically active-low (enable_pinwith!prefix) in Klipper configurations.DIAGis the driver diagnostic signal pin. When using sensorless homing, configure the correspondingdiag_pinaccording to the table below.
Driver Pins
The FLY-Super5 provides 5 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | PE14 | PE15 | PB11 | PB10 | PB7 |
| DRIVER1 | PE11 | PE12 | PE13 | PE10 | PC13 |
| DRIVER2 | PE7 | PE8 | PE9 | PA4 | PC7 |
| DRIVER3 | PE4 | PE5 | PC1 | PC0 | PC14 |
| DRIVER4 | PE1 | PE2 | PE3 | PE0 | PC6 |
Before starting, completely power off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, arrange interface cable sequences, or touch terminals while the printer is powered on.
When using sensorless homing, the driver chip outputs a stall detection signal through the DIAG pin, and Klipper needs to read this signal through the corresponding input port. The correspondence between DIAG and endstop ports on this motherboard is as follows:
- DRIVER0–4: DIAG is directly connected to the corresponding endstop input port on the main controller (DRIVERn → endstop port n). There are no DIAG jumper pins on the board, so the DIAG signal is always delivered to the main controller. When enabling sensorless homing, simply configure the corresponding endstop port pin as
diag_pin. Do not connect a physical endstop switch to that endstop port.
After enabling sensorless homing, the corresponding endstop port is occupied by the DIAG signal, and mechanical or optical endstop switches must not be connected simultaneously.
SPI Bus
SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. Configure spi_bus: spi1a in the configuration; there is no need to separately configure MOSI/MISO/SCLK pins:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: Corresponding driver's UART/CS pin
Detailed instructions on software SPI and SPI speed: SPI Configuration Method
Endstops and Probe
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop Port 0 / IO0 | PB7 | DRIVER0 |
| Endstop Port 1 / IO1 | PC13 | DRIVER1 |
| Endstop Port 2 / IO2 | PC7 | DRIVER2 |
| Endstop Port 3 / IO3 | PC14 | DRIVER3 |
| Endstop Port 4 / IO4 | PC6 | DRIVER4 |
| Endstop Port 5 / IO5 | PC15 | - |
| Probe | PC2 | - |
Heating
| Function | Pin |
|---|---|
| Heated Bed Heater | PB0 |
| Heater Port 0 | PD12 |
| Heater Port 1 | PD13 |
Temperature Sensors
| Function | Pin |
|---|---|
| Heated Bed Thermistor | PB1 |
| Thermistor Port 0 | PC4 |
| Thermistor Port 1 | PC5 |
The thermistor ports support NTC thermistors (100K) by default. The recommended sensor_type configuration is Generic 3950.
List of built-in
sensor_typeoptions in Klipper 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
| Function | Pin |
|---|---|
| Fan Port 0 | PA0 |
| Fan Port 1 | PA1 |
| Fan Port 2 | PA2 |
| Fan Port 3 | PA3 |
PWM
The FLY-Super5 provides 2 PWM output channels, which can be used for servos, fan speed control, etc.:
| Pin | Note |
|---|---|
| PB2 | IN / PWM_OUT |
| PE6 | Servo / BLTouch Control |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PE6 |
| Probe Signal | PC2 |