forked from Klipper3d/klipper
-
Notifications
You must be signed in to change notification settings - Fork 15
/
printer-anycubic-kobra-2022.cfg
162 lines (143 loc) · 3.01 KB
/
printer-anycubic-kobra-2022.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
# This file contains pin mappings for the Anycubic Kobra
# with HC32F460 . To use this config, during
# "make menuconfig" select the the HC32F460.
# and Trigorilla_Pro_A_V1.0.4
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PA5
dir_pin: PA4
enable_pin: !PC3
microsteps: 32
rotation_distance: 40
position_endstop: -38
position_min:-38
position_max: 229
homing_speed: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: PA15
uart_address: 3
diag_pin: ^PA6
driver_SGTHRS: 50
run_current: 0.6
stealthchop_threshold: 999999
interpolate: True
[stepper_y]
step_pin: PC4
dir_pin: PA7
enable_pin: !PC3
microsteps: 32
rotation_distance: 40
position_endstop: -4
position_min:-4
position_max: 229
homing_speed: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
homing_retract_dist: 0
[tmc2209 stepper_y]
uart_pin: PA15
uart_address: 1
run_current: 0.6
diag_pin: ^PC5
driver_SGTHRS: 80 # 255 is most sensitive value, 0 is least sensitive
stealthchop_threshold: 999999
[probe]
pin: PB8
x_offset: 43.5
y_offset: 4.7
z_offset: 1.5
samples: 5
samples_result: average
samples_tolerance: 0.05
samples_tolerance_retries: 5
sample_retract_dist: 0.5
speed:1
lift_speed:5
[stepper_z]
step_pin: PC7
dir_pin: !PC6
enable_pin: !PC3
microsteps: 256
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_min: -5
position_max: 230
homing_speed: 5
second_homing_speed:1
homing_retract_dist: 2.3
[tmc2209 stepper_z]
uart_pin: PA15
uart_address: 2
run_current: 0.6
diag_pin: ^PA8
driver_SGTHRS: 50 # 255 is most sensitive value, 0 is least sensitive
stealthchop_threshold: 999999
[extruder]
max_extrude_only_distance: 100.0
step_pin: PC14
dir_pin: PC15
enable_pin: !PC3
microsteps: 64
rotation_distance: 8.204
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC1
control: pid
# tuned for stock hardware with 200 degree Celsius target
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
min_extrude_temp: 0
max_temp: 300 #Stock is 250
[firmware_retraction]
retract_length:0.5 #stock is more than 2
retract_speed:20
unretract_extra_length:0
unretract_speed:20
[tmc2208 extruder]
uart_pin: PA15
run_current: 0.7
stealthchop_threshold: 999999
[heater_bed]
heater_pin: PA0
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
control: pid
# tuned for stock hardware with 50 degree Celsius target
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[safe_z_home]
home_xy_position: 70.5, 109.3 # Change coordinates to the center of your print bed
speed: 50
z_hop: 5 # Move up 5mm
z_hop_speed: 10
[bed_mesh]
speed: 50
horizontal_move_z: 2
mesh_min: 19, 19
mesh_max: 210, 210
probe_count: 6, 6
[controller_fan controller_fan]
pin: PA14
fan_speed: 0.7
[heater_fan extruder_fan]
pin: PA13
heater_temp: 65.0
[fan]
pin: PB9
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 4000
max_z_velocity: 20
max_z_accel: 20