klipper 中的config.cfg
是非常重要的,网上有一些配置模板,这里做一些对比与分析。
- Spider 主板提供的
config.cfg
- 葵花宝典之蜘蛛 VORON 中的
config.cfg
差异分析
Z Stepper Settings
这个做完 4 轴调平后,会自动生成
tmc2209 stepper_z
extruder
挤出机发热比较严重,默认已经通过run_current =0.5
降低了电流。
rotation_distance
heater_bed
把热床的功耗调高了,加快升温速度
probe
调整开关方向,不同机器,具体不同。
stealthburner_leds
bed_mesh
这个是追加的
my_delayed_gcode
G32
PRINT_END
CANCEL_PRINT
[gcode_macro CANCEL_PRINT]rename_existing: BASE_CANCEL_PRINTgcode: TURN_OFF_HEATERS CLEAR_PAUSE SDCARD_RESET_FILE BASE_CANCEL_PRINT
virtual_sdcard
新增
## Virtual SD Card # 虚拟SD卡[virtual_sdcard] # 启用虚拟SD卡path: /home/klipper/printer_data/gcodes # 设定octoprint上传目录为虚拟SD卡根目录
pause_resume
新增
# Pause/Resume Functionality[pause_resume]
QUAD_GANTRY_LEVEL
重构
[gcode_macro QUAD_GANTRY_LEVEL]rename_existing: QUAD_GANTRY_LEVEL_ORIGINALgcode: STATUS_LEVELING #M401 QUAD_GANTRY_LEVEL_ORIGINAL #M402 STATUS_READY
附录:
printer.cfg
# This file contains common pin mappings for the Fysetc Spider board.# To use this config, the firmware should be compiled for the STM32F446.# When calling "menuconfig", enable "extra low-level configuration setup"# and select the "12MHz crystal" as clock reference# For flashing, write the compiled klipper.bin to memory location 0x08000000 # See docs/Config_Reference.md for a description of parameters. ### 5.Voron Design VORON2 250/300/350mm Spider TMC2209 UART config ### 5.*** THINGS TO CHANGE/CHECK: ***### 5.MCU paths [mcu] section### 5.Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file### 5.Z Endstop Switch location [safe_z_home] section### 5.Homing end position [gcode_macro G32] section### 5.Z Endstop Switch offset for Z0 [stepper_z] section### 5.Probe points [quad_gantry_level] section### 5.Min & Max gantry corner postions [quad_gantry_level] section### 5.PID tune [extruder] and [heater_bed] sections### 5.Fine tune E steps [extruder] section [mcu]### 5.Uncomment below if you're using the Raspberry uart0 to communicate with Spider#restart_method: command ### 5. You need to select 'Communication interface' to USB in 'make menuconfig'### 5. when you compile Klipper for Spider## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify##--------------------------------------------------------------------serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_230032000851363131363530-if00## If you want to use the Raspberry uart0 to communicate with Spider,### 5. you need to select 'Communication interface' to 'Serial (on USART1 PA10/PA9)'### 5. in 'make menuconfig' when you compile klipper and set the serial as below##--------------------------------------------------------------------#serial: /dev/ttyAMA0##-------------------------------------------------------------------- [printer]kinematics: corexymax_velocity: 300max_accel: 3000 #Max 4000max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24Vmax_z_accel: 350square_corner_velocity: 5.0 ##################################################### X/Y Stepper Settings#################################################### [stepper_x]## Connected to X-MOT (B Motor)step_pin: PE11dir_pin: !PE10enable_pin: !PE9rotation_distance: 40microsteps: 16full_steps_per_rotation:200 #set to 400 for 0.9 degree stepperendstop_pin: ^PB14position_min: 0 ##-------------------------------------------------------------------- ## Uncomment below for 250mm build#position_endstop: 250#position_max: 250 ## Uncomment for 300mm build#position_endstop: 300#position_max: 300 ## Uncomment for 350mm build#position_endstop: 350#position_max: 350 ##--------------------------------------------------------------------homing_speed: 25 #Max 100homing_retract_dist: 5homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 stepper_x]uart_pin: PE7interpolate: Truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 [stepper_y]## Connected to Y-MOT (A Motor)step_pin: PD8dir_pin: !PB12enable_pin: !PD9rotation_distance: 40microsteps: 16full_steps_per_rotation:200 #set to 400 for 0.9 degree stepperendstop_pin: ^PB13position_min: 0##-------------------------------------------------------------------- ## Uncomment for 250mm build#position_endstop: 250#position_max: 250 ## Uncomment for 300mm build#position_endstop: 300#position_max: 300 ## Uncomment for 350mm build#position_endstop: 350#position_max: 350 ##--------------------------------------------------------------------homing_speed: 25 #Max 100homing_retract_dist: 5homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 stepper_y]uart_pin: PE15interpolate: Truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 ##################################################### Z Stepper Settings#################################################### ### 5.In Z-MOT Position### 5.Z0 Stepper - Front Left[stepper_z]step_pin: PD14dir_pin: !PD13enable_pin: !PD15rotation_distance: 40gear_ratio: 80:16microsteps: 16### 5. In Z- Positionendstop_pin: ^PA0### 5. Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)### 5. (+) value = endstop above Z0, (-) value = endstop below## Increasing position_endstop brings nozzle closer to the bed### 5. After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your configposition_endstop: -0.5##-------------------------------------------------------------------- ## Uncomment below for 250mm build#position_max: 240 ## Uncomment below for 300mm build#position_max: 290 ## Uncomment below for 350mm build#position_max: 340 ##--------------------------------------------------------------------position_min: -5homing_speed: 8second_homing_speed: 3homing_retract_dist: 3 ## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 stepper_z]uart_pin: PD10uart_address: 0interpolate: Truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 ## In E1-MOT Position## Z1 Stepper - Rear Left[stepper_z1]step_pin: PE6dir_pin: PC13enable_pin: !PE5rotation_distance: 40gear_ratio: 80:16microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 stepper_z1]uart_pin: PC14interpolate: Truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 ## In E2-MOT Position## Z2 Stepper - Rear Right[stepper_z2]step_pin: PE2dir_pin: !PE4enable_pin: !PE3rotation_distance: 40gear_ratio: 80:16microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 stepper_z2]uart_pin: PC15interpolate: truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 ## In E3-MOT Position## Z3 Stepper - Front Right[stepper_z3]step_pin: PD12dir_pin: PC4enable_pin: !PE8rotation_distance: 40gear_ratio: 80:16microsteps: 16 [tmc2209 stepper_z3]uart_pin: PA15interpolate: truerun_current: 0.7hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 0 ##################################################### Extruder#################################################### ## In E0-MOT Position[extruder]step_pin: PD5dir_pin: !PD6enable_pin: !PD4 ## Update value below when you perform extruder calibration## If you ask for 100mm of filament, but in reality it is 98mm:## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100### 5. 22.6789511 is a good starting pointrotation_distance: 22.6789511 #Bondtech 5mm Drive Gears## Update Gear Ratio depending on your Extruder Type## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)## Use 80:20 for M4, M3.1gear_ratio: 50:17 #BMG Gear Ratiomicrosteps: 16full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degreenozzle_diameter: 0.400filament_diameter: 1.75### 5. In E0 OUT Positionheater_pin: PB15## Validate the following thermistor type to make sure it is correctsensor_type: ATC Semitec 104GT-2sensor_pin: PC0 # TE0 Positionmin_temp: 10max_temp: 270max_power: 1.0min_extrude_temp: 170control = pidpid_kp = 26.213pid_ki = 1.304pid_kd = 131.721## Try to keep pressure_advance below 1.0pressure_advance: 0.05## Default is 0.040, leave stockpressure_advance_smooth_time: 0.040 ## In E0-MOT Position## Make sure to update below for your relevant driver (2208 or 2209)[tmc2209 extruder]uart_pin: PD7interpolate: falserun_current: 0.5hold_current: 0.2sense_resistor: 0.110stealthchop_threshold: 0 ##################################################### Bed Heater####################################################[heater_bed]## SSR Pin - In BED OUT positionheater_pin: PB4sensor_type: NTC 100K beta 3950sensor_pin: PC3 # Spider v1.x TB Position#sensor_pin: PB0 # Spider v2.x TB Position## Adjust Max Power so your heater doesn't warp your bedmax_power: 0.6min_temp: 0max_temp: 120control: pidpid_kp: 58.437pid_ki: 2.347pid_kd: 363.769 ##################################################### Probe#################################################### [probe]## Inductive Probe - If you use this section , please comment the [bltouch] section## This probe is not used for Z height, only Quad Gantry Leveling## In Z+ position## If your probe is NC instead of NO, add change pin to ^PA3pin: ^!PA3x_offset: 0y_offset: 25.0z_offset: 0speed: 10.0samples: 3samples_result: mediansample_retract_dist: 3.0samples_tolerance: 0.006samples_tolerance_retries: 3 ##################################################### Bltouch#################################################### #[bltouch]## Bltouch - If you use this section , please comment the [probe] section## More infomation at : https://www.klipper3d.org/BLTouch.html## This bltouch is not used for Z height, only Quad Gantry Leveling## In Z+ Position#sensor_pin: PA0## In Y+ Position#control_pin: PA2#x_offset: 0#y_offset: 25.0#z_offset: 0#speed: 10.0#samples: 3#samples_result: median#sample_retract_dist: 3.0#samples_tolerance: 0.006#samples_tolerance_retries: 3 ##################################################### Fan Control#################################################### [heater_fan hotend_fan]## Hotend Fan - FAN0 Connectorpin: PB0 # Spider v1.x#pin: PA13 # Spider v2.xmax_power: 1.0kick_start_time: 0.5heater: extruderheater_temp: 50.0## If you are experiencing back flow, you can reduce fan_speed#fan_speed: 1.0 [fan]## Print Cooling Fan - FAN1 Connectorpin: PB1 # Spider v1.x#pin: PA14 # Spider v2.xmax_power: 0.4kick_start_time: 0.5## Depending on your fan, you may need to increase this value## if your fan will not start. Can change cycle_time (increase)## if your fan is not able to slow down effectivelyoff_below: 0.10 [heater_fan controller_fan]## Controller fan - FAN2 Connectorpin: PB2kick_start_time: 0.5heater: heater_bedheater_temp: 45.0 #[heater_fan exhaust_fan]### 5. Exhaust fan - In E2 OUT Positon#pin: PB3#max_power: 1.0#shutdown_speed: 0.0#kick_start_time: 5.0#heater: heater_bed#heater_temp: 60#fan_speed: 1.0 ##################################################### LED Control#################################################### #[output_pin caselight ]### 5. Chamber Lighting - In 5V-RGB Position#pin: PD3#pwm: true#shutdown_value: 0#value:100#cycle_time: 0.01 ##################################################### Homing and Gantry Adjustment Routines#################################################### [idle_timeout]timeout: 1800 [safe_z_home]## XY Location of the Z Endstop Switch## Update -10,-10 to the XY coordinates of your endstop pin## (such as 157,305) after going through Z Endstop Pin## Location Definition step.home_xy_position:-10,-10speed:100z_hop:10 [quad_gantry_level]## Use QUAD_GANTRY_LEVEL to level a gantry.## Min & Max gantry corners - measure from nozzle at MIN (0,0) and## MAX (250, 250), (300,300), or (350,350) depending on your printer size## to respective belt positions #--------------------------------------------------------------------## Gantry Corners for 250mm Build## Uncomment for 250mm build#gantry_corners:# -60,-10# 310, 320## Probe points#points:# 50,25# 50,175# 200,175# 200,25 ## Gantry Corners for 300mm Build## Uncomment for 300mm build#gantry_corners:# -60,-10# 360,370## Probe points#points:# 50,25# 50,225# 250,225# 250,25 ## Gantry Corners for 350mm Build## Uncomment for 350mm build#gantry_corners:# -60,-10# 410,420## Probe points#points:# 50,25# 50,275# 300,275# 300,25 #--------------------------------------------------------------------speed: 100horizontal_move_z: 10retries: 5retry_tolerance: 0.0075max_adjust: 10 ##################################################### Displays#################################################### #-------------------------------------------------------------------- [display]# mini12864 LCD Displaylcd_type: uc1701cs_pin: PC11a0_pin: PD2rst_pin: PC10encoder_pins: ^PC6,^PC7click_pin: ^!PA8contrast: 63#spi_bus: spi1spi_software_mosi_pin: PA7spi_software_miso_pin: PA6spi_software_sclk_pin: PA5 [neopixel fysetc_mini12864]# To control Neopixel RGB in mini12864 displaypin: PC12chain_count: 3initial_RED: 0.1initial_GREEN: 0.5initial_BLUE: 0.0color_order: RGB # Set RGB values on boot up for each Neopixel.# Index 1 = display, Index 2 and 3 = Knob[delayed_gcode setdisplayneopixel]initial_duration: 1gcode: SET_LED LED=fysetc_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0 SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 #-------------------------------------------------------------------- ##################################################### Macros#################################################### [gcode_macro G32]gcode: BED_MESH_CLEAR G28 QUAD_GANTRY_LEVEL G28 ## Uncomment for for your size printer: #-------------------------------------------------------------------- ## Uncomment for 250mm build #G0 X125 Y125 Z30 F3600 ## Uncomment for 300 build #G0 X150 Y150 Z30 F3600 ## Uncomment for 350mm build #G0 X175 Y175 Z30 F3600 #-------------------------------------------------------------------- [gcode_macro PRINT_START]# Use PRINT_START for the slicer starting script - please customise for your slicer of choicegcode: G32 ; home all axes G1 Z20 F3000 ; move nozzle away from bed [gcode_macro PRINT_END]# Use PRINT_END for the slicer ending script - please customise for your slicer of choicegcode: M400 ; wait for buffer to clear G92 E0 ; zero the extruder G1 E-1.0 F3600 ; retract filament G91 ; relative positioning G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing TURN_OFF_HEATERS M107 ; turn off fan G1 Z2 F3000 ; move nozzle up 2mm G90 ; absolute positioning G0 X125 Y250 F3600 ; park nozzle at rear BED_MESH_CLEAR ### 5. Thermistor Types### 5. "EPCOS 100K B57560G104F"### 5. "ATC Semitec 104GT-2"### 5. "NTC 100K beta 3950"### 5. "Honeywell 100K 135-104LAG-J01"### 5. "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)### 5. "AD595"### 5. "PT100 INA826"
printer.cfg 中文
引用了葵花宝典之蜘蛛VORON
附录
##################################################### 基础配置,定义蜘蛛主板并对打印机类型做设置# For Fysetc Spider V1.0&V1.1#蜘蛛主板固件生成时,晶振选择12Mhz,Bootloader选择32Kib####################################################[include fluidd.cfg][mcu]#主板通信波特率,一般不需要改动baud: 250000#主板通信端口设置,使用$ ls /dev/serial/by-id/* 读取主控板ID并替换以下信息serial: /dev/serial0[printer]# 运动学结构 分为笛卡尔和corexy等等,Voron2.4是corexykinematics: corexy# 最大速度max_velocity: 300# 最大加速度max_accel: 3000# z轴最大速度max_z_velocity: 15# z轴最大加速度max_z_accel: 300# 方形拐角速度,小一点可以有效避免平台重带来的惯性square_corner_velocity: 5.0##################################################### 步进电机配置###################################################################### X轴设置 ##################[stepper_x]# X轴电机脉冲引脚设置step_pin: PE11# X轴电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: !PE10# X轴电机使能引脚设置enable_pin: !PE9#---Klipper0.9以上版本设置---# 电机细分设置microsteps: 16# 主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40# 电机单圈所需脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200# X轴最小行程--软件限位position_min: 0# X轴最大行程--软件限位(如果是350机型,需更改为350)position_max: 300# X轴的机械复位点坐标(如果是350机型,需更改为350)position_endstop: 300# 复位速度homing_speed: 25# 第一次触发复位开关之后的后退距离homing_retract_dist: 5# 复位方向(一般不需要改动)homing_positive_dir: true# 限位开关PIN脚设置(X-)endstop_pin: ^PB14################## y轴设置 ##################[stepper_y]#Y轴电机脉冲引脚设置step_pin: PD8#Y轴电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: !PB12#Y轴电机使能引脚设置enable_pin: !PD9#---Klipper0.9以上版本设置---#电机细分microsteps: 16#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200# Y轴最小行程--软件限位position_min: 0# Y轴最大行程--软件限位(如果是350机型,需更改为350)position_max: 300# Y轴的机械复位点坐标(如果是350机型,需更改为350)position_endstop: 300# 复位速度homing_speed: 25# 第一次触发复位开关之后的后退距离homing_retract_dist: 5# 复位方向(一般不需要改动)homing_positive_dir: true# 限位开关PIN脚设置(Y-)endstop_pin: ^PB13################## E0挤出机设置 ##################[extruder]# 挤出机电机脉冲引脚设置step_pin: PD12# 挤出机电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: !PC4# 挤出机电机使能引脚设置enable_pin: !PE8#---Klipper0.9以上版本设置---# 电机细分microsteps: 16# 主动带轮周长mm(BMG)rotation_distance: 25.12# 电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200# 减速比(BMG齿轮比为50:17,输出轴在前,输入轴在后)gear_ratio: 50:17# 耗材直径filament_diameter: 1.75# 挤出头加热棒控制Pin脚设置(e0)heater_pin: PB15# 加热棒最低温度阀值,热床温度低于此值会出现ADC报错min_temp: 0# 加热棒最高温度阀值,热床温度高于此值会出现ADC报错max_temp: 270# 挤出头传感器类型及Pin脚(TE0)sensor_type: NTC 100K MGB18-104F39050L32sensor_pin: PC0# 喷嘴直径nozzle_diameter: 0.400# 加热棒PWM最大输出功率max_power: 1.0# 加热棒最低挤出温度(达到此温度挤出机才能有挤出动作)min_extrude_temp: 170# pid控制参数control = pidpid_kp = 26.213pid_ki = 1.304pid_kd = 131.721pressure_advance: 0.05pressure_advance_smooth_time: 0.040################## Z0轴设置 ##################[stepper_z]#Z0电机脉冲引脚设置step_pin: PD14#Z0电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: PD13#Z0电机使能引脚设置enable_pin: !PD15#---Klipper0.9以上版本设置---#电机细分microsteps: 16#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200#减速比(Z轴大小带轮比为80:16,输出轴在前,输入轴在后)gear_ratio: 80:16# z轴最小行程--软件限位position_max: 300position_min: -1# Z轴最大行程--软件限位(如果是350机型,需更改为350)position_max: 300# Z轴的机械复位点坐标,Y可以理解为喷嘴的偏移值,值越大,喷嘴离热床越近(负值也一样,eg.-1>-2)position_endstop: 3.56# 复位速度homing_speed: 16.0# 第二次精确复位的速度second_homing_speed: 3.0# 第一次触发复位开关之后的后退距离homing_retract_dist: 3.0# 限位开关PIN脚设置(Z-)endstop_pin: PA0################## Z1轴设置 ##################[stepper_z1]#Z1电机脉冲引脚设置step_pin: PD5#Z1电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: !PD6#Z1电机使能引脚设置enable_pin: !PD4#---Klipper0.9以上版本设置---#电机细分microsteps: 16#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200#减速比(Z轴带轮比为80:16,输出轴在前,输入轴在后)gear_ratio: 80:16################## Z2轴设置 ##################[stepper_z2]#Z2电机脉冲引脚设置step_pin: PE6#Z2电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: PC13#Z2电机使能引脚设置enable_pin: !PE5#---Klipper0.9以上版本设置---#电机细分microsteps: 16#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200#减速比(Z轴带轮比为80:16,输出轴在前,输入轴在后)gear_ratio: 80:16################## Z3轴设置 ##################[stepper_z3]#Z3电机脉冲引脚设置step_pin: PE2#Z3电机方向引脚设置,可以通过添或删除引脚前面的!来改变电机的运转方向dir_pin: !PE4#Z3电机使能引脚设置enable_pin: !PE3#---Klipper0.9以上版本设置---#电机细分microsteps: 16#主动带轮周长mm(2GT-20T带轮40,2GT-16T带轮32)rotation_distance: 40#电机单圈脉冲数(1.8度电机:200,0.9度电机:400)full_steps_per_rotation: 200#减速比(Z轴带轮比为80:16,输出轴在前,输入轴在后)gear_ratio: 80:16##################################################### TMC2209 驱动配置####################################################[tmc2209 stepper_x]#通讯端口Pin脚定义uart_pin: PE7#是否开启256微步插值interpolate: True#电机运行电流值run_current: 0.9#电机静态力矩保持电流值hold_current: 0.6#驱动采样电阻值(不要修改)sense_resistor: 0.110#TMC2209的静音阀值(使用LDO0.9度电机,设置100)stealthchop_threshold: 200[tmc2209 stepper_y]uart_pin: PE15#microsteps: 16interpolate: Truerun_current: 0.9hold_current: 0.7sense_resistor: 0.110stealthchop_threshold: 200[tmc2209 extruder]uart_pin: PA15#microsteps: 16interpolate: Truerun_current: 0.6hold_current: 0.4sense_resistor: 0.110stealthchop_threshold: 200[tmc2209 stepper_z]uart_pin: PD10#microsteps: 16interpolate: Truerun_current: 0.9hold_current: 0.7sense_resistor: 0.110stealthchop_threshold: 200[tmc2209 stepper_z1]uart_pin: PD7#microsteps: 16interpolate: Truerun_current: 0.9hold_current: 0.7sense_resistor: 0.110stealthchop_threshold: 200[tmc2209 stepper_z2]uart_pin: PC14#microsteps: 16interpolate: Truerun_current: 0.9hold_current: 0.7sense_resistor: 0.110stealthchop_threshold: 200[tmc2209 stepper_z3]uart_pin: PC15#microsteps: 16interpolate: Truerun_current: 0.9hold_current: 0.7sense_resistor: 0.110stealthchop_threshold: 200##################################################### Heater Bed 热床设置####################################################[heater_bed]#热床加热器控制Pin脚 (BED OUT)heater_pin: PB4#热床温度传感器规格及Pin脚(TE3)sensor_type: NTC 100K MGB18-104F39050L32sensor_pin: PC3# 热床PWM最大输出功率max_power: 1.0#热床最低温度阀值,热床温度低于此值会出现ADC报错min_temp: 0#热床最高温度阀值,热床温度高于此值会出现ADC报错max_temp: 125# pid控制参数control: pidpid_kp: 58.437pid_ki: 2.347pid_kd: 363.769##################################################### Fan 风扇设置####################################################################### 喉管散热风扇(FAN0) ##################[heater_fan hotend_fan]#喉管散热风扇引脚设置(FAN0)pin: PB0#喉管散热风扇最大输出功率(默认:1.0)max_power: 1.0kick_start_time: 0.5heater: extruder#喉管散热风扇启动阀值heater_temp: 50.0## If you are experiencing back flow, you can reduce fan_speedfan_speed: 1.0shutdown_speed: 1.0################## 打印冷却风扇(FAN1) ##################[fan]#模型冷却风扇引脚设置(FAN1)pin: PB1kick_start_time: 0.75#模型散热风扇最大输出功率(默认:1.0)max_power: 1.0################## 电路仓散热风扇(可以并联在喉管风扇接口上)###################[temperature_fan controller_fan]#pin: PB6#max_power: 0.7#shutdown_speed: 0.0#kick_start_time: 0.500#sensor_type: NTC 100K MGB18-104F39050L32#sensor_pin: z:P0.25#min_temp: 0#max_temp: 50#target_temp: 24#gcode_id: T1#control: watermark################## 打印仓内排气扇(FAN2) ###################[temperature_fan exhaust_fan]#pin: PB2#max_power: 0.7#shutdown_speed: 0.0#kick_start_time: 5.0#sensor_type: NTC 100K MGB18-104F39050L32#sensor_pin: PC1#min_temp: 0#max_temp: 60#target_temp: 40#gcode_id: C#control: watermark# 中断超时时间[idle_timeout]timeout: 3600##################################################### Probe 4z调平传感器###################################################################### Z调平传感器单点探测宏(Z+) ##################[probe]#调平传感器引脚设置(X+)pin: PA3#传感器对应喷嘴的偏移数值x_offset: 0y_offset: 25.0z_offset: 0#调平时的速度speed: 10.0#采样次数samples: 3samples_result: mediansample_retract_dist: 3.0#采样公差samples_tolerance: 0.01#超公差重试次数samples_tolerance_retries: 3##################################################### Homing and Gantry Adjustment Routines归位与机架调整###################################################################### XYZ复位 ##################[homing_override]axes: zset_position_z: 0gcode:G90G0 Z10 F600G28 X Y## XY Location of the Z Endstop Switch## Update X0 and Y0 to your values (such as X157, Y305) after going through## Z Endstop Pin Location Definition step.#以下一行XY坐标根据自己的Z限位传感器位置修改保存G0 X232 Y338 F3600#以下XYZ坐标机器完成复位后,喷头停留的位置,根据自己的需求可以调整G28 ZG0 Z10 F1800G0 X150 Y150 Z20.05 F3600################## Voron2 4Z调平 ##################[quad_gantry_level]gantry_corners:-60,-10360,370#4Z调平采集点坐标设置(300机型)points:25,2525,250275,250275,25#4Z调平采集点坐标设置(300机型)#points:# 25,25# 25,300# 325,300# 325,25# 4Z调平的速度speed: 100#4Z调平时,Z的起始高度horizontal_move_z: 10#采样失败重试次数retries: 5#采样公差retry_tolerance: 0.01#采样时Z的最大行程max_adjust: 10##################################################### Displays####################################################[display]#接Mini12864显示屏的设置#显示屏驱动类型lcd_type: uc1701# 显示屏片选cs引脚设置cs_pin: PC11# 显示屏数据a0引脚设置a0_pin: PD2# 显示屏复位rst脚设置rst_pin: PC10# 旋转编码器(旋钮开关)引脚设置encoder_pins: ^PC6,^PC7# 旋转编码器(旋钮开关)确认按键的引脚设置click_pin: ^!PA8# 对比度contrast: 63# 菜单超时时间menu_timeout: 30# SPI总线设置spi_bus: spi1[neopixel my_neopixel]# To control Neopixel RGB in mini12864 display#显示屏背光灯控制引脚设置pin: PC12chain_count: 3#红色LED灯亮度控制(范围:0-1)initial_RED: 1.0#绿色LED灯亮度控制(范围:0-1)initial_GREEN: 0.0#蓝色LED灯亮度控制(范围:0-1)initial_BLUE: 0.0附录2 SpiderV1.0 & V1.1 Pin Definition##################################################### Macros Gcode宏####################################################[gcode_macro G32]gcode:BED_MESH_CLEARG28QUAD_GANTRY_LEVELG28G0 X150 Y150 Z20 F6000[gcode_macro PRINT_START]# Use PRINT_START for the slicer starting script - please customise for yourslicer of choicegcode:G32 ; home all axesG1 Z20 F3000 ; move nozzle away from bed[gcode_macro PRINT_END]# Use PRINT_END for the slicer ending script - please customise for your slicerof choicegcode:M400 ; wait for buffer to clearG92 E0 ; zero the extruderG1 E-10.0 F3600 ; retract filamentG91 ; relative positioningG0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringingTURN_OFF_HEATERSM107 ; turn off fanG1 Z2 F3000 ; move nozzle up 2mmG90 ; absolute positioningG0 X125 Y250 F3600 ; park nozzle at rearBED_MESH_CLEAR## Thermistor Types## "EPCOS 100K B57560G104F"## "ATC Semitec 104GT-2"## "NTC 100K beta 3950"## "Honeywell 100K 135-104LAG-J01"## "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)## "AD595"## "PT100 INA826