Pinout
- This page lists the pinout of the FLY-C5 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
UART/CSis the driver communication pin: used as UART with TMC2209, used as chip selectCSwith SPI drivers such as TMC5160. The pin is multiplexed for both functions.ENis the enable pin. In Klipper configuration, it is typically active low (prefix theenable_pinwith!).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-C5 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-C5 provides 5 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | PD1 | PD0 | PD3 | PA15 | PC7 |
| DRIVER1 | PD6 | PD5 | PD7 | PD4 | PA8 |
| DRIVER2 | PE1 | PE0 | PE2 | PB7 | PB6 |
| DRIVER3 | PE5 | PE4 | PE6 | PE3 | PC1 |
| DRIVER4 | PC15 | PC14 | PC0 | PC13 | PC2 |
Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, organize interface wiring, or touch terminals while the printer is powered on.
The DIAG signals for DRIVER0–4 are independently connected to the main controller. When using sensorless homing, configure the corresponding driver's diag_pin according to the DIAG row in the table above. These DIAG pins do not occupy the regular endstop ports listed above. The regular endstop ports can still be used as mechanical endstops or inputs based on your actual wiring.
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 the MOSI/MISO/SCLK pins separately:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: UART/CS pin of the corresponding driver
Detailed explanation of software SPI, SPI speed, etc.: SPI Configuration Method
Endstops and Probe
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop port 0 / IO0 | PE9 | - |
| Endstop port 1 / IO1 | PE10 | - |
| Endstop port 2 / IO2 | PE11 | - |
| Endstop port 3 / IO3 | PE12 | - |
| Endstop port 4 / IO4 | PE13 | - |
| Endstop port 5 / IO5 | PE14 | - |
| DIAG | PC7 | DRIVER0 |
| DIAG | PA8 | DRIVER1 |
| DIAG | PB6 | DRIVER2 |
| DIAG | PC1 | DRIVER3 |
| DIAG | PC2 | DRIVER4 |
| Probe | PC5 | - |
For wiring of micro switches, optical endstops, proximity sensors, and TAP, see: Endstop Wiring Guide
Heaters
| Function | Pin |
|---|---|
| Heated Bed | PA0 |
| Heater Port 0 | PA6 |
| Heater Port 1 | PC6 |
Temperature Sensors
| Function | Pin |
|---|---|
| Bed Thermistor | PA3 |
| Thermistor Port 0 | PA4 |
| Thermistor Port 1 | PA1 |
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 | PD15 |
| Fan Port 1 | PD14 |
| Fan Port 2 | PD13 |
| Fan Port 3 | PD12 |
PWM
The FLY-C5 provides 3 PWM output channels, which can be used for servos, fan speed control, etc.:
| Pin | Notes |
|---|---|
| PB0 | Servo / BLTouch control |
| PB10 | RGB / Neopixel |
| PE15 | RGB / Neopixel |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PB0 |
| Probe Signal | PC5 |
RGB
| Function | Pin |
|---|---|
| RGB0 / Neopixel | PB10 |
| RGB1 / Neopixel | PE15 |
Screen / EXP Notes
The FLY-C5 does not provide standard EXP1 / EXP2 12864 pin headers. Please use the board's TFT, FPC HDMI, HDMI, or UART screen interfaces. Do not apply the EXP1 / EXP2 pinout from other motherboards.
| Interface | Pin / Description |
|---|---|
| UART Screen Interface | PA10 / PA9 / GND / 5V |
| TFT Screen Interface | FPC all-in-one interface |
| HDMI Screen Interface | HDMI / FPC HDMI |
Screen Wiring and Configuration: View FLY-C5 Screen Documentation