The pin names of the Fly-407ZG used in the firmware

Fly-407ZG Pinout Diagram

Fly-407ZG Pinout

Fly-407ZG Driver Pins in Firmware

Driver pin numbers. They are separated into driver number.

Pin Type 0 1 2 3 4 5 6 7 8
Enable Pins E.1 G.12 D.7 D.4 D.0 G.8 G.5 G.2 D.9
Step Pins B.9 B.8 A.8 C.7 C.6 D.15 D.14 D.13 D.12
Direction Pins E.0 G.11 D.6 D.3 A.15 G.7 G.4 D.11 D.8
UART Pins G.13 G.10 D.5 D.1 A.14 G.6 G.3 D.10 B.12

Fly-407ZG Other Pins in Firmware

If more than one pin name is availble, either name can be used in the firmware (config.g).
If the pins aren’t in the table (due to not having a special name), then the pin itself can be used in the form of PA0, PA.0, PA_0, A0, A.0 or A_0.

Pin Number Pin Name 1 Pin Name 2 PWM Hardware Timer
A.0 e0temp t0 Timer 2
A.1 fan3   Timer 2
A.2 fan2   Timer 2
A.3 dljc   Timer 2
A.9 TX1    
A.10 RX1    
B.2 LCD_CD    
B.10 BEEP   Timer 2
B.11 fan5   Timer 2
B.13 LCD_SCK    
B.14 LCD_EN   Timer 12
B.15 LCD_MOSI   Timer 8
C.0 e2temp t2  
C.1 e1temp t1  
C.2 xmax xstopmax  
C.3 xmin xstop  
C.4 BTN_EN2    
C.5 BTN_EN1    
C.8 SDD0   Timer 8
C.9 SDD1   Timer 8
C.10 SDD2    
C.11 SDD3    
C.12 SDSCK    
C.13 SDCD    
C.14 z3    
C.15 zmax zstopmax  
D.2 SDCMD    
E.2 bed hbed  
E.3 e5heat he5  
E.4 e4heat he4  
E.5 e3heat he3 Timer 9
E.6 e2heat he2 Timer 9
E.7 LCD_D7    
E.8 LCD)D6    
E.9 LCD_D5    
E.10 LCD_D4    
E.11 servo0    
E.12 LCD_RS    
E.13 fan4    
E.14 LCD_EN    
E.15 BTN_ENC    
F.0 zmin zstop  
F.2 ymin ystop  
F.3 bedtemp tb  
F.1 ymax ystopmax  
F.4 e5temp t5  
F.5 e4temp t4  
F.6 e1heat he1 Timer 10
F.7 e0heat he0 Timer 11
F.8 fan0 fan Timer 13
F.9 fan1   Timer 14
F.10 e3temp t3  
F.11 LCD_SS