This repository has been archived by the owner on Nov 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
creality-cr10spro-rext3d.cfg
181 lines (161 loc) · 6.87 KB
/
creality-cr10spro-rext3d.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
# This file contains pin mappings for the Creality CR-10S Pro. To use
# this config, the firmware should be compiled for the AVR atmega2560.
#
# Modified by ReXT3D.
[stepper_x]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^PE5
position_endstop: -1.0 # start the 300mm print surface at 5mm inset from 310mm X-sized bed edge
position_min: -1.0
position_max: 316 # approximately 3mm margin to physical X-movement range of 320mm
homing_speed: 50
homing_retract_speed: 25 # reduced to prevent frame shock
homing_retract_dist: 5
second_homing_speed: 10 # reduced to get better accuracy (not critical)
[stepper_y]
step_pin: PF6
dir_pin: !PF7
enable_pin: !PF2
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^PJ1
position_endstop: -7.0 # start the 300mm print surface at 10mm inset from 320mm Y-sized bed edge (requires correct Y-stop mechanical position adjustment)
position_min: -7.0
position_max: 306 # approximately 2mm margin to physical Y-movement limit of 315mm (requires correct Y-stop mechanical position adjustment)
homing_speed: 50
homing_retract_speed: 25 # reduced to prevent frame shock
homing_retract_dist: 5
second_homing_speed: 10 # reduced to get better accuracy (not critical)
[stepper_z]
step_pin: PL3
dir_pin: !PL1
enable_pin: !PK0
rotation_distance: 8
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: probe:z_virtual_endstop
position_min: -0.75 # negative to allow for z_offset adjustment
position_max: 375 # limit the Z build space to minimise bowden and wire harness rub against the top frame
homing_speed: 2.4 # reduced for better capacitive probe accuracy
homing_retract_speed: 4
homing_retract_dist: 1.6 # this is conservative: we need less, just enough to overcome mechanical backlash and probe hysteresis
second_homing_speed: 0.2 # very slow approach speeds are a MUST, even with a high quality capacitive probe; more so with OEM probe
[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
rotation_distance: 22.857 # this is factory configuration of 140 steps/mm that underextrudes (98 mm instead of 100 mm)
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_only_distance: 500.0
max_extrude_only_velocity: 70.0
max_extrude_only_accel: 1000.0
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
control: pid
pid_Kp = 28.213 # stock Creality hot end with ReXT3D cooling duct @ 50% flow
pid_Ki = 1.774 # stock Creality hot end with ReXT3D cooling duct @ 50% flow
pid_Kd = 112.148 # stock Creality hot end with ReXT3D cooling duct @ 50% flow
min_extrude_temp: 170
min_temp: 5
max_temp: 275
[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
control: pid
pid_Kp = 74.305 # Creality borosilicate glass bed
pid_Ki = 1.242 # Creality borosilicate glass bed
pid_Kd = 1111.784 # Creality borosilicate glass bed
min_temp: 5
max_temp: 140
[fan]
pin: PH6
[mcu]
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AK06VNAB-if00-port0
[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 2500 # based on Klipper ringing test print with MZV shaper
max_z_velocity: 20 # increased to allow faster non printing moves
max_z_accel: 100
[input_shaper]
shaper_freq_x: 31.5 # stock CR-10S Pro with very well assembled and tuned mechanicals
shaper_freq_y: 34.0 # stock CR-10S Pro with very well assembled and tuned mechanicals
shaper_type: mzv
[probe]
pin: PD3
x_offset: -28 # as measured on the printer, the offset is actually 28mm
y_offset: 0
z_offset: 0 # this needs to be adjusted for each printer to achieve correct first layer height
speed: 0.2 # very slow approach speeds are a MUST, even with a high quality capacitive probe; more so with OEM probe
lift_speed: 4.0
samples: 4 # this is excessive, but it satisfies my OCD tendencies
sample_retract_dist: 1.2 # this value is still conservative with a high quality capacitive probe
[safe_z_home]
home_xy_position: 178,150 # this is for 300x300 print surface with 28mm probe to nozzle offset
speed: 80.0
z_hop: 10.0
z_hop_speed: 5.0
[bed_mesh]
speed: 120
horizontal_move_z: 2.6 # reduced to speed things up, still conservative
mesh_min: 12, 12 # this clears edges and clips with 300x300 bed & ReXT3D or factory part cooling duct
mesh_max: 288, 288 # this clears edges and clips with 300x300 bed & ReXT3D or factory part cooling duct
probe_count: 5,5
fade_start: 1
fade_end: 10
[bed_screws]
screw1: 25,30 # exact screw location based on the X&Y endstops defined above
screw2: 275,30 # exact screw location based on the X&Y endstops defined above
screw3: 275,270 # exact screw location based on the X&Y endstops defined above
screw4: 25,270 # exact screw location based on the X&Y endstops defined above
horizontal_move_z: 5
probe_height: 0.2 # use the Creality supplied 0.2mm feeler gauge for manual adjustment to avoid bed damage
speed: 80
probe_speed: 3.2 # can approach faster than bed mesh probing for a coarse manual screw adjustment
[filament_switch_sensor e0_sensor]
switch_pin: PE4
pause_on_runout: False
runout_gcode:
M600
[pause_resume]
[respond]
default_type: echo
[gcode_arcs] # allow use of ArcWelder
resolution: 0.5
[t5uid1]
firmware: dgus_reloaded
update_interval: 1
machine_name: CR-10S Pro
volume: 40
brightness: 50
x_min_inset: 26.0 # 25mm inset from X=0
x_max_inset: 41.0 # 25mm inset from X=300
y_min_inset: 37.0 # 30mm inset from Y=0
y_max_inset: 36.0 # 30mm inset from Y=300
z_min: 0 # avoid accidental bed collisions
z_max: 350 # additional margin for LCD commanded moves
# https://github.com/Desuuuu/klipper-macros
# If you want to use these macros, follow the instructions from the repository
# and uncomment the following lines.
#[save_variables]
#filename: ~/variables.cfg
#
#[delayed_gcode macros_initialize]
#initial_duration: 1
#gcode:
# INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20
# INITIALIZE_VARIABLE VARIABLE=park_y VALUE=290
# INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=400
#
#[include macros/*.cfg]