-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
269 lines (229 loc) · 5.2 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
# This file contains common pin mappings for the BigTreeTech Octopus Pro V1.1 for the TV06.
# See docs/Config_Reference.md for a description of parameters.
[include osskc.cfg]
[force_move]
enable_force_move: True
[mcu]
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_12345-if00
restart_method: command
##--------------------------------------------------------------------
[virtual_sdcard]
path: /home/pi/printer_2_data/gcodes
on_error_gcode: CANCEL_PRINT
[printer]
kinematics: corexy
max_velocity: 500
max_accel: 20000
max_z_velocity: 15
max_z_accel: 100
square_corner_velocity: 10.0
[pause_resume]
recover_velocity: 250
[gcode_arcs]
resolution: 0.1
[input_shaper]
#####################################################################
# X/Y Stepper Settings
#####################################################################
# Motor A
# Driver0
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
microsteps: 32
rotation_distance: 60
full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 228
position_min: 0
position_max: 228
homing_speed: 50
homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: PC4
run_current: 0.900
stealthchop_threshold: 999999
interpolate: True
sense_resistor: 0.075
driver_SGTHRS: 70
diag_pin: ^PG6
# Motor B
# Driver1
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
microsteps: 32
rotation_distance: 60
full_steps_per_rotation: 200
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 237
position_min: 0
position_max: 237
homing_speed: 50
homing_retract_dist: 0
[tmc2209 stepper_y]
uart_pin: PD11
run_current: 0.900
stealthchop_threshold: 999999
interpolate: True
sense_resistor: 0.075
driver_SGTHRS: 70
diag_pin: ^PG9
#####################################################################
# Z Stepper Settings
#####################################################################
# Z0
# Driver2
[stepper_z]
step_pin: PF11
dir_pin: !PG3
enable_pin: !PG5
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
# position_endstop: 0.5
position_min: -5
position_max: 240
homing_speed: 5
[tmc2209 stepper_z]
uart_pin: PC6
run_current: 0.500
stealthchop_threshold: 0
interpolate: True
sense_resistor: 0.150
diag_pin: ^PG10
# Z1
# Driver3
[stepper_z1]
step_pin: PG4
dir_pin: !PC1
enable_pin: !PA2
microsteps: 16
rotation_distance: 4
[tmc2209 stepper_z1]
uart_pin: PC7
run_current: 0.500
stealthchop_threshold: 0
interpolate: True
sense_resistor: 0.150
diag_pin: ^PG11
#####################################################################
# Extruder
#####################################################################
# Extruder 0
# Driver4
[extruder]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
microsteps: 128
rotation_distance: 4.65
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA0 # HE0
sensor_pin: PF4 # T0
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_kd: 86.991
pid_kp: 21.479
pid_ki: 1.326
min_temp: 0
max_temp: 300
max_extrude_only_distance: 150.0
max_extrude_cross_section: 5
[tmc2209 extruder]
uart_pin: PF2
run_current: 0.550
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
[filament_switch_sensor E0]
switch_pin: PG12
pause_on_runout: True
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: PA1
sensor_pin: PF3 # TB
sensor_type: Generic 3950
control: pid
pid_kp: 64.440
pid_ki: 0.773
pid_kd: 1343.571
min_temp: 0
max_temp: 130
#####################################################################
# Fan Control
#####################################################################
# Part Cooling Fan - FAN0
[fan]
pin: PA8
kick_start_time: 0.5
# Hotend Fan - FAN1
[heater_fan hotend_fan]
pin: PE5
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 40.0
# Nevermore - FAN 2
[fan_generic Nevermore]
pin: PD12
# Skirt Left Fan - FAN3
[fan_generic Skirt_Left]
pin: PD13
# Skirt Right Fan - FAN4
[fan_generic Skirt_Right]
pin: PD14
# Board Fans - FAN5
[fan_generic Board]
pin: PD15
max_power: .5
#####################################################################
# LED Control
#####################################################################
[neopixel Enclosure_Light]
pin: PB10
#####################################################################
# Probe
#####################################################################
# Servo Klicky Probe Dock
[servo klicky_servo]
pin: PG15
maximum_servo_angle: 110
minimum_pulse_width: 0.00025
maximum_pulse_width: 0.0024
initial_angle: 0
# Klicky Probe
[probe]
pin: ^PG14
x_offset: -2.53
y_offset: 17.32
z_offset: 13.25
speed: 5
samples:3
samples_result: median
sample_retract_dist: 2.0
samples_tolerance: 0.01
samples_tolerance_retries: 3
[bed_mesh]
speed: 300
horizontal_move_z: 10
mesh_min: 0, 13
mesh_max: 228, 237
probe_count: 9, 9
algorithm: bicubic
#[safe_z_home]
#home_xy_position: 114, 135
#speed: 100.0
#z_hop: 10
#z_hop_speed: 15
#####################################################################
# Orca-Slicer
#####################################################################
# Enable object exclusion
[exclude_object]