Skip to main content

Pin Distribution

Note
  • This page lists the pin distribution of the FLY-Gemini V2 motherboard after flashing Klipper firmware. The pin numbers are based on the motherboard schematic.
  • The pins of Gemini V2 and Gemini V3 are not exactly the same. Do not mix the configurations of the two boards.
  • UART/CS is the driver communication pin: when using TMC2209, it serves as UART; when using SPI drivers such as TMC5160, it serves as the chip select CS. The same pin is shared.
  • EN is the enable pin. In Klipper configuration, it is usually active low (with the enable_pin prefixed by !).
Loading...

Driver Pins

The FLY-Gemini V2 provides 4 driver ports:

DriverSTEPDIRENUART/CS
XPC13PC1PB2PB11
YPC14PC4PD2PB9
ZPC15PC5PC12PB8
EPC3PC8PC11PB7
Power Off Operation

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 power is on.

Driver Configuration Reminder
  • enable_pin usually needs to be written in active-low form, such as !PB2, !PD2, !PC12, and !PC11.
  • The sense_resistor for TMC drivers should be based on the actual driver board parameters, not merely copied from the chip model.
  • When using endstopless homing, confirm the DIAG signal according to the actual driver module and endstop port wiring. Do not connect a physical endstop switch to the endstop port occupied by DIAG.

SPI Bus

SPI drivers such as the TMC5160 use the motherboard's hardware SPI bus:

FunctionPin
MOSIPB5
MISOPB4
SCLKPB3
CSCorresponding driver's UART/CS pin

Configuration example:

[tmc5160 stepper_x]
spi_bus: spi3
cs_pin: PB11

Detailed instructions on software SPI and SPI speed: SPI Configuration Method

Endstops and Probe

FunctionPin
X EndstopPA3
Y EndstopPB1
Z EndstopPB10
ProbePA1

Heating

FunctionPin
Extruder HeaterPA0
Heated Bed HeaterPA2

Temperature Sensors

FunctionPin
Extruder TemperaturePC0
Heated Bed TemperaturePC2
Supported Thermistor Types

The thermistor port supports NTC thermistors (100K) by default. It is recommended to configure sensor_type as Generic 3950.

List of built-in sensor_type options in Klipper that can be directly connected and their applicable scenarios: Thermistor Configuration Method

K-type thermocouples, PT100, etc., require additional conversion chips and cannot be directly connected to the thermistor port.

Fans

FunctionPin
Fan Port 0PC6
Fan Port 1PC7

Servo and BL-Touch

FunctionPin
Servo SignalPB0
Probe SignalPA1

EXP Interface

EXP Configuration Reminder
  • The EXP header is commonly used for screens like the Mini12864 or expanded peripherals.
  • If a pin is already occupied by SPI, UART, endstop, fan, or other functions, do not configure it again in the EXP peripherals.

EXP1

FunctionPin
EXP1_1PC9
EXP1_2PB6
EXP1_3PA13
EXP1_4PA10
EXP1_5PA9
EXP1_6PA8
EXP1_7NC
EXP1_8NC
EXP1_9GND
EXP1_105V

EXP2

FunctionPin
EXP2_1PB14
EXP2_2PB13
EXP2_3PA15
EXP2_4PB12
EXP2_5PA14
EXP2_6PB15
EXP2_7PC10
EXP2_8RST
EXP2_9GND
EXP2_10NC

Common Configuration Reminders

  • When connecting to the host via USB, use serial in [mcu].
  • When connecting to the host via CAN, use canbus_uuid in [mcu] and delete or comment out serial.
Loading...