Pin Mapping
- This page lists the pin mapping of the FLY-Super5 motherboard after flashing the Klipper firmware. Pin numbers are based on the motherboard 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 shared between these functions.ENis the enable pin. In Klipper configurations, it is typically 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.
Interactive Pin Hotspots
The image below uses the FLY-Super5 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.

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-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 turn off the printer and disconnect the power supply. Do not plug or unplug cables, organize wiring, 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, which Klipper must read via the corresponding input port. The mapping between DIAG pins and endstop ports on this motherboard is as follows:
- DRIVER0–4: The DIAG pins are directly connected to the corresponding endstop input ports on the main controller (DRIVERn → Endstop Port n). There are no DIAG jumper pins on the board; the DIAG signal is always sent to the main controller. To enable sensorless homing, simply configure the corresponding endstop port pin as
diag_pin. Do not connect a physical endstop switch to that endstop port.
Once sensorless homing is enabled, the corresponding endstop port is occupied by the DIAG signal and must not be used with a mechanical or optical endstop switch 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 configure MOSI/MISO/SCLK pins separately:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: Corresponding driver's UART/CS pin
Detailed explanation of software SPI, SPI speed, etc.: SPI Configuration Guide
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 | - |
For wiring of micro switches, optical endstops, proximity sensors, and TAP, see: Endstop Wiring Guide
Heaters
| 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, with sensor_type recommended as Generic 3950; they also support 2-wire PT1000, configured by setting sensor_type to PT1000.
List of
sensor_typeoptions 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
| 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 outputs, which can be used for servos, fan speed control, etc.:
| Pin | Remark |
|---|---|
| PB2 | IN / PWM_OUT |
| PE6 | Servo / BLTouch control |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PE6 |
| Probe Signal | PC2 |
EXP Interface
- The EXP header pins are often used for displays like the Mini12864 or other expansion peripherals.
- If a pin is already used for SPI, UART, endstop, fan, or other functions, do not configure it again for EXP peripherals.
EXP1
| Function | Pin |
|---|---|
| EXP1_1 | PA8 |
| EXP1_2 | PA13 |
| EXP1_3 | PA15 |
| EXP1_4 | PA14 |
| EXP1_5 | PD0 |
| EXP1_6 | PD1 |
| EXP1_7 | PD4 |
| EXP1_8 | PD3 |
| EXP1_9 | GND |
| EXP1_10 | 5V |
EXP2
| Function | Pin |
|---|---|
| EXP2_1 | PB4 |
| EXP2_2 | PB3 |
| EXP2_3 | PD7 |
| EXP2_4 | PB6 |
| EXP2_5 | PD6 |
| EXP2_6 | PB5 |
| EXP2_7 | PD5 |
| EXP2_8 | RST |
| EXP2_9 | GND |
| EXP2_10 | 5V |