-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprinter_settings.cfg
175 lines (149 loc) · 4.05 KB
/
printer_settings.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
[exclude_object]
[skew_correction]
[gcode_arcs]
resolution: 0.5
[idle_timeout]
timeout: 432000 #5days
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_momentOS-if00
[mcu EBBCan]
canbus_uuid: a7a2ba8115e0
[adxl345]
cs_pin: EBBCan: PB12
spi_software_sclk_pin: EBBCan:PB10
spi_software_mosi_pin: EBBCan:PB11
spi_software_miso_pin: EBBCan:PB2
[resonance_tester]
accel_chip: adxl345
probe_points:
100, 100, 20
[printer]
kinematics: corexy
max_velocity: 1000
max_accel: 20000
max_z_velocity: 50
max_z_accel: 800
square_corner_velocity: 5
#####################################################################
# Bed
#####################################################################
[heater_bed]
heater_pin: PA5
sensor_type: Generic 3950
sensor_pin: PA0
min_temp: 0
max_temp: 130
#####################################################################
# Filament sensor
#####################################################################
[filament_switch_sensor Runout_Sensor]
switch_pin: !PC2
insert_gcode:
M117 Insert Detected
runout_gcode:
M601
#####################################################################
# Probe
#####################################################################
[probe]
pin: EBBCan:PB9
x_offset: 0
y_offset: 0
#z_offset: Do not touch / 건들지 말 것.
speed: 8
lift_speed: 8
samples: 2
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.01
samples_tolerance_retries: 5
activate_gcode:
{% set PROBE_TEMP = 150 %} # PEI의 유리전이온도(Tg)는 215임.
{% set MAX_TEMP = PROBE_TEMP + 5 %}
{% set ACTUAL_TEMP = printer.extruder.temperature %}
{% set TARGET_TEMP = printer.extruder.target %}
{% if TARGET_TEMP > PROBE_TEMP %}
{ action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
M109 S{ PROBE_TEMP }
{% else %}
{% if ACTUAL_TEMP > MAX_TEMP %}
{ action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
{% endif %}
{% endif %}
[safe_z_home]
home_xy_position: 100, 100
speed: 300
z_hop: 20
# Back
# X(0),Y(MAX)
# |------------------------|
# | | Z2 | |
# | ------ |
# | |
# Left | | Right
# | |
# | |
# | |
# |----- -----|
# | Z0 | | Z1 |
# |------------------------|
# X(0),Y(0) X(MAX),Y(0)
# Front
[z_tilt]
z_positions:
0, 0 #Left Front (Z0)
200, 0 #Right Front (Z2)
100, 200 #Center Back (Z1)
points:
0, 0 #Left Front (Z0)
200, 0 #Right Front (Z2)
100, 200 #Center Back (Z1)
speed: 400
horizontal_move_z: 10
retries: 8
retry_tolerance: 0.03
[gcode_macro Z_TILT_ADJUST]
rename_existing: BASE_Z_TILT_ADJUST
gcode:
MGC
BASE_Z_TILT_ADJUST
[bed_mesh]
speed: 500
horizontal_move_z: 2
mesh_min: 0, 0
mesh_max: 200, 200
mesh_pps: 2, 2
probe_count: 8, 8
fade_start: 1
fade_end: 10
fade_target: 0
algorithm: bicubic
#####################################################################
# PCB Temp Monitoring
#####################################################################
[temperature_sensor Calculator]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor MCU]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[temperature_sensor CanBus]
sensor_type: temperature_mcu
sensor_mcu: EBBCan
min_temp: 0
max_temp: 120
#STM32G0B1 works at 125C. Limited to 120°C for safety reasons.
#####################################################################
# LED
#####################################################################
[neopixel Inner_LED]
pin: PC11
chain_count: 18
color_order: GRBW
initial_RED: 0.5
initial_GREEN: 0.5
initial_BLUE: 0.5
initial_WHITE: 1.0