-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer.cfg
229 lines (201 loc) · 4.24 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
# See docs/Config_Reference.md for a description of parameters.
#[include adxlmcu.cfg]
[include fluidd.cfg]
[include macro.cfg]
[printer]
kinematics: cartesian
max_velocity: 270
max_accel: 8000
#max_accel_to_decel: 3000
max_z_velocity: 50
square_corner_velocity: 5.0
max_z_accel: 250
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[virtual_sdcard]
path: ~/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
[stepper_x]
step_pin: PC2
dir_pin: !PB9
enable_pin: !PC3
microsteps: 64
rotation_distance: 40
endstop_pin: !PA5
position_endstop: -11
position_min: -15
position_max: 230
homing_speed: 50
[stepper_y]
step_pin: PB8
dir_pin: PB7
enable_pin: !PC3
microsteps: 64
rotation_distance: 40
endstop_pin: !PA6
position_endstop: -14
position_min: -14
position_max: 230
homing_speed: 50
[stepper_z]
step_pin: PB6
dir_pin: !PB5
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_min: -3
position_max: 250
homing_speed: 4
second_homing_speed: 1
homing_retract_dist: 2.0
[extruder]
max_extrude_only_distance: 100.0
pressure_advance: 0.0715
step_pin: PB4
dir_pin: PB3
enable_pin: !PC3
microsteps: 16
rotation_distance: 7.58637
nozzle_diameter: 0.600
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
control: pid
# tuned for stock hardware with 200 degree Celsius target
pid_Kp: 27.142
pid_Ki: 1.371
pid_Kd: 134.351
min_temp: 0
max_temp: 260
[heater_bed]
heater_pin: PB2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
# tuned for stock hardware with 70 degree Celsius target
pid_kp: 66.371
pid_ki: 0.846
pid_kd: 1301.702
min_temp: 0
max_temp: 100
[heater_fan hotend_fan]
pin: PC1
max_power: 1.0
shutdown_speed : 0
cycle_time: 0.010
hardware_pwm: false
kick_start_time: 0.100
off_below: 0.0
heater:extruder
heater_temp : 50
fan_speed : 1.0
[fan]
pin: PA0
[bltouch]
sensor_pin: ^PC14
control_pin: PC13
x_offset: -24.0
y_offset: -20
speed: 10
lift_speed: 20
pin_move_time: 0.4
stow_on_each_sample: False
probe_with_touch_mode: True
samples: 3
samples_result: median
samples_tolerance: 0.015
[safe_z_home]
home_xy_position: 134,130
speed: 75
z_hop: 10
z_hop_speed: 5
[bed_mesh]
speed: 50
horizontal_move_z: 5
mesh_min: 5,10 # Need to handle head distance with cr-touch (bl_touch)
mesh_max: 190,200 # Max probe range
probe_count: 5,5
algorithm: bicubic
[output_pin beeper]
pin: PB0
[tmc2209 stepper_x]
uart_pin: PB12
run_current: 0.60
sense_resistor: 0.150
stealthchop_threshold: 0
interpolate: false
[tmc2209 stepper_y]
uart_pin: PB13
run_current: 0.60
sense_resistor: 0.150
stealthchop_threshold: 0
interpolate: false
[tmc2209 stepper_z]
uart_pin: PB14
run_current: 0.8
sense_resistor: 0.150
stealthchop_threshold: 0
interpolate: false
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[temperature_sensor Host]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[pause_resume]
recover_velocity: 25
[display_status]
[respond]
[delayed_gcode DELAYED_PRINTER_OFF]
initial_duration = 0.
gcode =
{% if printer.idle_timeout.state == "Idle" %}
{% if printer["extruder"].temperature > 50 %}
UPDATE_DELAYED_GCODE ID=DELAYED_PRINTER_OFF DURATION=60
{% else %}
# WLED_OFF STRIP=roof
POWER_OFF_PRINTER
{% endif %}
{% else %}
M118 Printer not idle, cancelled PRINTER_OFF.
{% endif %}
[idle_timeout]
gcode:
M84
TURN_OFF_HEATERS
UPDATE_DELAYED_GCODE ID=DELAYED_PRINTER_OFF DURATION=60
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.422500, 0.317500, 0.337500, 0.330000, 0.312500
#*# 0.217500, 0.195000, 0.210000, 0.200000, 0.122500
#*# 0.035000, -0.032500, -0.010000, -0.027500, -0.047500
#*# -0.072500, -0.125000, -0.115000, -0.115000, -0.205000
#*# -0.115000, -0.225000, -0.220000, -0.235000, -0.282500
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 5.0
#*# max_x = 190.0
#*# min_y = 10.0
#*# max_y = 200.0
#*#
#*# [bltouch]
#*# z_offset = 0.900
#*#
#*# [input_shaper]
#*# shaper_type_y = mzv
#*# shaper_freq_y = 38.6
#*# shaper_type_x = 2hump_ei
#*# shaper_freq_x = 50.8