Initial Upload of Guide and Config

This commit is contained in:
jdlongenecker 2019-11-19 22:04:21 -05:00
parent 943619079f
commit 004b72b55a
2 changed files with 596 additions and 0 deletions

View File

@ -0,0 +1,596 @@
# 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
# ========================== 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
# 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
# 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
# ===================================================================
[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
#--------------------------------------------------------------------
serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0
#--------------------------------------------------------------------
[mcu z]
# 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
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: 25 #Max 50
max_z_accel: 350 #Max 800
square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
#connected to X on mcu_xye (B Motor)
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
step_distance: 0.0125
endstop_pin: P1.28
position_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 100
homing_retract_dist: 5
homing_positive_dir: true
#Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_x]
uart_pin: P1.17
microsteps: 16
interpolate: True
run_current: 1.0
hold_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_y]
#connected to Y on mcu_xye (A Motor)
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
step_distance: 0.0125
endstop_pin: P1.26
position_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 100
homing_retract_dist: 5
homing_positive_dir: true
#Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_y]
uart_pin: P1.15
microsteps: 16
interpolate: True
run_current: 1.0
hold_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# Z Stepper Settings
#####################################################################
#Z MCU - In X Position
# Z0 Stepper - Front Left
[stepper_z]
step_pin: z:P2.2
dir_pin: !z:P2.6
enable_pin: !z:P2.1
step_distance: 0.00250
endstop_pin: z:P1.25
# Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
# (+) value = endstop above Z0, (-) value = endstop below
# Increasing position_endstop brings nozzle closer to the bed
# After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
position_endstop: -0.5
#--------------------------------------------------------------------
#Uncomment for 250mm build
#position_max: 240
#Uncomment for 300mm build
#position_max: 290
#Uncomment for 350mm build
#position_max: 340
#--------------------------------------------------------------------
position_min: -5
homing_speed: 15.0
second_homing_speed: 3.0
homing_retract_dist: 3.0
#Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_z]
uart_pin: z:P1.17
microsteps: 16
interpolate: False
run_current: 1.0
hold_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
#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)
[tmcXXXX stepper_z1]
uart_pin: z:P1.15
microsteps: 16
interpolate: False
run_current: 1.0
hold_current: 0.80
sense_resistor: 0.110
stealthchop_threshold: 0
#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)
[tmcXXXX stepper_z2]
uart_pin: z:P1.10
microsteps: 16
interpolate: False
run_current: 1.0
hold_current: 0.80
sense_resistor: 0.110
stealthchop_threshold: 0
#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)
[tmcXXXX stepper_z3]
uart_pin: z:P1.8
microsteps: 16
interpolate: False
run_current: 1.0
hold_current: 0.80
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# Extruder
#####################################################################
#E0 on MCU X/Y
[extruder]
step_pin: P2.13
dir_pin: P0.11
enable_pin: !P2.12
# 16 microsteps Mobius 3 ~= 0.00180
# Update value below when you perform extruder calibration
# Higher value means less filament extruded
# If you ask for 100mm of filament, but in reality it is 98mm:
# step_distance = 98 / 100 * step_distance_old
step_distance: 0.00180180
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: P2.7
#Validate the following thermistor type to make sure it is correct
sensor_type: NTC 100K beta 3950
sensor_pin: P0.24
smooth_time: 3.0
min_temp: 10
max_temp: 270
max_power: 1.0
min_extrude_temp: 170
control = pid
pid_kp = 26.213
pid_ki = 1.304
pid_kd = 131.721
# PA can be disabled by declaring a 0.0 value
pressure_advance: 0.0
# Time seconds to look ahead for PA moves default is 0.010 or 10ms
pressure_advance_lookahead_time: 0.010
#E0 on MCU X/Y
#Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX extruder]
uart_pin: P1.9
microsteps: 16
interpolate: false
run_current: 1.0
hold_current: 1.0
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# Probe
#####################################################################
[probe]
# Inductive Probe
# This probe is not used for Z height, only Quad Gantry Leveling
# Z_MAX on mcu_z
# If your probe is NO instead of NC, add change pin to !z:P1.24
pin: z:P1.24
x_offset: 0
y_offset: 25.0
z_offset: 0
speed: 10.0
samples: 4
samples_result: average
sample_retract_dist: 3.0
samples_tolerance: 0.006
samples_tolerance_retries: 3
#####################################################################
# Fan Control
#####################################################################
[heater_fan hotend_fan]
# Hotend Fan - XYE board, HE1 Connector
pin: P2.4
max_power: 1.0
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]
# 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
cycle_time: 0.001
#[heater_fan exhaust_fan]
# Exhaust fan - Z board, HE0 Connector
#pin: z:P2.7
#max_power: 1.0
#shutdown_speed: 0.0
#kick_start_time: 5.0
#heater: heater_bed
#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
#####################################################################
[heater_bed]
# SSR Pin - Z board, Fan Pin
heater_pin: z:P2.3
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: z:P0.23
smooth_time: 3.0
#Adjust Max Power so your heater doesn't warp your bed
max_power: 0.6
min_temp: 0
max_temp: 120
control: pid
pid_kp: 58.437
pid_ki: 2.347
pid_kd: 363.769
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800
[homing_override]
axes: z
set_position_z: 0
gcode:
G90
G0 Z5 F600
G28 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.
G0 X0 Y0 F3600
G28 Z
G0 Z10 F1800
#Uncomment for for your size printer:
#--------------------------------------------------------------------
#250mm bed
G0 X125 Y125 Z30 F3600
#300mm bed
#G0 X150 Y150 Z30 F3600
#350mm bed
#G0 X175 Y175 Z30 F3600
#--------------------------------------------------------------------
[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
#gantry_corners:
# -60,-10
# 310, 260 #Not sure about this
# Probe points
#points:
# 60,60
# 60,200
# 200,200
# 200,60
# Gantry Corners for 300mm Build
#gantry_corners:
# -60,-10
# 360,310
# Probe points
#points:
# 60,60
# 60,240
# 240,240
# 240,60
# Gantry Corners for 350mm Build
#gantry_corners:
# -60,-10
# 410,360
# Probe points
#points:
# 60,60
# 60,290
# 290,290
# 290,60
#--------------------------------------------------------------------
speed: 100
horizontal_move_z: 10
retries: 5
retry_tolerance: 0.0075
max_adjust: 10
#####################################################################
# Displays
#####################################################################
# Uncomment the display that you have. Display connects to Z MCU
#--------------------------------------------------------------------
#[display]
# RepRapDiscount 128x64 Full Graphic Smart Controller
#lcd_type: st7920
#cs_pin: z:P1.19
#sclk_pin: z:P1.20
#sid_pin: z:P1.18
#menu_timeout: 40
#encoder_pins: ^z:P3.26, ^z:P3.25
#click_pin: ^!z:P0.28
#--------------------------------------------------------------------
#[display]
# "mini12864 LCD Display
#lcd_type: uc1701
#cs_pin: z:P1.18
#a0_pin: z:P1.19
#encoder_pins: z:^P3.26,z:^P3.25
#click_pin: z:^!P0.28
#contrast: 63
#[neopixel my_neopixel]
#To control Neopixel RGB in mini12864 display
#pin: z:P1.21
#chain_count: 3
#initial_RED: 0.1
#initial_GREEN: 0.5
#initial_BLUE: 0.0
#color_order_GRB: False
#--------------------------------------------------------------------
#####################################################################
# Macros
#####################################################################
[gcode_macro G32]
gcode:
BED_MESH_CLEAR
G28
QUAD_GANTRY_LEVEL
G28
G0 X150 Y150 Z20 F6000
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customise for your slicer of choice
gcode:
G28 ; 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 choice
gcode:
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-10.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
#[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"
# BED_MESH_CALIBRATE
# Do not use unless absolutely necessary
#[bed_mesh]
#speed: 200
#horizontal_move_z: 10
#probe_count: 7,7
#fade_start: 0.6
#fade_end: 25.0
#split_delta_z: .01
#move_check_distance: 3
#mesh_pps: 0,0
#algorithm: bicubic
#relative_reference_index: 24
#For 250mm Size:
#min_point: 40,10
#max_point: 210,180
#For 300mm Size:
#min_point: 40,10
#max_point: 260,230
#For 350mm Size:
#min_point: 40,10
#max_point: 310,280