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 when using TMC2209, and as chip selectCSwhen using SPI drivers such as TMC5160. The pin is multiplexed for both functions.ENis the enable pin. In Klipper configuration, 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.
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 turn off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, tidy up interface wiring, or touch terminals while the power is on.
The DIAG signals for DRIVER0–4 are independently connected to the main controller. When using sensorless homing, directly configure the diag_pin of the corresponding driver according to the DIAG row in the table above. These DIAG pins do not occupy the standard endstop ports listed above; the standard endstop ports can still be used as mechanical endstops or inputs according to your actual wiring.
SPI Bus
SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus. Simply configure spi_bus: spi1a in the configuration; there is no need to separately configure the MOSI/MISO/SCLK pins:
[tmc5160 stepper_x]
spi_bus: spi1a
cs_pin: UART/CS pin of the corresponding driver
Detailed explanation of software SPI and 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 | - |
Heaters
| Function | Pin |
|---|---|
| Heated Bed Heater | PA0 |
| Heater Port 0 | PA6 |
| Heater Port 1 | PC6 |
Temperature Sensors
| Function | Pin |
|---|---|
| Heated Bed Thermistor | PA3 |
| Thermistor Port 0 | PA4 |
| Thermistor Port 1 | PA1 |
The thermistor ports support NTC thermistors (100K) by default. It is recommended to configure sensor_type as Generic 3950.
List of Klipper's built-in
sensor_typeoptions that can be connected directly 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 | PD15 |
| Fan Port 1 | PD14 |
| Fan Port 2 | PD13 |
| Fan Port 3 | PD12 |
PWM
The FLY-C5 provides 3 PWM outputs, which can be used for servos, fan speed control, etc.:
| Pin | Note |
|---|---|
| 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 |