From 51cf6b5074baa1f36e4f0f9036aa5e796053d19b Mon Sep 17 00:00:00 2001 From: jdlongenecker Date: Wed, 1 Jan 2020 12:09:36 -0500 Subject: [PATCH] Update Voron2_SKR_Universal_Config.cfg Update formatting, update pressure advance parameters, remove unnecessary macros --- .../eddie/Voron2_SKR_Universal_Config.cfg | 211 ++++++++---------- 1 file changed, 98 insertions(+), 113 deletions(-) diff --git a/firmware_configurations/klipper/eddie/Voron2_SKR_Universal_Config.cfg b/firmware_configurations/klipper/eddie/Voron2_SKR_Universal_Config.cfg index 714d7ec5c..ecefbb473 100644 --- a/firmware_configurations/klipper/eddie/Voron2_SKR_Universal_Config.cfg +++ b/firmware_configurations/klipper/eddie/Voron2_SKR_Universal_Config.cfg @@ -1,86 +1,88 @@ -# Voron Design VORON2 300mm SKR 1.3 TMC2209 UART config +## Voron Design VORON2 300mm SKR 1.3 TMC2209 UART config -# *** THINGS TO CHANGE/CHECK: *** -# MCU paths [mcu] section -# Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file -# Z Endstop Switch location [homing_override] section -# Z Endstop Switch offset for Z0 [stepper_z] section -# Probe points [quad_gantry_level] section -# Min & Max gantry corner postions [quad_gantry_level] section -# PID tune [extruder] and [heater_bed] sections -# Fine tune E steps [extruder] section +## *** THINGS TO CHANGE/CHECK: *** +## MCU paths [mcu] section +## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file +## Z Endstop Switch location [homing_override] section +## Z Endstop Switch offset for Z0 [stepper_z] section +## Probe points [quad_gantry_level] section +## Min & Max gantry corner postions [quad_gantry_level] section +## PID tune [extruder] and [heater_bed] sections +## Fine tune E steps [extruder] section -# ========================== Pin Definitions ======================== -# X_STEP_PIN 2.2 -# X_DIR_PIN 2.6 -# X_ENABLE_PIN 2.1 -# X_MIN_PIN 1.29 -# X_MAX_PIN 1.28 -# X_UART_RX 1.17 -# X_UART_TX 4.29 +##========================== Pin Definitions ======================== +## X_STEP_PIN 2.2 +## X_DIR_PIN 2.6 +## X_ENABLE_PIN 2.1 +## X_MIN_PIN 1.29 +## X_MAX_PIN 1.28 +## X_UART_RX 1.17 +## X_UART_TX 4.29 -# Y_STEP_PIN 0.19 -# Y_DIR_PIN 0.20 -# Y_ENABLE_PIN 2.8 -# Y_MIN_PIN 1.27 -# Y_MAX_PIN 1.26 -# Y_UART_RX 1.15 -# Y_UART_TX 1.16 +## Y_STEP_PIN 0.19 +## Y_DIR_PIN 0.20 +## Y_ENABLE_PIN 2.8 +## Y_MIN_PIN 1.27 +## Y_MAX_PIN 1.26 +## Y_UART_RX 1.15 +## Y_UART_TX 1.16 -# Z_STEP_PIN 0.22 -# Z_DIR_PIN 2.11 -# Z_ENABLE_PIN 0.21 -# Z_MIN_PIN 1.25 -# Z_MAX_PIN 1.24 -# Z_UART_RX 1.10 -# Z_UART_TX 1.14 +## Z_STEP_PIN 0.22 +## Z_DIR_PIN 2.11 +## Z_ENABLE_PIN 0.21 +## Z_MIN_PIN 1.25 +## Z_MAX_PIN 1.24 +## Z_UART_RX 1.10 +## Z_UART_TX 1.14 -# E0_STEP_PIN 2.13 -# E0_DIR_PIN 0.11 -# E0_ENABLE_PIN 2.12 -# E0_UART_RX 1.8 -# E0_UART_TX 1.9 +## E0_STEP_PIN 2.13 +## E0_DIR_PIN 0.11 +## E0_ENABLE_PIN 2.12 +## E0_UART_RX 1.8 +## E0_UART_TX 1.9 -# E1_STEP_PIN 0.1 -# E1_DIR_PIN 0.0 -# E1_ENABLE_PIN 0.10 -# E1_UART_RX 1.1 -# E1_UART_TX 1.4 +## E1_STEP_PIN 0.1 +## E1_DIR_PIN 0.0 +## E1_ENABLE_PIN 0.10 +## E1_UART_RX 1.1 +## E1_UART_TX 1.4 -# HE1 2.4 -# HE0 2.7 -# BED 2.5 -# TH1 (H1 Temp) 0.25 -# TH0 (H0 Temp) 0.24 -# TB (Bed Temp) 0.23 -# FAN 2.3 -# SERVO 2.0 -# =================================================================== +## HE1 2.4 +## HE0 2.7 +## BED 2.5 +## TH1 (H1 Temp) 0.25 +## TH0 (H0 Temp) 0.24 +## TB (Bed Temp) 0.23 +## FAN 2.3 +## SERVO 2.0 +##=================================================================== [mcu] -# mcu for X/Y/E steppers main MCU -# [X in X] - B Motor -# [Y in Y] - A Motor -# [E in E0] - Extruder -# obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify -#-------------------------------------------------------------------- +## MCU for X/Y/E steppers main MCU +## [X in X] - B Motor +## [Y in Y] - A Motor +## [E in E0] - Extruder +## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +##-------------------------------------------------------------------- serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 -#-------------------------------------------------------------------- +##-------------------------------------------------------------------- [mcu z] -## mcu for Z steppers +## MCU for Z steppers ## [Z in X] - Front Left ## [Z1 in Y] - Rear Left ## [Z2 in Z] - Rear Right ## [Z3 in E0]- Front Right -## obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +##-------------------------------------------------------------------- serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0 +##-------------------------------------------------------------------- [printer] kinematics: corexy max_velocity: 300 max_accel: 3000 #Max 4000 -max_z_velocity: 15 #Max 15 +max_z_velocity: 15 #Max 15 for 12V TMC Drivers max_z_accel: 350 #Max ? square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0 @@ -89,7 +91,7 @@ square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0 ##################################################################### [stepper_x] -##Connected to X on mcu_xye (B Motor) +## Connected to X on mcu_xye (B Motor) step_pin: P2.2 dir_pin: !P2.6 enable_pin: !P2.1 @@ -206,15 +208,15 @@ hold_current: 0.8 sense_resistor: 0.110 stealthchop_threshold: 0 -## Z MCU - In Y Position -## Z1 Stepper - Rear Left +## Z MCU - In Y Position +## Z1 Stepper - Rear Left [stepper_z1] step_pin: z:P0.19 dir_pin: z:P0.20 enable_pin: !z:P2.8 step_distance: 0.00250 -## Make sure to update below for your relevant driver (2208 or 2209) +## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z1] uart_pin: z:P1.15 microsteps: 16 @@ -224,15 +226,15 @@ hold_current: 0.80 sense_resistor: 0.110 stealthchop_threshold: 0 -## Z MCU - In Z Position -## Z2 Stepper - Rear Right +## Z MCU - In Z Position +## Z2 Stepper - Rear Right [stepper_z2] step_pin: z:P0.22 dir_pin: !z:P2.11 enable_pin: !z:P0.21 step_distance: 0.00250 -## Make sure to update below for your relevant driver (2208 or 2209) +## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z2] uart_pin: z:P1.10 microsteps: 16 @@ -242,15 +244,15 @@ hold_current: 0.80 sense_resistor: 0.110 stealthchop_threshold: 0 -## Z MCU - In E0 Position -## Z3 Stepper - Front Right +## Z MCU - In E0 Position +## Z3 Stepper - Front Right [stepper_z3] step_pin: z:P2.13 dir_pin: z:P0.11 enable_pin: !z:P2.12 step_distance: 0.00250 -## Make sure to update below for your relevant driver (2208 or 2209) +## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z3] uart_pin: z:P1.8 microsteps: 16 @@ -291,10 +293,10 @@ control = pid pid_kp = 26.213 pid_ki = 1.304 pid_kd = 131.721 -## PA can be disabled by declaring a 0.0 value +## Try to keep pressure_advance below 1.0 pressure_advance: 0.0 -## Time seconds to look ahead for PA moves default is 0.010 or 10ms -pressure_advance_lookahead_time: 0.010 +## Default is 0.040, leave stock +pressure_advance_smooth_time: 0.040 ## E0 on MCU X/Y ## Make sure to update below for your relevant driver (2208 or 2209) @@ -340,17 +342,24 @@ kick_start_time: 0.5 heater: extruder heater_temp: 50.0 ## If you are experiencing back flow, you can reduce fan_speed -## fan_speed: 1.0 +#fan_speed: 1.0 [fan] ## Print Cooling Fan - XYE board, Fan Pin pin: P2.3 kick_start_time: 0.5 -## Depending on your fan, you may need to increase or reduce this value -## If your fan will not start -off_below: 0.13 +## Depending on your fan, you may need to increase this value +## if your fan will not start +off_below: 0.10 cycle_time: 0.001 +[heater_fan controller_fan] +## Controller fan - Z board, HE1 Connector +pin: z:P2.4 +kick_start_time: 0.500 +heater: heater_bed +heater_temp: 45.0 + #[heater_fan exhaust_fan] ## Exhaust fan - Z board, HE0 Connector #pin: z:P2.7 @@ -361,13 +370,6 @@ cycle_time: 0.001 #heater_temp: 60 #fan_speed: 1.0 -[heater_fan controller_fan] -## Controller fan - Z board, HE1 Connector -pin: z:P2.4 -kick_start_time: 0.500 -heater: heater_bed -heater_temp: 45.0 - ##################################################################### # Bed Heater ##################################################################### @@ -480,7 +482,7 @@ max_adjust: 10 #-------------------------------------------------------------------- #[display] -# RepRapDiscount 128x64 Full Graphic Smart Controller +## RepRapDiscount 128x64 Full Graphic Smart Controller #lcd_type: st7920 #cs_pin: z:P1.19 #sclk_pin: z:P1.20 @@ -492,7 +494,7 @@ max_adjust: 10 #-------------------------------------------------------------------- #[display] -# "mini12864 LCD Display +## mini12864 LCD Display #lcd_type: uc1701 #cs_pin: z:P1.18 #a0_pin: z:P1.19 @@ -501,7 +503,7 @@ max_adjust: 10 #contrast: 63 #[neopixel my_neopixel] -#To control Neopixel RGB in mini12864 display +## To control Neopixel RGB in mini12864 display #pin: z:P1.21 #chain_count: 3 #initial_RED: 0.1 @@ -546,28 +548,11 @@ gcode: G0 X125 Y250 F3600 ; park nozzle at rear BED_MESH_CLEAR - -#[gcode_macro LOAD_FILAMENT] -#gcode: -# M83 ; set extruder to relative -# G1 E750 F1800 ; quickly load filament to down bowden -# G1 E30 F300 ; slower extrusion for hotend path -# G1 E15 F150 ; prime nozzle with filament -# M82 ; set extruder to absolute - -#[gcode_macro UNLOAD_FILAMENT] -#gcode: -# M83 ; set extruder to relative -# G1 E10 F300 ; extrude a little to soften tip -# G1 E-780 F1800 ; retract filament completely -# M82 ; set extruder to absolute - - -# Sensor 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" +## 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"