-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-20210423_132342.cfg
289 lines (271 loc) · 7.47 KB
/
printer-20210423_132342.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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
# This file contains common pin mappings for Longer LK4 Pro.
# To use this config, the firmware should be compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See docs/Config_Reference.md for a description of parameters.
[include mainsail.cfg]
[stepper_x]
step_pin: PF0
dir_pin: !PF1
enable_pin: !PD7
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PE5
position_endstop: 0
position_max: 235
homing_speed: 50
#stealthchop_threshold: 999999
[stepper_y]
step_pin: PF6
dir_pin: PF7
enable_pin: !PF2
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PJ1
position_endstop: 0
position_max: 235
homing_speed: 50
#stealthchop_threshold: 999999
[stepper_z]
step_pin: PL3
dir_pin: !PL1
enable_pin: !PK0
microsteps: 16
rotation_distance: 8
endstop_pin: ^!PC2
position_min: -1
# Uncomment for BLTouch
endstop_pin: probe:z_virtual_endstop
#position_endstop: 0
position_max: 250
#stealthchop_threshold: 999999
# Uncomment this section for BLTouch
[homing_override]
axes: z
set_position_z: 0.0
gcode:
G90
G0 Z5 F600
G28 X0 Y0
G0 X157.5 Y126.5 F3600
G28 Z0
G0 Z5 F600
[bltouch]
# According this follow mapping :
# https://arduiblog.com/2020/06/22/installation-dun-bltouch-sur-lalfawise-u30-pro/
# & see "Branchement" paragraph & picture
sensor_pin: ^PC2
control_pin: PH4
# If you use this fang : https://www.thingiverse.com/thing:3603067
# you can use this follow values for x & y offset
x_offset: -40
y_offset: -9
# and test this z_offset
z_offset: 1.83
[bed_mesh]
mesh_min: 16,16
mesh_max: 187,219
algorithm: bicubic
probe_count: 10,10
[extruder]
step_pin: PA4
dir_pin: !PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 36.2852
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_cross_section:0.64
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_temp: 0
max_temp: 250
[filament_switch_sensor filament_sensor]
switch_pin: ^!PE4
[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
#control: watermark
min_temp: 0
max_temp: 130
[screws_tilt_adjust]
screw1: 66,18
screw1_name: front left screw
screw2: 235,18
screw2_name: front right screw
screw3: 235,208
screw3_name: rear right screw
screw4: 65,208
screw4_name: rear left screw
horizontal_move_z: 10.
speed: 50.
screw_thread: CW-M3
[fan]
pin: PH6
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
baud: 115200
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[virtual_sdcard]
# for gcode upload
path: ~/gcode_files
[t5uid1]
firmware: dgus_reloaded
update_interval: 1
machine_name: Longer LK4 Pro
[respond]
default_type: echo
[display_status]
[gcode_macro Exit_Print_Status_Display]
gcode:
CLEAR_PAUSE
DGUS_PRINT_END
[gcode_macro Show_Print_Status_Display]
gcode:
CLEAR_PAUSE
DGUS_PRINT_START
[gcode_macro G29]
gcode:
G28
BED_MESH_CALIBRATE
BED_MESH_PROFILE SAVE=p1
G1 X0 Y0 Z5 F4000
[gcode_macro Calculate_Bed_Tilt]
gcode:
SCREWS_TILT_CALCULATE
[gcode_macro Check_Probe_Accuracy]
gcode:
PROBE_ACCURACY
# for display messages in status panel
# Klipper doesn't able to working display at this time
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.067500, -0.015000, -0.055000, -0.047500, -0.047500, -0.077500, -0.050000, -0.022500, -0.022500, -0.027500
#*# 0.045000, 0.027500, -0.012500, -0.020000, -0.015000, -0.020000, -0.047500, 0.025000, -0.002500, 0.025000
#*# 0.045000, -0.037500, -0.052500, -0.097500, -0.117500, -0.105000, -0.095000, -0.115000, -0.127500, -0.140000
#*# -0.107500, -0.157500, -0.190000, -0.172500, -0.190000, -0.222500, -0.182500, -0.202500, -0.150000, -0.167500
#*# -0.092500, -0.157500, -0.145000, -0.140000, -0.182500, -0.175000, -0.177500, -0.167500, -0.125000, -0.142500
#*# -0.155000, -0.207500, -0.212500, -0.242500, -0.252500, -0.277500, -0.237500, -0.305000, -0.252500, -0.272500
#*# -0.180000, -0.232500, -0.247500, -0.240000, -0.242500, -0.205000, -0.230000, -0.192500, -0.147500, -0.145000
#*# -0.142500, -0.197500, -0.215000, -0.227500, -0.197500, -0.250000, -0.217500, -0.215000, -0.137500, -0.212500
#*# -0.110000, -0.202500, -0.217500, -0.207500, -0.260000, -0.240000, -0.292500, -0.232500, -0.207500, -0.215000
#*# -0.012500, -0.045000, -0.092500, -0.085000, -0.042500, -0.062500, -0.020000, -0.010000, 0.050000, 0.060000
#*# tension = 0.2
#*# min_x = 16.0
#*# algo = bicubic
#*# y_count = 10
#*# mesh_y_pps = 2
#*# min_y = 16.0
#*# x_count = 10
#*# max_y = 218.95
#*# mesh_x_pps = 2
#*# max_x = 187.0
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 36.442
#*# pid_ki = 2.892
#*# pid_kd = 114.791
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 68.208
#*# pid_ki = 1.660
#*# pid_kd = 700.840
#*#
#*# [bltouch]
#*#
#*# [t5uid1]
#*# brightness = 100
#*#
#*# [bed_mesh COLD_4X4]
#*# version = 1
#*# points =
#*# 0.247500, 0.117500, 0.132500, 0.205000
#*# 0.107500, -0.005000, -0.027500, 0.000000
#*# 0.037500, -0.070000, -0.070000, 0.020000
#*# 0.247500, 0.132500, 0.132500, 0.195000
#*# tension = 0.2
#*# mesh_x_pps = 2
#*# algo = bicubic
#*# min_x = 16.0
#*# min_y = 16.0
#*# y_count = 4
#*# mesh_y_pps = 2
#*# x_count = 4
#*# max_x = 187.0
#*# max_y = 218.97
#*#
#*# [bed_mesh HOT_4X4]
#*# version = 1
#*# points =
#*# -0.150000, -0.302500, -0.315000, -0.315000
#*# -0.267500, -0.335000, -0.352500, -0.350000
#*# -0.295000, -0.355000, -0.340000, -0.255000
#*# -0.097500, -0.162500, -0.082500, 0.007500
#*# tension = 0.2
#*# min_x = 16.0
#*# algo = bicubic
#*# y_count = 4
#*# mesh_y_pps = 2
#*# min_y = 16.0
#*# x_count = 4
#*# max_y = 218.97
#*# mesh_x_pps = 2
#*# max_x = 187.0
#*#
#*# [bed_mesh t5uid1_mesh_backup]
#*# version = 1
#*# points =
#*# 0.015000, -0.095000, -0.077500, -0.020000
#*# -0.130000, -0.215000, -0.227500, -0.225000
#*# -0.215000, -0.280000, -0.277500, -0.217500
#*# -0.007500, -0.110000, -0.105000, -0.070000
#*# tension = 0.2
#*# mesh_x_pps = 2
#*# algo = bicubic
#*# min_x = 16.0
#*# min_y = 16.0
#*# y_count = 4
#*# mesh_y_pps = 2
#*# x_count = 4
#*# max_x = 187.0
#*# max_y = 218.97
#*#
#*# [bed_mesh HOT_10X10]
#*# version = 1
#*# points =
#*# 0.067500, -0.015000, -0.055000, -0.047500, -0.047500, -0.077500, -0.050000, -0.022500, -0.022500, -0.027500
#*# 0.045000, 0.027500, -0.012500, -0.020000, -0.015000, -0.020000, -0.047500, 0.025000, -0.002500, 0.025000
#*# 0.045000, -0.037500, -0.052500, -0.097500, -0.117500, -0.105000, -0.095000, -0.115000, -0.127500, -0.140000
#*# -0.107500, -0.157500, -0.190000, -0.172500, -0.190000, -0.222500, -0.182500, -0.202500, -0.150000, -0.167500
#*# -0.092500, -0.157500, -0.145000, -0.140000, -0.182500, -0.175000, -0.177500, -0.167500, -0.125000, -0.142500
#*# -0.155000, -0.207500, -0.212500, -0.242500, -0.252500, -0.277500, -0.237500, -0.305000, -0.252500, -0.272500
#*# -0.180000, -0.232500, -0.247500, -0.240000, -0.242500, -0.205000, -0.230000, -0.192500, -0.147500, -0.145000
#*# -0.142500, -0.197500, -0.215000, -0.227500, -0.197500, -0.250000, -0.217500, -0.215000, -0.137500, -0.212500
#*# -0.110000, -0.202500, -0.217500, -0.207500, -0.260000, -0.240000, -0.292500, -0.232500, -0.207500, -0.215000
#*# -0.012500, -0.045000, -0.092500, -0.085000, -0.042500, -0.062500, -0.020000, -0.010000, 0.050000, 0.060000
#*# tension = 0.2
#*# min_x = 16.0
#*# algo = bicubic
#*# y_count = 10
#*# mesh_y_pps = 2
#*# min_y = 16.0
#*# x_count = 10
#*# max_y = 218.95
#*# mesh_x_pps = 2
#*# max_x = 187.0