-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-20220125_073525.cfg
260 lines (226 loc) · 5.39 KB
/
printer-20220125_073525.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
# This file contains common pin mappings for the BIGTREETECH SKR V1.4
# board. To use this config, the firmware should be compiled for the
# LPC1768 or LPC1769(Turbo).
# See docs/Config_Reference.md for a description of parameters.
[include fluidd.cfg]
[include client_macros.cfg]
[include menu.cfg]
[display_status]
[pause_resume]
########################################
# TMC2208 configuration
########################################
[tmc2209 stepper_x]
uart_pin: P1.10
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 250
diag_pin: P1.29
driver_SGTHRS: 128
[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: 300
homing_speed: 50
homing_retract_dist: 0
[tmc2209 stepper_y]
uart_pin: P1.9
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 250
diag_pin: P1.28
driver_SGTHRS: 128
[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: 0
position_max: 300
homing_speed: 50
homing_retract_dist: 0
[tmc2209 stepper_z]
uart_pin: P1.8
run_current: 1.0
hold_current: 0.6
#stealthchop_threshold: 30
diag_pin: P1.27
[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: probe:z_virtual_endstop
#position_endstop: 0
position_max: 400
position_min: -2
homing_speed: 20
homing_positive_dir: false
[tmc2209 extruder]
uart_pin: P1.4
run_current: 0.800
hold_current: 0.500
#stealthchop_threshold: 5
diag_pin: P1.26
driver_SGTHRS: 128
[extruder]
step_pin: P2.13
dir_pin: P0.11
enable_pin: !P2.12
microsteps: 16
gear_ratio: 3:1
pressure_advance: 0.06
rotation_distance: 24.312
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_only_distance: 100
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.24
min_temp: 0
max_temp: 260
[heater_bed]
heater_pin: P2.5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.25
min_temp: 0
max_temp: 130
pwm_cycle_time: 0.0166 ; For flickering lights - 60Hz
#pwm_cycle_time: 0.2 ; 50Hz
# Commented until gcode configured
[filament_switch_sensor my_sensor]
pause_on_runout: True
switch_pin: P1.26
# https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Reference.md#filament_switch_sensor
[fan]
pin: P2.3
[mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1769_0ED0FF09C0846AAF2AC6555EC12000F5-if00
[printer]
kinematics: cartesian
max_velocity: 400
max_accel: 3000
max_z_velocity: 10
max_z_accel: 100
###############################################
## Probing/Mesh
###############################################
[bltouch]
sensor_pin: ^P0.10 #ok
control_pin: P2.0 #ok
#pin_up_touch_mode_reports_triggered: True
x_offset: 46
y_offset: 1
z_offset: 4.125
samples: 3
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.006
samples_tolerance_retries: 3
[safe_z_home]
home_xy_position: 150,150 # Change coordinates to the center of your print bed
speed: 80
z_hop: 10
z_hop_speed: 10
[screws_tilt_adjust]
screw1_name: front left screw
screw1: 0,30
screw2_name: front right screw
screw2: 230,30
screw3_name: rear right screw
screw3: 230,270
screw4_name: rear left screw
screw4: 0,270
horizontal_move_z: 10
speed: 80
screw_thread: CW-M3
#[bed_mesh]
#mesh_min: 56,18
#mesh_max: 230,260
#probe_count: 5,5
#speed: 100
#fade_end: 0.0
#horizontal_move_z: 10
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
########################################
# 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, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
#[display]
#lcd_type: st7920
#cs_pin: ar16
#sclk_pin: PA1
#sid_pin: PC1
#encoder_pins: ^PD2, ^PD3
#click_pin: ^!PC0
## Creality Ender-3 / CR-10 Full Graphic Smart Controller ##
[display]
lcd_type: st7920
cs_pin: P1.19
sclk_pin: P1.21
sid_pin: P1.23
encoder_pins: ^P1.18, ^P1.20
click_pin: !P0.28
#
[output_pin beeper]
pin: P1.30
#[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
# See the sample-lcd.cfg file for definitions of common LCD displays.
[idle_timeout]
#gcode:
# A list of G-Code commands to execute on an idle timeout. See
# docs/Command_Templates.md for G-Code format. The default is to run
# "TURN_OFF_HEATERS" and "M84".
timeout: 1800
# Idle time (in seconds) to wait before running the above G-Code
# commands. The default is 600 seconds.
# Total guess, have yet to test
#[homing_override]
#gcode:
# {SENSORLESS_HOME_X}
# {SENSORLESS_HOME_Y}
#axes: xy
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 32.301
#*# pid_ki = 1.906
#*# pid_kd = 136.875
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 67.753
#*# pid_ki = 0.914
#*# pid_kd = 1255.131