forked from VoronDesign/VoronUsers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspider_aliases.cfg
218 lines (206 loc) · 7.99 KB
/
spider_aliases.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# This file has been created by MarcPot of the 3D(IY) Printing NL/BE Community Discord server.
# It is based on the SPIDER info page on the Fysetc website at https://wiki.fysetc.com/Spider/
# This file is made to be able to use more clear names in your klipper config for the different pins on the Fysetc SPIDER mcu.
# You can either add it to your printer.cfg or include it by using the klipper [include $PATH_TO_FILE] functionality.
# MCU SPIDER
[board_pins]
aliases =
# Feature
# Spider Pin
# STM32 Pin
# Pin No.
# Comment
# X_MOTOR(1)
X_Step= PE11, #42
X_DIR= PE10, #41
X_EN= PE9, #40
X_CS= PE7, #38
X_PDN= X_CS, #38
X_DIAG= PB14, #53 Share with X_MIN
# Y_MOTOR(2)
Y_Step= PD8, #55
Y_DIR= PB12, #51
Y_EN= PD9, #56
Y_CS= PE15, #46
Y_PDN= Y_CS, #46
Y_DIAG= PB13, #52 Share with Y_MIN
# Z_MOTOR(3)
Z_Step= PD14, #61
Z_DIR= PD13, #60
Z_EN= PD15, #62
Z_CS= PD10, #57
Z_PDN= Z_CS, #57
Z_DIAG= PA0, #23 Share with Z_MIN
# E0_MOTOR(4)
E0_Step= PD5, #86
E0_DIR= PD6, #87
E0_EN= PD4, #85
E0_CS= PD7, #88
E0_PDN= E0_CS, #88
E0_DIAG= PA1, #24 Share with X_MAX
# E1_MOTOR(5)
E1_Step= PE6, #5
E1_DIR= PC13, #7
E1_EN= PE5, #4
E1_CS= PC14, #8
E1_PDN= E1_CS, #8
E1_DIAG= PA2, #25 Share with Y_MAX
# E2_MOTOR(6)
E2_Step= PE2, #1
E2_DIR= PE4, #3
E2_EN= PE3, #2
E2_CS= PC15, #9
E2_PDN= E2_CS, #9
E2_DIAG= PA3, #26 (Probe) Share with Z_MAX
# E3_MOTOR(7)
E3_Step= PD12, #39
E3_DIR= PC4, #33
E3_EN= PE8, #59
E3_CS= PA15, #77
E3_PDN= E3_CS, #77
# E4_MOTOR(8)
E4_Step= PE1, #34
E4_DIR= PE0, #97
E4_EN= PC5, #98
E4_CS= PD11, #58
E4_PDN= E4_CS, #58
# TMC Driver SPI (SPI4)
MOSI= PE14, #45
MISO= PE13, #44
SCK= PE12, #43
# End_stops
X_MIN= X_DIAG, #53 Share with X_DIAG
X_MAX= E0_DIAG, #24 Share with E0_DIAG
Y_MIN= Y_DIAG, #52 Share with Y_DIAG
Y_MAX= E1_DIAG, #25 Share with E1_DIAG
Z_MIN= Z_DIAG, #23 Share with Z_DIAG
Z_MAX= E2_DIAG, #26 (Probe) Share with E2_DIAG
# FAN/RGB
FAN0= PB0, #35
FAN1= PB1, #36
FAN2= PB2, #37 /BOOT1
LED_R= PB6, #92 Can be used for fan3
FAN3= LED_R, #92 Can be used for LED_R
LED_G= PB5, #91 Can be used for fan4
FAN4= LED_G, #91 Can be used for LED_G
LED_B= PB7, #93 Can be used for fan5
FAN5= LED_B, #93 Can be used for LED_B
5V_LED= PD3, #84 Share with flash indicator(Bootloader)
LED_DATA= 5V_LED, #84 Share with flash indicator(Bootloader)
# Heating
HE_E0= PB15, #54
HE_E1= PC8, #65
HE_E2= PB3, #89
HE_BED= PB4, #90
# Temperature
THERM0= PC0, #15 A 4.7kOhm 0.1% temperature sensor pull up resistor is used, PT1000 can be connected directly. For PT100, an amplifier board must be used.
THERM1= PC1, #16 A 4.7kOhm 0.1% temperature sensor pull up resistor is used, PT1000 can be connected directly. For PT100, an amplifier board must be used.
THERM2= PC2, #17 A 4.7kOhm 0.1% temperature sensor pull up resistor is used, PT1000 can be connected directly. For PT100, an amplifier board must be used.
THERM3= PC3, #18 A 4.7kOhm 0.1% temperature sensor pull up resistor is used, PT1000 can be connected directly. For PT100, an amplifier board must be used.
# EEPROM(4K) I2C Pin_Out
SCL= PB8, #95 Connect to 24LC32(4K EEPROM)
SDA= PB9, #96 Connect to 24LC32(4K EEPROM)
# Pi_PWR/UART
TX= PA9, #68 /TX1
RX= PA10, #69 /RX1
# SWD Debug
SWDIO= PA13, #72 only used for debugging now and can be used for other purposes.
SWCLK= PA14, #76 only used for debugging now and can be used for other purposes.
# EXP1 header
# ____________________________
# | | EXP1_1 | | EXP1_2 | |
# | | EXP1_3 | | EXP1_4 | |
# | | EXP1_5 | | EXP1_6 <--
# | | EXP1_7 | | EXP1_8 | |
# | | EXP1_9 | | EXP1_10 | |
# ____________________________
EXP1_10= <5V>,
EXP1_9= <GND>,
EXP1_8= PD1, #82 Share with CAN_TX1 /CAN-TX1
LCD_D7= EXP1_8, #82 Share with CAN_TX1 /CAN-TX1
EXP1_7= PD0, #81 Share with CAN_RX1 /CAN-RX1
LCD_D6= EXP1_7, #81 Share with CAN_RX1 /CAN-RX1
EXP1_6= PC12, #80 /MOSI3/TX5/SDA2
LCD_D5= EXP1_6, #80 /MOSI3/TX5/SDA2
EXP1_5= PC10, #78 /SCK3/TX3/4
LCD_D4= EXP1_5, #78 /SCK3/TX3/4
EXP1_4= PD2, #83 /RX5
LCD_RS= EXP1_4, #83 /RX5
EXP1_3= PC11, #79 /MISO3/RX3/4
LCD_EN= EXP1_3, #79 /MISO3/RX3/4
EXP1_2= PA8, #67 /SCL3
ENC1_C= EXP1_2, #67 /SCL3
EXP1_1= PC9, #66 /SDA3
BEEP= EXP1_1, #66 /SDA3
# EXP2 header
# ____________________________
# | | EXP2_1 | | EXP2_2 | |
# | | EXP2_3 | | EXP2_4 | |
# | | EXP2_5 | | EXP2_6 <--
# | | EXP2_7 | | EXP2_8 | |
# | | EXP2_9 | | EXP2_10 | |
# ____________________________
EXP2_10= <5V>,
EXP2_9= <GND>,
EXP2_8= <NRST>, #14
EXP2_7= PB10, #47 /SCL2
SD_DET= EXP2_7, #47 /SCL2
EXP2_6= PA7, #32 /MOSI1
SD_MOSI= EXP2_6, #32 /MOSI1
EXP2_5= PC7, #64 /RX6
ENC_B= EXP2_5, #64 /RX6
EXP2_4= PA4, #29 /CS1
EXP2_CS= EXP2_4, #29 /CS1
EXP2_3= PC6, #63 /TX6
ENC_A= EXP2_3, #63 /TX6
EXP2_2= PA5, #30 /SCK1
EXP2_SCK= EXP2_2, #30 /SCK1
EXP2_1= PA6, #31 /MISO1
SD_MISO= EXP2_1#, #31 /MISO1
# BTT EXP-MOT Expander
# Only use when using a BTT EXP-MOT Expander and connected correctly
# The SPIDER or BTT EXP-MOT Expander EXP ports have to be turned around 180
#
# Because the SPIDER pinout image and my personal SPIDER didn't correspond, I'll describe my SPIDER EXP ports and my BTT EXP-MOT EXP ports.
#
#_____________________________________________________________________________________________
# After reversing the BTT EXP-MOT ports the port opening was aimed to the outside of the board
# and the EXP1 header was at the V-in/V-out side of the board.
# ____________________________________________________________________________________________
# The spider port opening were aimed at the inside of the board
# and the EXP1 header was at the Thermistor headers side of the board.
# ____________________________________________________________________________________________
# BTT - (Reversed Connector) EXP1 header --> SPIDER - EXP1 header
# _________________________
# | | M3DIAG | | M3RX | |
# | | M2DIAG | | M2RX | |
# | | M1DIAG | | M1RX <--
# | | M3EN | | M2EN | |
# | | GND | | NC | |
# _________________________
# BTT - (Reversed Connector) EXP2 header --> SPIDER - EXP2 header
# _________________________
# | | M3STP | | M3DIR | |
# | | M2STP | | M2DIR | |
# | | M1DIR | | M1STP <--
# | | M1EN | | NC | |
# | | GND | | NC | |
# _________________________
# MOT1_Step= EXP2_6,
# MOT1_DIR= EXP2_5,
# MOT1_EN= EXP2_7,
# MOT1_CS= EXP1_6,
# MOT1_PDN= MOT1_CS,
# MOT1_DIAG= EXP1_5,
# MOT2_Step= EXP2_3,
# MOT2_DIR= EXP2_4,
# MOT2_EN= EXP1_8,
# MOT2_CS= EXP1_4,
# MOT2_PDN= MOT2_CS,
# MOT2_DIAG= EXP1_3,
# MOT3_Step= EXP2_1,
# MOT3_DIR= EXP2_2,
# MOT3_EN= EXP1_7,
# MOT3_CS= EXP1_2,
# MOT3_PDN= MOT3_CS,
# MOT3_DIAG= EXP1_1