-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToolhead_T0.cfg
130 lines (120 loc) · 4.33 KB
/
Toolhead_T0.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
# If you are using CAN, define the board info
[mcu SHT36T0]
canbus_uuid: 611d93f043f5 #Mellow Fly SHT36V3 Xol Toolhead PURPLE
# Extruder Example, change as needed. If this is T1, then should be something like extruder1
[extruder]
step_pin: SHT36T0:gpio7
dir_pin: SHT36T0:gpio6
enable_pin: !SHT36T0:gpio14
microsteps: 16
full_steps_per_rotation: 200 # Single-turn pulse number (200 is 1.8 degrees, 400 is 0.9 degrees)
rotation_distance: 22.6614599589641 # Driving pulley circumference mm
## Calibration step value: rotation_distance = <old rotation_distance> * <actual extrusion length> / <requested extrusion length>
gear_ratio: 50:10 # Reduction ratio (Galileo gear ratio 7.5:1 and comment out this line; BMG is 50:17, output shaft in front, input shaft in rear)
nozzle_diameter: 0.400 # Nozzle diameter
filament_diameter: 1.750 # filament diameter
heater_pin: SHT36T0: gpio23 # Extrusion head heating rod control pin setting (e0)
sensor_type: MAX31865 #Generic 3950 #MAX31865 # Sensor model
spi_software_sclk_pin: SHT36T0:gpio2
spi_software_mosi_pin: SHT36T0:gpio3
spi_software_miso_pin: SHT36T0:gpio4
rtd_reference_r: 4300
rtd_nominal_r: 1000
rtd_num_of_wires: 2
sensor_pin: SHT36T0: gpio17 # Extrusion head sensor Pin (T_E0)
max_power: 1.0 # Heating rod PWM maximum output power
min_temp: 0 # Minimum temperature of extruder
max_temp: 300 # Maximum temperature of extruder
min_extrude_temp: 170 # The minimum extrusion temperature of the heating rod (the extruder can only perform extrusion when it reaches this temperature)
pressure_advance: 0.025 # Extruder pressure advance parameter
#pressure_advance_smooth_time:0.040 # Smooth advancement time - the default value is 0.040
#Nozzle temperature PID calibration command: "PID_CALIBRATE HEATER=extruder TARGET=245
control=pid
pid_kp = 15.846
pid_ki = 0.960
pid_kd = 65.364
step_pulse_duration: 0.000004
max_extrude_only_distance: 1400.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
[tmc2209 extruder]
uart_pin: SHT36T0: gpio15
interpolate: False
run_current: 0.65
sense_resistor: 0.110
stealthchop_threshold: 999999 # Silence threshold (if silence is not required, please change the value to 0)
[temperature_sensor SHT36T0]
sensor_type: temperature_mcu
sensor_mcu: SHT36T0
# Change tool number if needed here
[multi_fan T0_partfan]
pin: SHT36T0:gpio21
# Change tool number if needed here
[heater_fan T0_hotend_fan]
pin: SHT36T0:gpio13
# Change extruder tool number if needed here
heater: extruder
heater_temp: 50.0
kick_start_time: 0.5
tachometer_pin:^SHT36T0:gpio16
tachometer_ppr: 2
tachometer_poll_interval: 0.0010 #30/(ppr*rpm)
#Change tool number if needed in the next line, as well ast the last line
[gcode_macro T0]
variable_color: ""
gcode:
SELECT_TOOL T=0
#change the tool numbers to the tool you are configuring, ie T0, T1, etc
[tool T0]
#change this too
tool_number: 0
#if this were T1, then this would be extruder1, etc
extruder: extruder
#Change T0_partfan to tool number
fan: multi_fan T0_partfan
gcode_x_offset: 0
gcode_y_offset: 0
gcode_z_offset: 0
params_type: 'sc'
#This is the path the tool change takes. Shouldn't have to change it. Unless
#you are using a custom dock
params_sc_path: [{'y':9.5 ,'z':8}, {'y':9.5, 'z':2}, {'y':5.5, 'z':0}, {'z':0, 'y':0, 'f':0.5}, {'z':-10, 'y':0}, {'z':-10, 'y':16}]
#These are build specific, its where the tool is sititng in it's dock.
params_park_x: 28.90
params_park_y: 10.0
params_park_z: 340.00
params_safe_y: 95.0
# For InputShaper run per tool and enter the frequency here, the type can not
# be changed currently, so the type will be global and shared
params_input_shaper_freq_x: 60.4
params_input_shaper_freq_y: 37.8
# Change tool number if needed
[tool_probe T0]
pin: ^SHT36T0:gpio22
tool: 0
x_offset: 0 # X axis-sensor relative nozzle offset
y_offset: 0 # Y axis-sensor relative nozzle offset
z_offset: -1.370 # Z axis-sensor relative nozzle offset
# drop_first_result: True # enable is on danger-klipper
speed: 5.0
samples: 3
samples_result: median
sample_retract_dist: 2.0
samples_tolerance: 0.02
samples_tolerance_retries: 3
activate_gcode:
_TAP_PROBE_ACTIVATE HEATER=extruder
[lis2dw T0]
cs_pin: SHT36T0:gpio12
spi_software_sclk_pin: SHT36T0:gpio2
spi_software_mosi_pin: SHT36T0:gpio3
spi_software_miso_pin: SHT36T0:gpio4
axes_map: -y, z, -x
[neopixel T0_LED]
pin: SHT36T0:gpio26
chain_count: 3
color_order: GRBW
initial_RED: 1
initial_GREEN: 1
initial_BLUE: 1
initial_WHITE: 1