-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
231 lines (203 loc) · 4.95 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
[include mainsail.cfg]
[virtual_sdcard]
path: ~/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
# Support for the Wanhao Duplicator 6 and its clones (eg, Monoprice
# Ultimate). To use this config, the firmware should be compiled for
# the AVR atmega2560.
# See docs/Config_Reference.md for a description of parameters.
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
[resonance_tester]
accel_chip: adxl345
probe_points:
100, 100, 20 # an example
[input_shaper]
shaper_freq_x: 30.6
shaper_type_x: mzv
shaper_freq_y: 52.2
shaper_type_y: ei
[printer]
max_accel: 3000 # should not exceed the estimated max_accel for X and Y axes
[bltouch]
sensor_pin: ^PK7
control_pin: PA7
#z_offset: -1
x_offset: 18
y_offset: -17
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 35, 22
mesh_max: 180, 175
probe_count: 10, 10
mesh_pps: 2, 3
algorithm: bicubic
bicubic_tension: 0.2
[bed_screws]
screw1: 100, 22
screw2: 30, 175
screw3: 170, 175
[safe_z_home]
home_xy_position: 5,22
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5
[stepper_x]
step_pin: PA3
dir_pin: !PA1
enable_pin: !PA5
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PA0
position_endstop: 0
position_max: 200
homing_speed: 50
[stepper_y]
step_pin: PC5
dir_pin: PC4
enable_pin: !PC6
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PA4
position_endstop: 0
position_max: 200
homing_speed: 50
[stepper_z]
step_pin: PC2
dir_pin: !PC1
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
#endstop_pin: ^!PA7 - changed for BLTouch, see below
endstop_pin: probe:z_virtual_endstop # added for BLTouch
#position_endstop: 0.5 - removed for BLTouch
position_max: 175
position_min: -2
homing_speed: 25
[extruder]
step_pin: PL7
dir_pin: !PL6
enable_pin: !PC0
microsteps: 16
# rotation_distance: 33.291 - original non bmg
rotation_distance: 7.650946 # calcuated bmg + pancake
nozzle_diameter: 0.400
filament_diameter: 1.7500
heater_pin: PE4
sensor_type: PT100 INA826
sensor_pin: PK0
#control: pid
#pid_Kp: 26.571
#pid_Ki: 0.927
#pid_Kd: 190.318
min_temp: 0
max_temp: 280
min_extrude_temp: 0
max_extrude_only_distance: 100
pressure_advance: .076
max_extrude_cross_section: 2
max_extrude_only_distance: 500.0
[heater_bed]
heater_pin: PG5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK2
#control: pid
#pid_Kp: 59.593
#pid_Ki: 3.01
#pid_Kd: 294.985
min_temp: 0
max_temp: 110
[fan]
pin: PH4
[mcu]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Mega_2560_85531303930351114242-if00
baud: 115200
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
# Software control for Stepper current
[output_pin stepper_xy_current]
pin: PL5
pwm: True
scale: 2.782
cycle_time: .000030
hardware_pwm: True
value: 1.2
[output_pin stepper_z_current]
pin: PL4
pwm: True
scale: 2.782
cycle_time: .000030
hardware_pwm: True
value: 1.2
[output_pin stepper_e_current]
pin: PL3
pwm: True
scale: 2.782
cycle_time: .000030
hardware_pwm: True
value: 1.0
[display]
lcd_type: ssd1306
reset_pin: PE3
encoder_pins: ^PG1, ^PG0
click_pin: ^!PD2
[output_pin caselight]
pin: PH5
value: 1
pwm: True
[force_move]
enable_force_move: True
[gcode_macro LIGHTS_OFF]
gcode:
SET_PIN PIN=caselight VALUE=0
[gcode_macro LIGHTS_ON]
gcode:
SET_PIN PIN=caselight VALUE=1
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 23.593
#*# pid_ki = 0.811
#*# pid_kd = 171.637
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 63.692
#*# pid_ki = 4.615
#*# pid_kd = 219.738
#*#
#*# [bltouch]
#*# z_offset = 2.855
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.007500, -0.015000, 0.037500, -0.037500, 0.010000, -0.052500, -0.102500, -0.090000, -0.200000, -0.210000
#*# -0.032500, -0.057500, -0.007500, -0.117500, -0.065000, -0.152500, -0.177500, -0.187500, -0.322500, -0.300000
#*# -0.032500, -0.062500, -0.005000, -0.092500, -0.060000, -0.100000, -0.145000, -0.125000, -0.245000, -0.245000
#*# -0.027500, -0.045000, 0.005000, -0.087500, -0.050000, -0.137500, -0.130000, -0.157500, -0.275000, -0.267500
#*# -0.085000, -0.115000, -0.032500, -0.167500, -0.105000, -0.147500, -0.210000, -0.212500, -0.322500, -0.302500
#*# -0.052500, -0.070000, -0.015000, -0.110000, -0.050000, -0.122500, -0.147500, -0.152500, -0.207500, -0.240000
#*# -0.117500, -0.140000, -0.100000, -0.197500, -0.152500, -0.232500, -0.242500, -0.245000, -0.337500, -0.297500
#*# -0.082500, -0.105000, -0.037500, -0.117500, -0.077500, -0.132500, -0.130000, -0.135000, -0.220000, -0.187500
#*# -0.102500, -0.112500, -0.077500, -0.167500, -0.145000, -0.215000, -0.182500, -0.235000, -0.320000, -0.275000
#*# -0.015000, -0.062500, -0.062500, -0.120000, -0.072500, -0.130000, -0.140000, -0.147500, -0.230000, -0.197500
#*# x_count = 10
#*# y_count = 10
#*# mesh_x_pps = 2
#*# mesh_y_pps = 3
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 35.0
#*# max_x = 179.99
#*# min_y = 22.0
#*# max_y = 175.0