-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinter.cfg
More file actions
383 lines (338 loc) · 10.7 KB
/
printer.cfg
File metadata and controls
383 lines (338 loc) · 10.7 KB
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
[include macros.cfg]
########################################
### ###
### BTT-Pi MCU ###
### ###
########################################
#[mcu CB1]
#serial: /tmp/klipper_host_mcu
#[adxl345]
#cs_pin: CB1:None
#spi_bus: spidev1.1
#[resonance_tester]
#accel_chip: adxl345
#probe_points:
# 100, 100, 20 # an example
########################################
### ###
### MCU ###
### ###
########################################
[mcu]
serial: /dev/ttyACM0
restart_method: command
########################################
### ###
### Printer ###
### ###
########################################
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 15
max_z_accel: 100
square_corner_velocity: 5
########################################
### ###
### Input shaper ###
### ###
########################################
[input_shaper]
shaper_freq_x: 50
shaper_type: mzv
shaper_freq_y: 40
shaper_type: mzv
########################################
### ###
### virtual_sdcard ###
### ###
########################################
[virtual_sdcard]
path: ~/gcodes
on_error_gcode: CANCEL_PRINT
########################################
### ###
### LED ###
### ###
########################################
[led Top_LED_Stripe]
white_pin: PC2
initial_white: 1.0
[neopixel hotend_led]
pin: PD2
color_order: GRB
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
########################################
### ###
### Stepper's ###
### ###
########################################
[stepper_x]
step_pin: PA8
dir_pin: PC9
enable_pin: !PA15
microsteps: 16
rotation_distance: 40
endstop_pin: !PB9
position_min: 0
position_endstop: 0
position_max: 240
homing_speed: 50
[stepper_y]
step_pin: PC7
dir_pin: PC6
enable_pin: !PC8
microsteps: 16
rotation_distance: 40
endstop_pin: !PB8
position_endstop: 0
position_max: 240
homing_speed: 50
[stepper_z]
step_pin: PB10
dir_pin: !PA4
enable_pin: !PC4
rotation_distance: 8
microsteps: 16
position_min: -1
position_max: 260
endstop_pin: probe:z_virtual_endstop # Use Z- as endstop
#homing_speed: 10.0
########################################
### ###
### Extruder ###
### ###
########################################
[extruder]
max_extrude_only_distance: 100.0
step_pin: PC11
dir_pin: !PC10
enable_pin: !PC12
microsteps: 64
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA6
sensor_type: EPCOS 100K B57560G104F #Generic 3950
sensor_pin: PC5
min_temp: 0
max_temp: 300
min_extrude_temp: 190
# Calibrate E-Steps https://www.klipper3d.org/Rotation_Distance.html#calibrating-rotation_distance-on-extruders
rotation_distance: 17.75
# Calibrate PID: https://www.klipper3d.org/Config_checks.html#calibrate-pid-settings
# - Example: PID_CALIBRATE HEATER=extruder TARGET=230
#control = pid
#pid_kp = 26.434
#pid_ki = 18.357
#pid_kd = 26.434
# Calibrate PA: https://www.klipper3d.org/Pressure_Advance.html
#pressure_advance = 0.08
max_extrude_cross_section: 5
max_extrude_only_distance: 200
########################################
### ###
### Heater Bed ###
### ###
########################################
[heater_bed]
heater_pin: PA7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
max_temp: 100
min_temp: 0
# Calibrate PID: https://www.klipper3d.org/Config_checks.html#calibrate-pid-settings
# - Example: PID_CALIBRATE HEATER=heater_bed TARGET=60
#control = pid
#pid_Kp=69.029
#pid_Ki=0.817
#pid_Kd=1457.378
########################################
### ###
### Temp. Sensor BTT-Pi ###
### ###
########################################
[temperature_sensor BTT-Pi]
sensor_type: temperature_host
#min_temp: 10
#max_temp: 105
########################################
### ###
### Fans ###
### ###
########################################
[heater_fan hotend_fan]
pin: PB1
heater: extruder
heater_temp: 50.0
[fan]
pin: PB0
[temperature_fan Artillery_MCU]
sensor_type: temperature_mcu
pin: PA5
max_temp: 60.0
target_temp: 40.0
min_temp: 0
shutdown_speed: 0.0
kick_start_time: 0.5
off_below: 0.19
max_speed: 1.0
min_speed: 0.0
control: watermark
########################################
### ###
### Filament Sensor ###
### ###
########################################
[filament_switch_sensor filament_sensor]
pause_on_runout: true
switch_pin: PC1
########################################
### ###
### Probe ###
### ###
########################################
[probe]
pin: PC14
x_offset:45.2
y_offset:11.6
speed:5
lift_speed:15
#samples:
#sample_retract_dist:
#samples_result:
#samples_tolerance:
#samples_tolerance_retries:
#[z_tilt] #this is for if/when you decide to run a second driver and separate the right Z motor from the left (and remove the belt)
#z_positions:
#************ not set up yet. if you do set it up, make sure you PR ;) ************
# -25, 0
# 250, 0
# A list of X, Y coordinates (one per line; subsequent lines
# indented) describing the location of each bed "pivot point". The
# "pivot point" is the point where the bed attaches to the given Z
# stepper. It is described using nozzle coordinates (the X, Y position
# of the nozzle if it could move directly above the point). The
# first entry corresponds to stepper_z, the second to stepper_z1,
# the third to stepper_z2, etc. This parameter must be provided.
#points:
# 10,110
# 160,110
# A list of X, Y coordinates (one per line; subsequent lines
# indented) that should be probed during a Z_TILT_ADJUST command.
# Specify coordinates of the nozzle and be sure the probe is above
# the bed at the given nozzle coordinates. This parameter must be
# provided.
#speed: 300
# The speed (in mm/s) of non-probing moves during the calibration.
# The default is 50.
#horizontal_move_z: 8
# The height (in mm) that the head should be commanded to move to
# just prior to starting a probe operation. The default is 5.
#retries: 10
# Number of times to retry if the probed points aren't within
# tolerance.
#retry_tolerance: 0.02
# If retries are enabled then retry if largest and smallest probed
# points differ more than retry_tolerance. Note the smallest unit of
# change here would be a single step. However if you are probing
# more points than steppers then you will likely have a fixed
# minimum value for the range of probed points which you can learn
# by observing command output.
########################################
### ###
### Safe Z-Home ###
### ###
########################################
[safe_z_home]
home_xy_position: 120, 120 # X, Y coordinate (e.g. 100, 100) where the Z homing should be
speed: 300.0
z_hop: 10
z_hop_speed: 15.0
########################################
### ###
### Bed Screw ###
### ###
########################################
[bed_screws]
screw1: 53, 53 #Front left
screw2: 193, 53 #Front right
screw3: 193, 195 #Back right
screw4: 53, 195 #Back left
########################################
### ###
### Stock Bed Mesh ###
### ###
########################################
[bed_mesh]
speed: 80
horizontal_move_z: 6
mesh_min: 46,15
mesh_max: 230,230
probe_count: 10, 10
mesh_pps: 2, 2
fade_start: 1
fade_end: 0
#fade_target:
# The z position in which fade should converge. When this value is
# set to a non-zero value it must be within the range of z-values in
# the mesh. Users that wish to converge to the z homing position
# should set this to 0. Default is the average z value of the mesh.
#split_delta_z: .025
# The amount of Z difference (in mm) along a move that will trigger
# a split. Default is .025.
#move_check_distance: 5.0
# The distance (in mm) along a move to check for split_delta_z.
# This is also the minimum length that a move can be split. Default
# is 5.0.
#mesh_pps: 2, 2
# A comma separated pair of integers X, Y defining the number of
# points per segment to interpolate in the mesh along each axis. A
# "segment" can be defined as the space between each probed point.
# The user may enter a single value which will be applied to both
# axes. Default is 2, 2.
algorithm: bicubic
# The interpolation algorithm to use. May be either "lagrange" or
# "bicubic". This option will not affect 3x3 grids, which are forced
# to use lagrange sampling. Default is lagrange.
#bicubic_tension: .2
# When using the bicubic algorithm the tension parameter above may
# be applied to change the amount of slope interpolated. Larger
# numbers will increase the amount of slope, which results in more
# curvature in the mesh. Default is .2.
#relative_reference_index:
# A point index in the mesh to reference all z values to. Enabling
# this parameter produces a mesh relative to the probed z position
# at the provided index.
#faulty_region_1_min:
#faulty_region_1_max:
# Optional points that define a faulty region. See docs/Bed_Mesh.md
# for details on faulty regions. Up to 99 faulty regions may be added.
# By default no faulty regions are set.
########################################
### ###
### Screw tilt adjust ###
### ###
########################################
[screws_tilt_adjust]
screw1: 7, 38
screw1_name: Front left
screw2: 152, 38
screw2_name: Front right
screw3: 152, 188
screw3_name: Back right
screw4: 7, 188
screw4_name: Back left
horizontal_move_z: 5
speed: 100
screw_thread: CW-M4
########################################
### ###
### Debugging ###
### ###
########################################
[exclude_object]
[pause_resume]
[display_status]