Pinout
- This page lists the pinout of the FLY-E3 V2 mainboard after flashing Klipper firmware. Pin numbers are based on the mainboard schematic.
UART/CSis the driver communication pin: used as UART with TMC2209, or as chip selectCSwith SPI drivers such as TMC5160. The same pin is multiplexed.ENis the enable pin. In Klipper configuration, it is typically active low (with!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-E3 V2 provides 5 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | PE5 | PC0 | PC1 | PC15 | PE7 |
| DRIVER1 | PE4 | PC13 | PC14 | PB6 | PE8 |
| DRIVER2 | PE1 | PB7 | PE3 | PD7 | PE9 |
| DRIVER3 | PE2 | PD5 | PD6 | PD4 | NC |
| DRIVER4 | PE0 | PD1 | PD3 | PD0 | NC |
Before starting, completely shut down the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, rearrange interface cable routing, or touch terminals while the power is on.
When using sensorless homing for homing, the driver chip outputs a stall detection signal through the DIAG pin, and Klipper needs to read this signal via the corresponding input port. The correspondence between DIAG and endstop ports on this mainboard is as follows:
- DRIVER0–2: The DIAG signal 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, and the DIAG signal is always sent 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. - DRIVER3 / DRIVER4: The DIAG signal is not routed to the endstop ports, so sensorless homing cannot be configured according to the table.
Once sensorless homing is enabled, the corresponding endstop port is occupied by the DIAG signal. Do not connect mechanical or optical endstop switches to it simultaneously.
SPI Bus
SPI drivers such as the TMC5160 use the mainboard's hardware SPI bus. Simply configure spi_bus: spi3 in the configuration; no need to configure MOSI/MISO/SCLK pins separately:
[tmc5160 stepper_x]
spi_bus: spi3
cs_pin: corresponding driver's UART/CS pin
Detailed explanation of software SPI and SPI speed, etc.:SPI Configuration Guide
Endstops and Probe
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop Port 0 / IO0 | PE7 | DRIVER0 |
| Endstop Port 1 / IO1 | PE8 | DRIVER1 |
| Endstop Port 2 / IO2 | PE9 | DRIVER2 |
| Probe | PC2 | - |
Heating
| Function | Pin |
|---|---|
| Heater Port 0 | PC6 |
| Heater Port 1 | PC7 |
| Heater Port 2 | PB0 |
Temperature Sensors
| Function | Pin |
|---|---|
| Thermistor Port 0 | PC4 |
| Thermistor Port 1 | PB1 |
The thermistor ports support NTC thermistors (100K) by default. It is recommended to configure sensor_type as Generic 3950.
List of built-in
sensor_typeoptions directly supported by Klipper and their applicable scenarios:Thermistor Configuration Guide
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-E3 V2 provides 1 PWM output, which can be used for servos, fan speed control, etc.:
| Pin | Remarks |
|---|---|
| PE6 | Servo / BLTouch control |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | PE6 |
| Probe Signal | PC2 |