-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathprinter.cfg
325 lines (287 loc) · 5.98 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
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
[include mainsail.cfg]
[include timelapse.cfg]
[include moonraker_obico_macros.cfg]
[include MCU_ID.cfg]
[include Macro.cfg]
[mcu]
serial: /dev/ttyS1
restart_method: command
[mcu rpi]
serial: /tmp/klipper_host_mcu
[exclude_object]
[temperature_sensor mcu_Temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 110
[temperature_sensor Toolhead_Temp]
sensor_type: temperature_mcu
sensor_mcu: extra_mcu
min_temp: 0
max_temp: 110
[temperature_sensor soc]
sensor_type: temperature_host
min_temp: 0
max_temp: 110
[lis2dw hotend]
cs_pin: extra_mcu:PB8
spi_software_sclk_pin: extra_mcu:PB9
spi_software_mosi_pin: extra_mcu:PB12
spi_software_miso_pin: extra_mcu:PA10
axes_map: z,x,y
[lis2dw bed]
cs_pin: rpi:None
spi_bus: spidev1.0
axes_map: x,y,z
[resonance_tester]
accel_chip_x: lis2dw hotend
accel_chip_y: lis2dw bed
probe_points: 110,110,30
accel_per_hz: 100.0
min_freq: 20
max_freq: 50
max_smoothing: 0.25
hz_per_sec: 1
[input_shaper]
damping_ratio_x: 0.001
damping_ratio_y: 0.001
[force_move]
enable_force_move: True
[hx711]
sclk_pin: extra_mcu:PB13
dout_pin: extra_mcu:PB15
single_pin: extra_mcu:PB5
hx711_diff: 0.01 #Trigger sensitivity, the smaller the value, the easier it is to trigger
[smart_effector]
pin: !extra_mcu:PB6
z_offset: -0.15
recovery_time: 0.8
x_offset: 0
y_offset: 0
speed: 3
probe_accel: 10
samples: 2
samples_result: average
sample_retract_dist: 2.0
samples_tolerance: 0.03
samples_tolerance_retries: 10
[stepper_x]
step_pin: PC2
dir_pin: !PC1
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_min: 0
position_endstop: 0
position_max: 220
homing_speed: 50
homing_retract_dist: 0
homing_positive_dir: false
[tmc2209 stepper_x]
uart_pin: PB7
run_current: 1.1
interpolate: True
driver_sgthrs: 95
stealthchop_threshold: 0
diag_pin: ^PC14
[stepper_y]
step_pin: PB4
dir_pin: PB3
enable_pin: !PB6
microsteps: 16
rotation_distance: 40
full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_min: -5
position_endstop: -5
position_max: 232
homing_speed: 50
homing_retract_dist: 0
homing_positive_dir: false
[tmc2209 stepper_y]
uart_pin: PB5
run_current: 1.5
interpolate: True
driver_sgthrs: 100
stealthchop_threshold: 0
diag_pin: ^PC13
[stepper_z]
step_pin: PC10
dir_pin: !PA15
enable_pin: !PD2
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_max: 252
position_min: -5
homing_speed: 3
[tmc2209 stepper_z]
uart_pin: PC11
run_current: 0.7
interpolate: True
stealthchop_threshold: 999999
[stepper_z1]
step_pin: PB14
dir_pin: !PB15
enable_pin: !PB10
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
[tmc2209 stepper_z1]
uart_pin: PB13
run_current: 0.7
interpolate: True
stealthchop_threshold: 999999
[extruder]
step_pin: extra_mcu:PA8
dir_pin: !extra_mcu:PA9
enable_pin: !extra_mcu:PB11
microsteps: 16
rotation_distance: 4.59
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: extra_mcu:PB14
sensor_type: my_thermistor_e
pullup_resistor: 11500
sensor_pin: extra_mcu:PA5
max_power: 1
control : pid
pid_kp : 19.312
pid_ki : 2.264
pid_kd : 41.721
pressure_advance: 0.03
pressure_advance_smooth_time: 0.035
min_temp: -0
max_temp: 315
max_extrude_only_distance:100
min_extrude_temp: 150
[tmc2209 extruder]
uart_pin: extra_mcu:PB10
run_current: 0.6
uart_address: 3
interpolate: True
[thermistor my_thermistor_e]
temperature1: 25
resistance1: 110000
temperature2: 100
resistance2: 7008
temperature3: 220
resistance3: 435
[verify_heater extruder]
max_error: 120
check_gain_time: 120
hysteresis: 10
heating_gain: 2
[heater_bed]
heater_pin: PC9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA1
max_power: 1.0
control: pid
pid_Kp: 68.327
pid_Ki: 1.270
pid_Kd: 944.182
min_temp: 0
max_temp: 120
[verify_heater heater_bed]
max_error: 120
check_gain_time: 120
hysteresis: 10
heating_gain: 2
[fan]
pin: extra_mcu:PB0 #FAN3
max_power: 1.0
tachometer_pin: extra_mcu:PA3
tachometer_ppr: 2
tachometer_poll_interval: 0.00125
[heater_fan hotend_fan]
pin: extra_mcu:PA7 #FAN2
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 45
tachometer_pin: extra_mcu:PA2
tachometer_ppr: 2
tachometer_poll_interval: 0.0015
[controller_fan board_fan]
pin: PA2
fan_speed: 1.0
idle_timeout: 180
heater: heater_bed, extruder
stepper: stepper_x, stepper_y, stepper_z, stepper_z1
[filament_switch_sensor filament_sensor]
pause_on_runout: True
event_delay: 3.0
pause_delay: 0.5
switch_pin: PC8
[homing_override]
gcode:
{% if not 'Z' in params and not 'Y' in params and 'X' in params %}
G28 X
{% elif not 'Z' in params and not 'X' in params and 'Y' in params %}
G28 Y
{% elif not 'Z' in params and 'X' in params and 'Y' in params %}
G28 X
G4 P500
G28 Y
{% elif 'Z' in params and not 'X' in params and not 'Y' in params %}
G28 Z
G90
G0 Z10 F300
{% else %}
G90
G0 Z10 F600
G28 X
G28 Y
G90
G0 X110 Y110 F3000
G28 Z
G90
G0 Z10 F600
{% endif %}
axes: xyz
set_position_z: 0
[z_tilt]
z_positions: 10, 110
210, 110
points: 10, 110
210, 110
speed: 300
horizontal_move_z: 5
retries: 20
retry_tolerance: .03
[bed_mesh]
speed: 250
horizontal_move_z: 5
mesh_min: 10,10
mesh_max: 210,210
probe_count: 5,5
algorithm: bicubic
bicubic_tension: 0.5
adaptive_margin: 5
fade_start: 0.2
fade_end: 10
mesh_pps: 5,5
move_check_distance: 5.0
split_delta_z: .03
[virtual_sdcard]
path: ~/printer_data/gcodes
[printer]
kinematics:cartesian
max_velocity: 600
max_accel: 20000
max_accel_to_decel: 5000
max_z_velocity: 15
max_z_accel: 200
[idle_timeout]
gcode: _IDLE_TIMEOUT
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [input_shaper]
#*# shaper_type_x = mzv
#*# shaper_freq_x = 34.4
#*# shaper_type_y = mzv
#*# shaper_freq_y = 33.0