-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprinter.cfg
171 lines (152 loc) · 3.49 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
[include mainsail.cfg]
[include extra_temps.cfg]
[include filament_sensor.cfg]
[include bed_screws.cfg]
[include bltouch.cfg]
[include lcd_pins.cfg]
[include tmc2209.cfg]
[include input_shaper.cfg]
[include host.cfg]
[include macros.cfg]
# This file contains common pin mappings for the BigTreeTech SKR 2.
# To use this config, the firmware should be compiled for the
# STM32F407 with a "32KiB bootloader".
# The "make flash" command does not work on the SKR 2. Instead,
# after running "make", copy the generated "out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the SKR 2
# with that SD card.
# See docs/Config_Reference.md for a description of parameters.
# Note: The initial revision of this board has a flaw that can cause
# damage to itself and other boards. Be sure to verify the board is
# not impacted by this flaw before using it.
[stepper_x]
step_pin: PE2
dir_pin: PE1
enable_pin: !PE3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: 0
position_max: 220
homing_speed: 40
[stepper_y]
step_pin: PD5
dir_pin: !PD4
enable_pin: !PD6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC3
position_endstop: 0
position_max: 220
homing_speed: 40
[stepper_z]
step_pin: PA15
dir_pin: !PA8
enable_pin: !PD1
microsteps: 16
rotation_distance: 8
endstop_pin: ^PC0
#position_endstop: 0
position_max: 200
position_min: -2
homing_speed: 10
[extruder]
step_pin: PD15
dir_pin: !PD14
enable_pin: !PC7
microsteps: 16
gear_ratio: 50:17
rotation_distance: 21.065
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB3
#sensor_type: NTC 100K beta 3950 #if you are using default thermistor
sensor_type: ATC Semitec 104GT-2 #I actually bought E3D
sensor_pin: PA2
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_temp: 0
max_temp: 270
#pressure_advance: 0.88000 #extruder was too noisy
#pressure_advance_smooth_time: 0.040000
max_extrude_only_accel: 400
max_extrude_only_velocity: 80
[verify_heater extruder]
max_error: 256
check_gain_time: 60
#you could use extruder1 pins for an additional fan
#[extruder1]
#step_pin: PD11
#dir_pin: PD10
#enable_pin: !PD13
#heater_pin: PB4
#sensor_pin: PA3
#...
[heater_bed]
heater_pin: PD7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA1
#control: watermark
min_temp: 0
max_temp: 110
[fan]
pin: PB6
[fan_generic enclosure_fan]
pin: PB7
[output_pin LIGHTS]
pin: PB5
[output_pin motor_power]
pin: PC13
value: 1
[printer]
kinematics: cartesian
max_velocity: 150
max_accel: 2000
max_accel_to_decel: 1000
max_z_velocity: 10
max_z_accel: 100
[mcu]
serial: /dev/ttyAMA0
baud: 250000
restart_method: command
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 20.761
#*# pid_ki = 0.829
#*# pid_kd = 130.014
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 74.788
#*# pid_ki = 2.158
#*# pid_kd = 647.848
#*#
#*# [bltouch]
#*# z_offset = 2.000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.000000, -0.052500, -0.037500, -0.042500, -0.062500
#*# 0.037500, -0.007500, -0.000000, -0.007500, -0.015000
#*# 0.035000, -0.002500, 0.000000, 0.007500, 0.010000
#*# -0.017500, -0.050000, -0.050000, -0.055000, -0.060000
#*# -0.162500, -0.167500, -0.150000, -0.155000, -0.162500
#*# tension = 0.2
#*# min_x = 5.0
#*# algo = bicubic
#*# y_count = 5
#*# mesh_y_pps = 3
#*# min_y = 14.0
#*# x_count = 5
#*# max_y = 207.0
#*# mesh_x_pps = 3
#*# max_x = 185.0
#*#
#*# [stepper_z]
#*# position_endstop = -0.200