Skip to main content

Pinout

Note
  • This page lists the pinout of the FLY-Micro4 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
  • UART/CS is the driver communication pin: when using TMC2209 it serves as UART, when using SPI drivers such as TMC5160 it serves as chip select CS; the same pin is multiplexed.
  • 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...

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, arrange interface 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 port on the main controller. When enabling sensorless homing, configure diag_pin directly according to the table. The corresponding input port will be occupied by the DIAG signal; do not connect mechanical or optical endstops 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-

Heaters

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. The recommended sensor_type configuration is Generic 3950.

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

K-type thermocouples, PT100, etc., require additional conversion 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 outputs, which can be used for servos, fan speed control, etc.:

PinNotes
gpio10Laser
gpio11RGB / Neopixel
gpio19Servo / BLTouch control

BL-Touch

FunctionPin
Servo Signalgpio19
Probe Signalgpio18

RGB

FunctionPin
RGB / Neopixelgpio11
Loading...