-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-20230719_175702.cfg
318 lines (262 loc) · 6.68 KB
/
printer-20230719_175702.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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# This file contains pin mappings for the stock 2020 Creality Ender 3
# V2. To use this config, during "make menuconfig" select the
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# See docs/Config_Reference.md for a description of parameters.
[include timelapse.cfg]
[include macros.cfg]
[include startendcancelpause.cfg]
[include tuning.cfg]
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[filament_switch_sensor filament_sensor]
pause_on_runout: True
#runout_gcode:
#insert_gcode:
event_delay: 3.0
pause_delay: 0.5
switch_pin: ^PA7
[save_variables]
filename: ~/variables.cfg
[bltouch]
sensor_pin: ^PB1
control_pin: PB0
#probe_with_touch_mode: True
#sample_retract_dist: 5
samples: 1
samples_tolerance: 0.100
samples_tolerance_retries: 1
#x_offset: -40.3
#y_offset: -9.9
x_offset: -55
y_offset: -19
speed: 10
[safe_z_home]
home_xy_position: 150, 120 # Change coordinates to the center of your print bed
speed: 100
z_hop: 12 # Move up 10mm
z_hop_speed: 10
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 30, 30
mesh_max: 177, 190
probe_count: 7,7
horizontal_move_z: 5
algorithm: bicubic
bicubic_tension: 0.2
fade_start: 1
fade_end: 10
[stepper_x]
step_pin: PB9
dir_pin: PC2
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: 0
position_max: 232
homing_speed: 100
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA6
position_endstop: -9
position_min: -9
position_max: 234
homing_speed: 100
[stepper_z]
step_pin: PB5
dir_pin: !PB6
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
#endstop_pin: ^PA7
#position_endstop: 0.1
position_max: 250
position_min: -2
homing_speed: 40
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PC3
microsteps: 16
rotation_distance: 23.180
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
#control: pid
# tuned for stock hardware with 200 degree Celsius target
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 250
pressure_advance=0.172
#pressure_advance=0.30
#pressure_advance=0.85
#[verify_heater extruder]
#max_error: 150
#check_gain_time: 30
#hysteresis: 5
#heating_gain: 2
#[firmware_retraction]
#retract_length: 2.63
#retract_speed: 30
#unretract_extra_length: .1
#unretract_speed: 10
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
#control: pid
# tuned for stock hardware with 50 degree Celsius target
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[fan]
pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 5000
#max_accel_to_decel: 5000
max_z_velocity: 5
max_z_accel: 100
#[bed_screws]
#screw1: 31,38.5
#screw1_name: front left screw
#screw2: 230,38.5
#screw2_name: front right screw
#screw3: 230,211.5
#screw3_name: rear right screw
#screw4: 31,207.5
#screw4_name: rear left screw
[screws_tilt_adjust]
screw1: 80,48
screw1_name: front left screw
screw2: 232,48
screw2_name: front right screw
screw3: 232,216
screw3_name: rear right screw
screw4: 80,216
screw4_name: rear left screw
horizontal_move_z: 10
speed: 50
screw_thread: CW-M4
[input_shaper]
shaper_freq_x: 45.6 # frequency for the X mark of the test model
shaper_type_x: ei
shaper_freq_y: 43.0
shaper_type_y: mzv
#shaper_freq_y: 43.8
#shaper_type_y: mzv
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
# Enable object exclusion
[exclude_object]
# Enable arcs support
[gcode_arcs]
resolution: 0.1
#[mcu host]
#serial: /tmp/klipper_host_mcu
#[mcu rpi]
#serial: /tmp/klipper_host_mcu
#[adxl345]
#cs_pin: rpi:None
#[resonance_tester]
#accel_chip: adxl345
#probe_points:
# 110, 110, 20
# NOTE: Positive z offsets (Ofrom zup/down) get SUBTRACTED from position_endstop
#BLTOUCH Offset+ +0.75 when quite tight paper test
#OLD z_offset = 4.053
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 28.062
#*# pid_ki = 1.641
#*# pid_kd = 119.966
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 70.954
#*# pid_ki = 1.577
#*# pid_kd = 798.229
#*#
#*# [bltouch]
#*# z_offset = 2.170
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.032500, 0.050000, 0.102500, 0.107500, 0.092500, 0.062500, -0.172500
#*# -0.040000, 0.022500, 0.060000, 0.057500, 0.032500, -0.025000, -0.247500
#*# -0.042500, 0.010000, 0.022500, 0.017500, -0.020000, -0.070000, -0.297500
#*# -0.097500, -0.025000, 0.015000, 0.010000, 0.002500, -0.050000, -0.252500
#*# -0.027500, 0.022500, 0.070000, 0.045000, 0.022500, -0.045000, -0.275000
#*# -0.017500, 0.047500, 0.097500, 0.077500, 0.055000, 0.005000, -0.215000
#*# 0.005000, 0.085000, 0.142500, 0.137500, 0.122500, 0.072500, -0.160000
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 7
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 7
#*# max_y = 189.96
#*# mesh_x_pps = 2
#*# max_x = 177.0
#*#
#*# [bed_mesh finegrained]
#*# version = 1
#*# points =
#*# -0.185000, -0.135000, -0.052500, -0.022500, -0.027500, 0.007500, 0.010000, -0.057500
#*# -0.200000, -0.165000, -0.060000, -0.035000, -0.037500, 0.005000, -0.010000, -0.067500
#*# -0.197500, -0.137500, -0.035000, 0.000000, 0.007500, 0.050000, 0.047500, -0.015000
#*# -0.220000, -0.162500, -0.055000, -0.022500, -0.010000, 0.035000, 0.030000, -0.027500
#*# -0.177500, -0.120000, -0.025000, 0.000000, 0.002500, 0.040000, 0.027500, -0.055000
#*# -0.157500, -0.120000, -0.025000, -0.005000, -0.002500, 0.032500, 0.022500, -0.050000
#*# -0.167500, -0.117500, -0.027500, 0.005000, 0.005000, 0.040000, 0.040000, -0.030000
#*# -0.130000, -0.095000, -0.017500, 0.007500, -0.012500, 0.022500, 0.012500, -0.075000
#*# tension = 0.2
#*# mesh_x_pps = 2
#*# algo = bicubic
#*# min_x = 30.0
#*# min_y = 50.0
#*# y_count = 8
#*# mesh_y_pps = 2
#*# x_count = 8
#*# max_x = 177.0
#*# max_y = 190.0