aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBoffgithub <40854849+Boffgithub@users.noreply.github.com>2019-01-15 17:18:27 +0000
committerKevin O'Connor <kevin@koconnor.net>2019-02-13 12:07:20 -0500
commita03e31809f03915d9c2190939eed820473189197 (patch)
tree71e2550321ab43d08ff40557bba9c5cbe9c6a59e /config
parent98ed46286535ffb8a8023dac7b2844a7bff0ca08 (diff)
downloadkutter-a03e31809f03915d9c2190939eed820473189197.tar.gz
kutter-a03e31809f03915d9c2190939eed820473189197.tar.xz
kutter-a03e31809f03915d9c2190939eed820473189197.zip
config: Example config file for a stock 250mm build VORON2 printer
Example config file for a stock 250mm build VORON2 printer that matches the manual diagrams exactly for the controller layout and pins used. Signed-off-by: Ben Warren <boffdroid@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r--config/kit-voron2-2018.cfg222
-rw-r--r--config/kit-voron2-250mm.cfg299
2 files changed, 299 insertions, 222 deletions
diff --git a/config/kit-voron2-2018.cfg b/config/kit-voron2-2018.cfg
deleted file mode 100644
index b48890b7..00000000
--- a/config/kit-voron2-2018.cfg
+++ /dev/null
@@ -1,222 +0,0 @@
-# This file is an example configuration for the Voron 2 CoreXY printer
-# running on two RAMPS boards. This file was created by "Maglin".
-# X/Y/E steppers/endstops/thermisters/heaters are on one MCU/RAMPS
-# board while Z steppers/mechanical switch/endstop_pin are on the
-# second MCU/RAMPS labeled z.
-
-# This file is only an example - be sure to review and update it
-# according to the specifics of your printer. See the example.cfg and
-# example-extras.cfg files for a description of available parameters.
-
-[mcu]
-# mcu for X/Y/E steppers main MCU
-serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0
-pin_map: arduino
-
-[mcu z]
-# mcu for the Z steppers
-serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
-pin_map: arduino
-
-[stepper_x]
-# use preceding ! to invert logic and ^ to activate internal 5V pullup
-# this is for all pin definitions. Not all pins have interal pullups
-step_pin: ar54
-dir_pin: ar55
-enable_pin: !ar38
-step_distance: 0.0125
-endstop_pin: ^ar2
-position_min: 0
-position_endstop: 248
-position_max: 248
-homing_speed: 50
-
-[stepper_y]
-step_pin: ar60
-dir_pin: ar61
-enable_pin: !ar56
-step_distance: 0.0125
-endstop_pin: ^ar15
-position_min: -5
-position_endstop: 245
-position_max: 245
-homing_speed: 50
-
-[stepper_z]
-# X stepper pins on MCU Z
-step_pin: z:ar54
-dir_pin: z:ar55
-enable_pin: !z:ar38
-step_distance: 0.00625
-# probe:z_virtual_endstop is a virtual pin definition only available if
-# a probe section is defined
-#endstop_pin: probe:z_virtual_endstop
-# mechanical switch on mcu Z X min endstop pin
-endstop_pin: ^z:ar3
-position_endstop: -0.376
-position_min: -5
-position_max: 245
-homing_speed: 12
-
-[stepper_z1]
-# Y stepper pins on MCU Z
-step_pin: z:ar60
-dir_pin: !z:ar61
-enable_pin: !z:ar56
-step_distance: 0.00625
-
-[stepper_z2]
-# Z stepper pins on MCU Z
-step_pin: z:ar46
-dir_pin: z:ar48
-enable_pin: !z:ar62
-step_distance: 0.00625
-
-[stepper_z3]
-# E0 stepper pins on MCU Z
-step_pin: z:ar26
-dir_pin: !z:ar28
-enable_pin: !z:ar24
-step_distance: 0.00625
-
-# extended G-Code command Z_TILT_ADJUST can be used to level gantry
-[z_tilt]
-# belt locations from origin 0,0
-z_positions:
- -56,-17
- -56,322
- 311,322
- 311,-17
-# probing locations for gantry leveling
-points:
- 50,50
- 50,195
- 195,195
- 195,50
-# travel speed between probe points
-speed: 150
-# Move Z to this position for safe probing
-horizontal_move_z: 15
-
-# this is required for gantry leveling and replaces your G28 command
-# with the gcode used here. Used to home X/Y/Z with mechanical switches
-[homing_override]
-set_position_z: 0
-gcode:
- G90
- G0 Z15 F600
- G28 X0 Y0
- G0 X248 Y225 F3000
- G28 Z
- G0 Z15 F6000
-
-# macro to level the gantry. use G32 in the terminal to call
-[gcode_macro g32]
-gcode:
- Z_TILT_ADJUST
- Z_TILT_ADJUST
- Z_TILT_ADJUST
- G28
- G0 X125 Y125 Z125 F3600
-
-# Use print_start for you slicer starting script
-[gcode_macro print_start]
-gcode:
- G1 X0 Y15 Z0.3 F7000
- G92 E0
- G1 E14 F600
- G92 E0
- G1 X60.0 E9.0 F1000.0
- G1 X100.0 E12.5 F1000.0
- G1 E12 F1000.0
- G92 E-0.5
-
-# Use print_end for you slicer ending script
-[gcode_macro print_end]
-gcode:
- M104 S0
- M140 S0
- M107
- G92 E0
- G91
- G1 Z10 E-10 F3000
- G90
- G0 X125 Y245 F1000
-
-[extruder]
-# on E0 stepper pins of main MCU
-step_pin: ar26
-dir_pin: ar28
-enable_pin: !ar24
-step_distance: 0.003339
-nozzle_diameter: 0.400
-filament_diameter: 1.750
-max_extrude_only_distance: 100.0
-heater_pin: ar10
-max_power: 1.0
-sensor_type: ATC Semitec 104GT-2
-sensor_pin: analog13
-control: pid
-pid_Kp: 21.759
-pid_Ki: 1.107
-pid_Kd: 106.889
-min_temp: 0
-max_temp: 300
-
-# thermally controlled hotend fan
-[heater_fan my_nozzle_fan]
-# Located on Z MCU on fan D9
-pin: z:ar9
-
-[probe]
-# Z_Min pins on MCU Z (must be on same MCU as steppers)
-pin: ^!z:ar18
-z_offset: 1.15
-speed: 2.0
-
-[heater_bed]
-heater_pin: ar8
-# NTC 100K MGB18-104F39050L32 is for Kenovo thermistors
-sensor_type: NTC 100K MGB18-104F39050L32
-sensor_pin: analog14
-# pid gives you better control over bed heat
-control: pid
-pid_Kp: 63.832
-pid_Ki: 3.404
-pid_Kd: 299.213
-min_temp: 0
-max_temp: 130
-
-# print cooling fan
-[fan]
-# On z MCU on extruder heater pin D10
-pin: z:ar10
-
-# "RepRapDiscount 2004 Smart Controller" type displays
-#[display]
-#lcd_type: hd44780
-#rs_pin: ar16
-#e_pin: ar17
-#d4_pin: ar23
-#d5_pin: ar25
-#d6_pin: ar27
-#d7_pin: ar29
-
-# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
-[display]
-lcd_type: st7920
-cs_pin: ar16
-sclk_pin: ar23
-sid_pin: ar17
-
-[printer]
-# settings below are the max and can't be commanded over in gcode
-kinematics: corexy
-max_velocity: 500
-max_accel: 3000
-max_z_velocity: 100
-max_z_accel: 50
-
-[idle_timeout]
-# high motor off time so I don't have to relevel gantry often
-timeout: 6000
diff --git a/config/kit-voron2-250mm.cfg b/config/kit-voron2-250mm.cfg
new file mode 100644
index 00000000..73257af6
--- /dev/null
+++ b/config/kit-voron2-250mm.cfg
@@ -0,0 +1,299 @@
+# VORON2 250mm config
+
+# This is a base printer.cfg file for the VORON2 printer and matches the manual/build guide exactly
+# for controllers used (dual RAMPS) and pin layout for all connected components.
+# Created by "Boff" with help from the VORON community.
+
+# For other build sizes, controllers, or non-standard pin connections, please see
+# https://github.com/mzbotreprap/VORON/tree/master/Firmware/Klipper/Voron_2.1/Klipper/Configurations
+# for other example Klipper configs created by the VORON community.
+
+# This file is only an example - be sure to review and update it
+# according to the specifics of your printer. See the example.cfg and
+# example-extras.cfg files for a description of available Klipper parameters.
+
+# AND PLEASE READ THROUGH THE KLIPPER DOCUMENTATION FIRST!
+# https://github.com/KevinOConnor/klipper/tree/master/docs
+
+# *** THINGS TO CHANGE/CHECK: ***
+# Arduino paths [mcu] section
+# Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file
+# FSR switch (z endstop) location [homing_override] section
+# FSR switch (z endstop) 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
+
+[mcu]
+# Mcu for X/Y/E steppers
+serial: /dev/serial/by-id/**INSERT_YOUR_ARDUINO_DEFINITION_HERE**
+# Obtain definition by "ls -l /dev/serial/by-id/"
+pin_map: arduino
+restart_method: arduino
+
+[mcu z]
+# Mcu for Z steppers
+serial: /dev/serial/by-id/**INSERT_YOUR_ARDUINO_DEFINITION_HERE**
+# Obtain definition by "ls -l /dev/serial/by-id/"
+pin_map: arduino
+restart_method: arduino
+
+[printer]
+kinematics: corexy
+max_velocity: 350
+max_accel: 3000
+max_z_velocity: 50
+max_z_accel: 350
+
+[stepper_x]
+# B Stepper
+step_pin: ar54
+dir_pin: !ar55
+enable_pin: !ar38
+# X on mcu_xye
+step_distance: 0.0125
+# 80 steps per mm - 1.8 deg - 1/16 microstepping
+endstop_pin: ^ar2
+# X_MAX on mcu_xye
+position_min: 0
+position_endstop: 250
+position_max: 250
+homing_speed: 100
+homing_retract_dist: 5
+
+[stepper_y]
+# A Stepper
+step_pin: ar60
+dir_pin: !ar61
+enable_pin: !ar56
+# Y on mcu_xye
+step_distance: 0.0125
+# 80 steps per mm - 1.8 deg - 1/16 microstepping
+endstop_pin: ^ar15
+# Y_MAX on mcu_xye
+position_min: 0
+position_endstop: 250
+position_max: 250
+homing_speed: 100
+homing_retract_dist: 5
+
+[stepper_z]
+# Z0 Stepper - Front Left
+step_pin: z:ar54
+dir_pin: !z:ar55
+enable_pin: !z:ar38
+# X on mcu_z
+step_distance: 0.00250
+# 400 steps per mm - 1.8 deg - 1/16 microstepping
+endstop_pin: ^!z:ar18
+# Z_MIN on mcu_z
+position_endstop: -0.2
+# Offset (in mm) for nozzle to bed off z switch
+position_max: 250
+position_min: -2
+# Set to -2 to allow room for squaring gantry with quad_gantry_level
+homing_speed: 15.0
+second_homing_speed: 3.0
+homing_retract_dist: 3.0
+
+[stepper_z1]
+# Z1 Stepper - Rear Left
+step_pin: z:ar60
+dir_pin: z:ar61
+enable_pin: !z:ar56
+# Y on mcu_z
+step_distance: 0.00250
+# 400 steps per mm - 1.8 deg - 1/16 microstepping
+
+[stepper_z2]
+# Z2 Stepper - Rear Right
+step_pin: z:ar46
+dir_pin: !z:ar48
+enable_pin: !z:ar62
+# Z on mcu_z
+step_distance: 0.00250
+# 400 steps per mm - 1.8 deg - 1/16 microstepping
+
+[stepper_z3]
+# Z3 Stepper - Front Right
+step_pin: z:ar26
+dir_pin: z:ar28
+enable_pin: !z:ar24
+# E0 on mcu_z
+step_distance: 0.00250
+# 400 steps per mm - 1.8 deg - 1/16 microstepping
+
+[extruder]
+step_pin: ar26
+dir_pin: ar28
+enable_pin: !ar24
+# E0 on mcu_xye
+step_distance: 0.00180180
+# 555 steps per mm - 1.8 deg - 1/16 microstepping (Mobius2)
+nozzle_diameter: 0.400
+filament_diameter: 1.750
+max_extrude_only_distance: 780.0
+# This is set high to allow the load/unload filament macros to run
+heater_pin: ar10
+# D10 on mcu_xye
+max_power: 1.0
+sensor_type: NTC 100K beta 3950
+sensor_pin: analog13
+# T0 on mcu_xye
+smooth_time: 3.0
+control: pid
+pid_Kp: 16.430
+pid_Ki: 0.755
+pid_Kd: 89.337
+min_extrude_temp: 170
+min_temp: 0
+max_temp: 270
+
+[probe]
+# Inductive Probe
+pin: ^z:ar19
+# Z_MAX on mcu_z
+x_offset: 0.0
+y_offset: 25.0
+z_offset: 0.00
+speed: 2.0
+
+[fan]
+# Print cooling fan
+pin: ar9
+# D9 on mcu_xye
+kick_start_time: 0.500
+
+[heater_fan hotend_fan]
+# Hotend fan
+pin: z:ar9
+# D9 on mcu_z
+kick_start_time: 0.500
+heater: extruder
+heater_temp: 50.0
+
+[heater_fan controller_fan]
+# Controller fan
+pin: z:ar10
+# D10 on mcu_z
+kick_start_time: 0.500
+heater: heater_bed
+heater_temp: 45.0
+
+[heater_fan exhaust_fan]
+# Exhaust fan
+pin: z:ar8
+# D8 on mcu_z
+kick_start_time: 0.500
+heater: heater_bed
+heater_temp: 60.0
+
+[heater_bed]
+heater_pin: z:ar11
+# D11 (servo) on mcu_z
+sensor_type: NTC 100K MGB18-104F39050L32
+sensor_pin: z:analog15
+# T2 on mcu_z
+smooth_time: 3.0
+max_power: 0.75
+control: pid
+pid_Kp: 47.690
+pid_Ki: 1.556
+pid_Kd: 365.338
+min_temp: 0
+max_temp: 110
+
+[homing_override]
+axes: z
+set_position_z: 0
+gcode:
+ G90
+ G0 Z5 F600
+ G28 X Y
+ G0 X179 Y249.5 F3600
+# XY Location of the FSR Switch
+ G28 Z
+ G0 Z10 F1800
+ G0 X125 Y125 Z20 F3600
+
+[quad_gantry_level]
+# Use QUAD_GANTRY_LEVEL to level a gantry.
+gantry_corners:
+ -55,-7
+ 305, 320
+# Min & Max gantry corners - measure from nozzle at MIN (0,0) and MAX (250,250) to respective belt positions
+points:
+ 25,0
+ 25,200
+ 225,200
+ 225,0
+# Probe points
+speed: 200
+horizontal_move_z: 6
+samples: 4
+# Number of times to probe a point
+sample_retract_dist: 6.0
+# How far to retract (in mm) from the probe point for multi-probe samples
+
+[display]
+# RepRapDiscount 128x64 Full Graphic Smart Controller
+lcd_type: st7920
+cs_pin: z:ar16
+sclk_pin: z:ar23
+sid_pin: z:ar17
+# LCD connector on mcu_z
+menu_timeout: 40
+encoder_pins: ^z:ar33, ^z:ar31
+click_pin: ^!z:ar35
+kill_pin: ^!z:ar41
+
+
+### Macros ###
+
+[gcode_macro G32]
+gcode:
+ G28
+ QUAD_GANTRY_LEVEL
+ QUAD_GANTRY_LEVEL
+ G0 X125 Y125 Z20 F6000
+
+[gcode_macro PRINT_START]
+# Use PRINT_START for the slicer starting script - PLEASE CUSTOMISE THE SCRIPT FOR YOUR SLICER OF CHOICE
+gcode:
+ M117 Homing... ; display message
+ G28 ; home all axes
+ G1 Z20 F3000 ; move nozzle away from bed
+ M117 Preheat (Print) ; display message
+ M104 S0 ; turn off hotend while waiting for bed to get to temp
+
+[gcode_macro PRINT_END]
+# Use PRINT_END for the slicer ending script - PLEASE CUSTOMISE THE SCRIPT FOR YOUR SLICER OF CHOICE
+gcode:
+ M400 ; wait for buffer to clear
+ G92 E0 ; zero the extruder
+ G1 E-4.0 F3600 ; retract
+ G91 ; relative positioning
+ G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing
+ M104 S0 ; turn off hotend
+ M140 S0 ; turn off bed
+ M106 S0 ; turn off fan
+ G1 Z20 F3000 ; move nozzle up 20mm
+ G90 ; absolute positioning
+ G0 X125 Y245 F3600 ; park nozzle at rear
+ M117 Finished! ; display message
+
+[gcode_macro UNLOAD_FILAMENT]
+gcode:
+ M83
+ G1 E10 F300
+ G1 E-780 F1800
+ M82
+
+[gcode_macro LOAD_FILAMENT]
+gcode:
+ M83
+ G1 E750 F1800
+ G1 E30 F300
+ G1 E15 F150
+ M82