配置:
主板:FYSETC SPIDER 2.3
[include SHT42.cfg]
[printer]
kinematics: corexy
max_velocity:1000
max_accel: 50000
max_z_velocity: 5
max_z_accel: 100
[stepper_x]
step_pin: PD8
dir_pin: !PB12
enable_pin: !PD9
microsteps:32
step_pulse_duration:0.000004
#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)
rotation_distance: 40
#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)
full_steps_per_rotation: 200
position_min: 0
position_max: 355
position_endstop: 0
homing_speed: 50
homing_retract_dist: 5
homing_positive_dir: false#true
[stepper_y]
step_pin: PE11
dir_pin: PE10
enable_pin: !PE9
microsteps:32
step_pulse_duration:0.000004
#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)
rotation_distance: 40
#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)
full_steps_per_rotation: 200
position_min: 0
position_max: 357
position_endstop: 0
homing_speed: 70
homing_retract_dist: 5
homing_positive_dir: false#true
endstop_pin: ^PB14
[stepper_z]
step_pin: PE2
dir_pin: PE4
enable_pin: !PE3
microsteps: 16
rotation_distance: 8
homing_retract_dist: 5.0
second_homing_speed: 3.0
#position_endstop:0
homing_speed: 20.0
position_max: 240
position_min: -10
endstop_pin: probe:z_virtual_endstop
[safe_z_home]
home_xy_position: 175,175
z_hop: 20
[probe]
pin:!sht36:PA1
x_offset:0
y_offset:-25
z_offset:3.350
speed:100
samples: 3
samples_result: median
sample_retract_dist: 3.0
#采样公差
samples_tolerance: 0.01
#超公差重试次数
samples_tolerance_retries: 3
[heater_bed]
heater_pin: PA14
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
control: pid#watermark
pid_Kp:66.070
pid_Ki:2.879
pid_Kd:379.078
min_temp: -100
max_temp: 130
[output_pin 排气]
pin: PB2
pwm:true
[mcu]
canbus_uuid:64d1ce178722
canbus_interface:can0
[bed_mesh]
speed:400
horizontal_move_z:5
mesh_min: 20,50
mesh_max: 335,325
probe_count: 5,5
mesh_pps: 2,2
#用于插值网格的算法
algorithm: bicubic
bicubic_tension: 0.2
#开始逐步淘汰调整的Z高度。在开始淡入淡出过程之前,最好先减少几层
fade_start: 1
#可以根据打印表面的弯曲程度来调整此值
fade_end: 5
fade_target: 0
[z_tilt]
z_positions:
-50, 332
175, -48
400, 332
points:
30, 345
175, 55
325, 345
speed:300
horizontal_move_z:20
retries: 3
retry_tolerance: 0.1
[stepper_z1]
step_pin: PD12
dir_pin: !PC4
enable_pin: !PE8
microsteps: 16
rotation_distance: 8
[stepper_z2]
step_pin: PE1
dir_pin: !PE0
enable_pin: !PC5
microsteps: 16
rotation_distance: 8
[idle_timeout]
timeout: 60000
[temperature_sensor orange_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor mcu temp]
sensor_type: temperature_mcu
min_temp: 10
max_temp: 100
[virtual_sdcard]
path: ~/printer_data/gcodes
[display_status]
[pause_resume]
[board_pins]
aliases:
# EXP1 header
EXP1_1=PC9, EXP1_2=PA8,
EXP1_3=PC11, EXP1_4=PD2,
EXP1_5=PC10, EXP1_6=PC12, # Slot in the socket on this side
EXP1_7=PD0, EXP1_8=PD1,
EXP1_9=<GND>, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_2=PA5,
EXP2_3=PC6, EXP2_4=PA4,
EXP2_5=PC7, EXP2_6=PA7, # Slot in the socket on this side
EXP2_7=PB10, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<5V>
# See the sample-lcd.cfg file for definitions of common LCD displays.
##GCODE有风险请自行修改!
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
G28
Z_TILT_ADJUST
G1 Z5 F3000
[gcode_macro PRINT_END]
gcode:
G1 X10 Y10 Z110 F6000
G1 E-2 F3000
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
G91
G1 Z10
G90
M106 S0
M84
[mcu sht36]
canbus_uuid:9180b4e0a8d0
[temperature_sensor FLY-SHT36]
sensor_type: temperature_mcu
sensor_mcu: sht36
min_temp: -50
max_temp: 350
[temperature_sensor 喷头]
sensor_type:ATC Semitec 104GT-2#EPCOS 100K B57560G104F
sensor_pin:sht36:PB0
min_temp: -50
max_temp: 120
[fan]
pin: sht36:PB11
[heater_fan hotend]
pin:sht36:PB10
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
shutdown_speed: 1.0
max_power:1
[extruder]
step_pin: sht36:PB4
dir_pin: sht36:PB3
enable_pin:!sht36:PA15
microsteps: 16
rotation_distance: 21.53
nozzle_diameter: 0.400
filament_diameter: 1.750
gear_ratio:50:17
heater_pin: sht36:PA8
sensor_pin:sht36:PA3
sensor_type:MAX31865
spi_bus: spi1
control: pid
pid_Kp:17.187
pid_Ki:0.868
pid_Kd:85.078
min_temp: -100
max_temp: 350
min_extrude_temp:0
rtd_reference_r: 430
pressure_advance =0.05
[tmc2209 extruder]
uart_pin: sht36:PB5
run_current: 0.650
stealthchop_threshold: 999999
[stepper_x]
endstop_pin: sht36:PA2