-
Notifications
You must be signed in to change notification settings - Fork 0
/
ender3-printer.cfg
263 lines (228 loc) · 5.95 KB
/
ender3-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
[include mainsail.cfg]
[include macros.cfg]
[include Adaptive_Mesh.cfg]
[include Line_Purge.cfg]
[exclude_object]
[gcode_arcs]
resolution: 0.1
#####################################################################
# General Settings
#####################################################################
[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 5000
max_z_velocity: 15
max_z_accel: 100
max_accel_to_decel: 4500
square_corner_velocity: 55
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_29001A000B504B5735313920-if00
[input_shaper]
shaper_freq_x: 44.11 # frequency for the X mark of the test model
shaper_freq_y: 55.55 # frequency for the Y mark of the test model
#####################################################################
# X/Y/Z Stepper Settings
#####################################################################
[stepper_x]
step_pin: PA14
dir_pin: !PA10
enable_pin: !PA13
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC4
position_endstop: 1
position_max: 260
homing_speed: 60
[tmc2209 stepper_x]
uart_pin: PB8
#diag_pin: PC4
run_current: 0.600
stealthchop_threshold: 999999
[stepper_y]
step_pin: PC8
dir_pin: !PA15
enable_pin: !PC14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB0
position_endstop: 1
position_max: 232
homing_speed: 70
[tmc2209 stepper_y]
uart_pin: PC9
#diag_pin: PB0
run_current: 0.707
stealthchop_threshold: 999999
[stepper_z]
step_pin: PD2
dir_pin: !PD4
enable_pin: !PD3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
#position_endstop: 0
position_max: 240
position_min: -6
[tmc2209 stepper_z]
uart_pin: PD0
#diag_pin: PC6
run_current: 0.650
stealthchop_threshold: 999999
[stepper_z1]
step_pin: PB7
dir_pin: !PB6
enable_pin: !PB4
microsteps: 16
rotation_distance: 8
[tmc2209 stepper_z1]
uart_pin: PB5
run_current: 0.650
stealthchop_threshold: 999999
#####################################################################
# Extruder Settings
#####################################################################
[extruder]
step_pin: PD5
dir_pin: PD6
enable_pin: !PB3
microsteps: 16
rotation_distance: 7.6633
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB11 #HE0
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: PA5 #TH0
#control: pid
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 300
pressure_advance: 0.03
max_extrude_only_distance: 100
max_extrude_only_velocity: 300
[tmc2209 extruder]
uart_pin: PD1
run_current: 0.800
stealthchop_threshold: 999999
#####################################################################
# Bed Settings
#####################################################################
[heater_bed]
heater_pin: PB2 #HB
sensor_type: Generic 3950
sensor_pin: PA4 #T0
min_temp: 0
max_temp: 110
[bed_screws]
screw1: 30.5, 37
screw2: 30.5, 207
screw3: 204.5, 207
screw4: 204.5, 37
[bed_mesh]
speed: 230
horizontal_move_z: 5
mesh_min: 12, 12 #!!min and max co-ords are based on the probes location not the nozzle!!
mesh_max: 210,218 #needs to be calibrated for your individual printer
probe_count: 5,5 #this is the number of probing points on X then Y axis
mesh_pps: 2,2
fade_start: 1
fade_end: 10
fade_target: 0
#####################################################################
# MISC CR-Touch/Z-axis settings
#####################################################################
[bltouch]
sensor_pin: ^PA6 # this is unique to your mainboard
control_pin: PA7 #this is unique to your mainboard
x_offset: -50 #this needs to be calibrated
y_offset: -7
samples: 2
speed: 10
stow_on_each_sample: false
#z_offset: 0
[safe_z_home]
home_xy_position: 167.5,124.5 #this should be the center of your bed
speed: 120
z_hop: 10
z_hop_speed: 15
[z_tilt]
# Ender screw edge offsets are 35,35
# z_positions = IRL position of the stepper itself, in nozzle coords so will be off the bed at the back
# points = probe locations = nozzle + probe offset
# stepper X are 30mm off bed edge left & right
# stepper Y is 80 off the back when nozzle at Y=230 = 230+80
z_positions:
-30, 310 ##Stepper Location Z0, as if the nozzle were in the screw
265, 310 ##Stepper Location Z1, as if the nozzle were in the screw
points:
75, 117
260, 117
speed: 100
horizontal_move_z: 8
retries: 20
retry_tolerance: 0.01
#####################################################################
# Sensor Settings
#####################################################################
[temperature_sensor CB1]
sensor_type: temperature_host
min_temp: 10
max_temp: 80
[temperature_sensor MCU]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 70
#####################################################################
# Cooling Settings
#####################################################################
[fan]
pin: PB15
[heater_fan hotend_fan]
pin: PA8
heater: extruder
heater_temp: 32
#####################################################################
# Alias Settings
#####################################################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=PC1, EXP1_3=PC3, EXP1_5=PC0, EXP1_7=PA2, EXP1_9=<GND>,
EXP1_2=PC2, EXP1_4=<RST>, EXP1_6=PA0, EXP1_8=PA1, EXP1_10=<5V>
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bltouch]
#*# z_offset = 1.429
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.152500, -0.130000, -0.087500, -0.061250, -0.007500
#*# -0.005000, -0.036250, -0.052500, -0.067500, -0.052500
#*# -0.052500, -0.065000, -0.065000, -0.060000, -0.030000
#*# 0.015000, 0.003750, 0.010000, 0.025000, 0.052500
#*# x_count = 5
#*# y_count = 4
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 12.0
#*# max_x = 210.0
#*# min_y = 50.29
#*# max_y = 176.41
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.982
#*# pid_ki = 1.730
#*# pid_kd = 57.699
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 71.520
#*# pid_ki = 2.020
#*# pid_kd = 632.953