-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
233 lines (214 loc) · 5.79 KB
/
printer.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
# 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: 234
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
[homing_override]
axes: z
set_position_z: 0.0
gcode:
G90
G0 Z30 F600
G28 X0 Y0
G0 X157.5 Y126.5 F3600
G28 Z0
G0 Z10 F600
[bltouch]
sensor_pin: ^PC2
control_pin: PH4
x_offset: -40
y_offset: -9
# PETG Z Offset
z_offset: 1.55
[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: 29.2617
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
pressure_advance = 0.42
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_temp: 0
max_temp: 263
[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: 160
max_accel: 2800
#max_accel_to_decel: 2800
max_z_velocity: 5
max_z_accel: 100
[input_shaper]
shaper_freq_x: 73.53
shaper_freq_y: 76.92
[gcode_arcs]
resolution: 0.1
[virtual_sdcard]
# for gcode upload
path: ~/gcode_files
[dgus_display]
type: t5uid1
uart_bus: usart1
implementation: dgus_printer_menu
volume: 50
[respond]
default_type: echo
[display_status]
[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
[gcode_macro action:cancel]
gcode:
CANCEL_PRINT
# 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.102500, 0.065000, 0.050000, 0.057500, 0.087500, 0.120000, 0.132500, 0.167500, 0.205000, 0.207500
#*# 0.100000, 0.070000, 0.077500, 0.090000, 0.135000, 0.140000, 0.175000, 0.220000, 0.257500, 0.310000
#*# 0.100000, 0.075000, 0.057500, 0.075000, 0.067500, 0.100000, 0.137500, 0.172500, 0.220000, 0.212500
#*# 0.045000, 0.022500, 0.000000, 0.017500, 0.047500, 0.065000, 0.027500, 0.155000, 0.217500, 0.167500
#*# 0.010000, -0.002500, 0.022500, 0.012500, 0.047500, 0.067500, 0.097500, 0.150000, 0.185000, 0.235000
#*# 0.025000, -0.017500, -0.030000, -0.012500, 0.027500, 0.017500, 0.057500, 0.095000, 0.125000, 0.180000
#*# 0.042500, 0.045000, 0.000000, 0.010000, 0.045000, 0.067500, 0.107500, 0.140000, 0.192500, 0.245000
#*# 0.005000, -0.025000, 0.015000, 0.020000, 0.037500, 0.055000, 0.100000, 0.165000, 0.237500, 0.290000
#*# 0.005000, 0.027500, 0.042500, 0.045000, 0.080000, 0.080000, 0.172500, 0.192500, 0.250000, 0.302500
#*# 0.205000, 0.160000, 0.165000, 0.175000, 0.235000, 0.240000, 0.305000, 0.337500, 0.407500, 0.485000
#*# 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 = 28.747
#*# pid_ki = 1.696
#*# pid_kd = 121.814
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 68.641
#*# pid_ki = 1.714
#*# pid_kd = 687.270
#*#
#*# [bltouch]
#*#
#*# [t5uid1]
#*# brightness = 100
#*#
#*# [bed_mesh HOT_10X10]
#*# version = 1
#*# points =
#*# 0.107500, 0.067500, 0.042500, 0.055000, 0.012500, 0.025000, 0.000000, 0.025000, 0.060000, 0.067500
#*# 0.150000, 0.132500, 0.075000, 0.075000, 0.070000, 0.082500, 0.082500, 0.075000, 0.077500, 0.127500
#*# 0.145000, 0.100000, 0.062500, 0.050000, 0.015000, 0.040000, 0.007500, 0.007500, 0.012500, -0.005000
#*# 0.047500, -0.007500, -0.010000, -0.035000, -0.072500, -0.047500, -0.035000, -0.070000, 0.005000, -0.027500
#*# 0.042500, 0.012500, -0.007500, -0.027500, -0.012500, 0.000000, 0.030000, 0.012500, 0.067500, 0.060000
#*# 0.025000, -0.035000, -0.055000, -0.067500, -0.077500, -0.087500, -0.055000, -0.085000, -0.077500, -0.037500
#*# -0.017500, -0.042500, -0.062500, -0.080000, -0.055000, -0.050000, -0.030000, -0.022500, 0.032500, 0.067500
#*# 0.027500, -0.022500, 0.015000, -0.010000, 0.022500, 0.005000, 0.055000, 0.020000, 0.077500, 0.130000
#*# 0.060000, 0.035000, -0.007500, -0.017500, -0.007500, -0.022500, 0.007500, -0.022500, 0.010000, 0.050000
#*# 0.147500, 0.135000, 0.127500, 0.137500, 0.127500, 0.157500, 0.170000, 0.187500, 0.227500, 0.287500
#*# 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