Pinout
- This page lists the pinout of the FLY-Micro4 motherboard after flashing Klipper firmware. Pin numbers are based on the motherboard schematic.
UART/CSis the driver communication pin: when using TMC2209 it serves as UART, when using SPI drivers such as TMC5160 it serves as chip selectCS; 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-Micro4 provides 4 driver ports:
| Driver | STEP | DIR | EN | UART/CS | DIAG |
|---|---|---|---|---|---|
| DRIVER0 | gpio6 | gpio3 | gpio7 | gpio9 (Address 0) | gpio13 |
| DRIVER1 | gpio1 | gpio0 | gpio2 | gpio9 (Address 1) | gpio14 |
| DRIVER2 | gpio26 | gpio25 | gpio27 | gpio9 (Address 2) | gpio15 |
| DRIVER3 | gpio23 | gpio22 | gpio24 | gpio9 (Address 3) | gpio12 |
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.
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
| Function | Pin | Corresponding Driver DIAG |
|---|---|---|
| Endstop Port 0 / IO3 | gpio12 | DRIVER3 |
| Endstop Port 1 / IO2 | gpio13 | DRIVER0 |
| Endstop Port 2 / IO1 | gpio14 | DRIVER1 |
| Endstop Port 3 / IO0 | gpio15 | DRIVER2 |
| Probe / IO4 | gpio18 | - |
Heaters
| Function | Pin |
|---|---|
| Heater Port 0 | gpio20 |
| Heater Port 1 | gpio21 |
Temperature Sensors
| Function | Pin |
|---|---|
| Thermistor Port 0 | gpio28 |
| Thermistor Port 1 | gpio29 |
The thermistor ports support NTC thermistors (100K) by default. The recommended sensor_type configuration is Generic 3950.
List of built-in
sensor_typeoptions 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
| Function | Pin |
|---|---|
| Fan Port 0 | gpio16 |
| Fan Port 1 | gpio17 |
PWM
The FLY-Micro4 provides 3 PWM outputs, which can be used for servos, fan speed control, etc.:
| Pin | Notes |
|---|---|
| gpio10 | Laser |
| gpio11 | RGB / Neopixel |
| gpio19 | Servo / BLTouch control |
BL-Touch
| Function | Pin |
|---|---|
| Servo Signal | gpio19 |
| Probe Signal | gpio18 |
RGB
| Function | Pin |
|---|---|
| RGB / Neopixel | gpio11 |