-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
238 lines (207 loc) · 4.88 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
[include macros.cfg]
#####
# from generic-bigtreetech-skr-v1.4.cfg
#####
[stepper_x]
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
microsteps: 16
rotation_distance: 40
#endstop_pin: !P1.29
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_y]
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
microsteps: 16
rotation_distance: 40
#endstop_pin: !P1.28
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: -17
position_min: -17
position_max: 220
homing_speed: 50
[stepper_z]
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
microsteps: 16
rotation_distance: 8
#endstop_pin: !P1.27
#endstop_pin: tmc2209_stepper_z:virtual_endstop
#position_endstop: 0.0
endstop_pin: probe:z_virtual_endstop
position_max: 300
[extruder]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
microsteps: 16
rotation_distance: 7.71
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.24
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_temp: 0
max_temp: 280
#pressure_advance = 0.1075 # 2022/03/23 - blue duramic PETG - nozzle 0.4mm
pressure_advance = 0.08385 # 2022/03/26 - red duramic PETG - nozzle 0.6mm
# tim tmc2209 config
[tmc2209 stepper_x]
uart_pin: P1.10
diag_pin: ^P1.29
driver_SGTHRS: 100
run_current: 0.800
stealthchop_threshold: 999999
[tmc2209 stepper_y]
uart_pin: P1.9
diag_pin: ^P1.28
driver_SGTHRS: 250
# 2022-04-08: this was here before.
#run_current: 0.800
# 2022-04-08: stepperonline 17hs15-1504s-x1
# https://smile.amazon.com/gp/product/B07LCHHQ97/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
# 1.5 * 0.707 = 1.0605, rounded down = 1.0
run_current: 1.0
stealthchop_threshold: 999999
[tmc2209 stepper_z]
uart_pin: P1.8
diag_pin: ^P1.27
driver_SGTHRS: 100
run_current: 0.650
stealthchop_threshold: 999999
[tmc2209 extruder]
uart_pin: P1.4
run_current: 0.800
stealthchop_threshold: 999999
# end tim tmc2209 config
# tim bltouch config
[bltouch]
control_pin: P2.0
sensor_pin: P1.27
x_offset: 47
y_offset: 0
#z_offset: 1.5
[safe_z_home]
home_xy_position: 112, 112
speed: 50
z_hop: 10
z_hop_speed: 5
[bed_mesh]
speed: 120
horizontal_move_z: 5
#mesh_min: 52, 5
#mesh_max: 220, 210
# make room for clips on glass bed
mesh_min: 52, 50
#mesh_max: 220, 185
mesh_max: 220, 165
probe_count: 5, 5
# end tim bltouch config
[heater_bed]
heater_pin: P2.5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.25
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[fan]
pin: P2.3
[mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1769_2380001522813AAFB6326A5CC52000F5-if00
[printer]
kinematics: cartesian
max_velocity: 400
max_accel: 3000
max_z_velocity: 10
max_z_accel: 100
[virtual_sdcard]
path: ~/.octoprint/uploads
[input_shaper]
shaper_freq_x: 38.8
shaper_freq_y: 40.6
shaper_type: mzv
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
# EXP2 header
EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
# Pins EXP2_1, EX9.5P2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
# See the sample-lcd.cfg file for definitions of common LCD displays.
#####
# from sample-lcd.cfg
#####
######################################################################
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
######################################################################
# This section is used for a Creality "12864" display with a single
# ribbon cable between the display's EXP3 plug and the
# micro-controller board's EXP1 connector.
[display]
lcd_type: st7920
cs_pin: EXP1_7
sclk_pin: EXP1_6
sid_pin: EXP1_8
encoder_pins: ^EXP1_5, ^EXP1_3
click_pin: ^!EXP1_2
[output_pin beeper]
pin: EXP1_1
####### settings that change over time...
####### generated by save_config
[extruder]
control = pid
pid_Kp=27.301
pid_Ki=1.264
pid_Kd=147.427
[heater_bed]
control = pid
pid_kp = 74.250
pid_ki = 2.037
pid_kd = 676.603
[bltouch]
# 2022-04-05
#z_offset = 4.2
# 2022-04-29
#z_offset = 4.25
# 2022-05-05
#z_offset = 4.2
# 2022-05-18 -- bltouch probe broke off; missing about 5.3mm
z_offset = 0.97
# 2022-04-03: glass bed
# but it doesn't really matter since I'm running a calibration before every print
[bed_mesh default]
version = 1
points =
0.052500, 0.007500, -0.007500, 0.040000, 0.102500
0.025000, -0.010000, -0.022500, 0.015000, 0.072500
0.005000, -0.040000, -0.072500, -0.075000, 0.045000
-0.012500, -0.030000, -0.052500, -0.052500, 0.057500
-0.050000, -0.075000, -0.090000, -0.027500, 0.047500
tension = 0.2
min_x = 52.0
algo = lagrange
y_count = 5
mesh_y_pps = 2
min_y = 50.0
x_count = 5
max_y = 185.0
mesh_x_pps = 2
max_x = 220.0