-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer.cfg
223 lines (195 loc) · 4.48 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
[exclude_object]
[include macros.cfg]
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 5000
max_z_velocity: 5
max_z_accel: 100
[input_shaper]
shaper_freq_x: 87.8
shaper_type_x: mzv
shaper_freq_y: 41.6
shaper_type_y: mzv
[respond]
default_type: command
[virtual_sdcard]
path: /home/pi/geeetech_data/gcodes # "geeetech_data" is for Ender (comment by Xoneoo)
[gcode_arcs]
#resolution: 1.0
# An arc will be split into segments. Each segment's length will
# equal the resolution in mm set above. Lower values will produce a
# finer arc, but also more work for your machine. Arcs smaller than
# the configured value will become straight lines. The default is
# 1mm.
[pause_resume]
[display_status]
#[force_move]
#enable_force_move: False
# Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
# extended G-Code commands. The default is false.
#####################################
# RaspberryPi #
#####################################
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 90
#keep disabled if RPi GPIOs are not used!
#[mcu pi]
#serial: /tmp/klipper_host_mcu
#[adxl345]
#cs_pin: pi:None
#[resonance_tester]
#accel_chip: adxl345
#probe_points:
# 100, 100, 20 # an example
#####################################
# MCU (Creality 4.2.7 Board) #
#####################################
# See docs/Config_Reference.md for a description of parameters.
[mcu]
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1.2:1.0-port0
restart_method: command
# X-axis config
[stepper_x]
step_pin: PB9
dir_pin: PC2
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: 0
position_max: 246
homing_speed: 50
# Y-axis config
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA6
position_endstop: 0
position_max: 235
homing_speed: 50
# Z-axis config
[stepper_z]
step_pin: PB5
dir_pin: !PB6
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 250
position_min: -7.0
#Extruder config
[extruder]
max_extrude_cross_section: 5
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PC3
microsteps: 16
rotation_distance: 23.880597014925375
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
#control: pid
#pid_Kp: 21.527
#pid_Ki: 1.063
#pid_Kd: 108.982
min_temp: 0
max_temp: 250
gear_ratio:3:1
#heated Bed config
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
#partcooling fan
[fan]
pin: PA0
#bltouch config
[bltouch]
sensor_pin: ^PB1
control_pin: PB0
probe_with_touch_mode: True
pin_up_reports_not_triggered: False
x_offset: -44
y_offset: -9
#z_offset: 0 #2.75 ##je höher die zahl desto näher am bett
samples: 2
sample_retract_dist: 5
#samples_result:
#samples_tolerance:
#samples_tolerance_retries:
samples_result: median
samples_tolerance: 0.080
samples_tolerance_retries: 5
#perform safe z home
[safe_z_home]
home_xy_position: 161.5, 126.5
#home_xy_position: 0,200.0
#home_xy_position: 0,0
speed: 50
z_hop: 10
z_hop_speed: 5
#set_position_z: 0
#bedmesh config
[bed_mesh]
speed: 240
horizontal_move_z: 5
mesh_min: 15, 15
mesh_max: 201, 220
probe_count: 5,5
zero_reference_position: 123, 117.5
[board_pins]
aliases:
EXP1_1=PC6,EXP1_3=PB10,EXP1_5=PB14,EXP1_7=PB12,EXP1_9=<GND>,
EXP1_2=PB2,EXP1_4=PB11,EXP1_6=PB13,EXP1_8=PB15,EXP1_10=<5V>,
PROBE_IN=PB0,PROBE_OUT=PB1,FIL_RUNOUT=PC6
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 70.731
#*# pid_ki = 1.433
#*# pid_kd = 872.641
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 23.637
#*# pid_ki = 1.110
#*# pid_kd = 125.866
#*#
#*# [bltouch]
#*# z_offset = 2.749
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.196250, 0.078750, 0.036250, -0.102500, -0.123750
#*# 0.132500, 0.027500, -0.005000, -0.143750, -0.203750
#*# 0.122500, 0.027500, -0.001250, -0.157500, -0.213750
#*# 0.150000, 0.031250, 0.011250, -0.157500, -0.221250
#*# 0.236250, 0.072500, 0.032500, -0.135000, -0.201250
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 15.0
#*# max_x = 201.0
#*# min_y = 15.0
#*# max_y = 220.0