Skip to main content

Pin Distribution

Note
  • This page lists the pin distribution of the FLY-Micro4 mainboard after flashing Klipper firmware. Pin numbers are based on the mainboard schematic.
  • UART/CS is the driver communication pin: used as UART with TMC2209, or as chip select CS with SPI drivers such as TMC5160. The same pin is shared for both functions.
  • EN is the enable pin. In Klipper configuration, it is typically active-low (with ! prefix in enable_pin).
  • DIAG is the driver diagnostic signal pin. When using sensorless homing, configure the corresponding diag_pin according to the table below.
Loading...

Interactive Pin Hotspots​

The image below uses the FLY-Micro4 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.

Filter by deviceClick a device type to show only connectors that support it; click again to clear the filter.
FLY-Micro4Motor driversHeatersThermistorsFansEndstopsRGBProbe / servo
FLY-Micro4

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-Micro4 provides 4 driver ports:

DriverSTEPDIRENUART/CSDIAG
DRIVER0gpio6gpio3gpio7gpio9 (address 0)gpio13
DRIVER1gpio1gpio0gpio2gpio9 (address 1)gpio14
DRIVER2gpio26gpio25gpio27gpio9 (address 2)gpio15
DRIVER3gpio23gpio22gpio24gpio9 (address 3)gpio12
Power Off Before Operation

Before starting, completely turn off the printer and disconnect the power supply. Do not plug or unplug wiring harnesses, organize connector wiring, or touch terminals while the power is on.

DIAG and Sensorless Homing

In the table, rows where the Corresponding Driver DIAG is not - indicate that the driver's DIAG signal is connected to the corresponding input pin on the main controller. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input pin will be occupied by the DIAG signal; do not connect mechanical or optical endstop switches to it simultaneously.

Endstops and Probe​

FunctionPinCorresponding Driver DIAG
Endstop port 0 / IO3gpio12DRIVER3
Endstop port 1 / IO2gpio13DRIVER0
Endstop port 2 / IO1gpio14DRIVER1
Endstop port 3 / IO0gpio15DRIVER2
Probe / IO4gpio18-

For wiring of micro switches, optical endstops, proximity sensors, and TAP, see: Endstop Wiring Guide

Heating​

FunctionPin
Heater port 0gpio20
Heater port 1gpio21

Temperature Sensors​

FunctionPin
Thermistor port 0gpio28
Thermistor port 1gpio29
Supported Thermistor Types

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_type options 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​

FunctionPin
Fan port 0gpio16
Fan port 1gpio17

PWM​

The FLY-Micro4 provides 3 PWM output channels, which can be used for servos, fan speed control, etc.:

PinRemarks
gpio10Laser
gpio11RGB / Neopixel
gpio19Servo / BLTouch control

BL-Touch​

FunctionPin
Servo signalgpio19
Probe signalgpio18

RGB​

FunctionPin
RGB / Neopixelgpio11

Display / EXP Notes​

Interface Notes

The FLY-Micro4 does not provide standard EXP1 / EXP2 12864 pin headers. Please use the dedicated interfaces listed on this page for drivers, endstops, BL-Touch, RGB, Laser, etc. Do not apply the EXP1 / EXP2 pin tables from other mainboards.

Loading...