blob: 0224851ea4b9ce4c058d97963123456ebcce2d25 (
plain)
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
|
# Klipper configuration for Modix Big60 w/ Duet 2 Wifi
# Dual Volcano hotends, PT100 RTDs, BLtouch
# Klipper should be compiled for SAM4E8E for this printer.
# See docs/Config_Reference.md for a description of parameters.
# Printer configuration
[mcu]
serial: /dev/serial/by-id/usb-Klipper_sam4e8e_1234567890-if00
[printer]
kinematics: cartesian
max_velocity: 160
max_accel: 1000
max_z_velocity: 6
max_z_accel: 120
[gcode_arcs]
resolution: 0.1
[pause_resume]
recover_velocity: 50
# Axis configuration
[stepper_x]
step_pin: PD6
dir_pin: PD11
enable_pin: !PC6
microsteps: 256
rotation_distance: 32
endstop_pin: ^PC14
position_endstop: 0
position_min: 0
position_max: 600
homing_speed: 50
second_homing_speed: 2
homing_retract_dist: 5
[stepper_y]
step_pin: PD7
dir_pin: !PD12
enable_pin: !PC6
microsteps: 256
rotation_distance: 32
endstop_pin: ^PA2
position_endstop: 600
position_min: 0
position_max: 600
homing_speed: 50
second_homing_speed: 2
homing_retract_dist: 5
homing_positive_dir: True
[stepper_z]
step_pin: PD8
dir_pin: !PD13
enable_pin: !PC6
microsteps: 256
rotation_distance: 1.6000
endstop_pin: probe:z_virtual_endstop
position_min: -5
position_max: 660
homing_speed: 2.5
second_homing_speed: 1
homing_retract_dist: 5
[extruder]
step_pin: PD5
dir_pin: PA1
enable_pin: !PC6
microsteps: 256
rotation_distance: 22.9344
gear_ratio: 66:22
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: !PA20
sensor_type: MAX31865
spi_bus: usart0
sensor_pin: PB2
rtd_nominal_r: 100
rtd_reference_r: 400
rtd_num_of_wires: 2
rtd_use_50Hz_filter: True
control: pid
pid_kp: 22.2
pid_ki: 1.08
pid_kd: 114
min_temp: 0
max_temp: 400
[extruder1]
step_pin: PD4
dir_pin: !PD9
enable_pin: !PC6
microsteps: 256
rotation_distance: 22.9344
gear_ratio: 66:22
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: !PA16
sensor_type: MAX31865
spi_bus: usart0
sensor_pin: PC18
rtd_nominal_r: 100
rtd_reference_r: 400
rtd_num_of_wires: 2
rtd_use_50Hz_filter: True
control: pid
pid_kp: 22.2
pid_ki: 1.08
pid_kd: 114
min_temp: 0
max_temp: 400
# Stepper driver configuration
[tmc2660 stepper_x]
cs_pin: PD14
spi_speed: 2000000
spi_bus: usart1
run_current: 1.600
sense_resistor: 0.051
[tmc2660 stepper_y]
cs_pin: PC9
spi_speed: 2000000
spi_bus: usart1
run_current: 1.200
sense_resistor: 0.051
[tmc2660 stepper_z]
cs_pin: PC10
spi_speed: 2000000
spi_bus: usart1
run_current: 2.400
sense_resistor: 0.051
[tmc2660 extruder]
cs_pin: PC17
spi_speed: 2000000
spi_bus: usart1
run_current: 1.200
sense_resistor: 0.051
[tmc2660 extruder1]
cs_pin: PC25
spi_speed: 2000000
spi_bus: usart1
run_current: 1.200
sense_resistor: 0.051
# Fans
[fan]
pin: PC23
# Filament sensors
[filament_switch_sensor e0_sensor]
pause_on_runout: True
switch_pin: PD10
runout_gcode:
PAUSE_PARK
[filament_switch_sensor e1_sensor]
pause_on_runout: True
switch_pin: PC16
runout_gcode:
PAUSE_PARK
# Bed leveling
[bltouch]
sensor_pin: PC1
control_pin: PC3
x_offset: -14
y_offset: 21
z_offset: 2.000
speed: 1
lift_speed: 5
[bed_mesh]
mesh_min: 25, 25
mesh_max: 595, 585
probe_count: 11, 11
speed: 200
horizontal_move_z: 5
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: 0.15
fade_start: 0.5
fade_end: 2.5
relative_reference_index: 60
[bed_screws]
screw1: 0,0
screw1_name: Front Left
screw2: 600,0
screw2_name: Front Right
screw3: 600,600
screw3_name: Rear Right
screw4: 0,600
screw4_name: Rear Left
horizontal_move_z: 5
probe_height: 0
speed: 100
probe_speed: 5
# Safe homing
[safe_z_home]
home_xy_position: 310,305
speed: 100
z_hop: 10
z_hop_speed: 5
move_to_previous: True
# Macros
[gcode_macro T0]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder
SET_GCODE_OFFSET Y=0
[gcode_macro T1]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder1
SET_GCODE_OFFSET Y=-51.5
[gcode_macro PAUSE_PARK]
gcode:
G91
G0 Z5 F120
G90
G0 X50 Y50 F3000
|