2016-05-25 18:37:40 +03:00
|
|
|
# This file serves as documentation for config parameters. One may
|
2016-09-15 19:20:49 +03:00
|
|
|
# copy and edit this file to configure a new cartesian style
|
|
|
|
# printer. For delta style printers, see the "example-delta.cfg" file.
|
2016-05-25 18:37:40 +03:00
|
|
|
|
|
|
|
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
|
|
|
|
# FIRST. Incorrectly configured parameters may cause damage.
|
|
|
|
|
|
|
|
# A note on pin names: pins may be configured with a hardware name
|
2016-09-15 19:19:30 +03:00
|
|
|
# (such as "PA4") or with an Arduino alias name (such as "ar29" or
|
|
|
|
# "analog3"). In order to use Arduino names, the pin_map variable in
|
|
|
|
# the mcu section must be present and have a value of "arduino".
|
2016-05-25 18:37:40 +03:00
|
|
|
# Pin names may be preceded by an '!' to indicate that a reverse
|
|
|
|
# polarity should be used (eg, trigger on low instead of high). Input
|
2016-07-27 05:06:14 +03:00
|
|
|
# pins may be preceded by a '^' to indicate that a hardware pull-up
|
2016-05-25 18:37:40 +03:00
|
|
|
# resistor should be enabled for the pin.
|
|
|
|
|
|
|
|
|
|
|
|
# The stepper_x section is used to describe the stepper controlling
|
|
|
|
# the X axis in a cartesian robot
|
|
|
|
[stepper_x]
|
|
|
|
step_pin: ar29
|
2017-01-02 21:17:50 +03:00
|
|
|
# Step GPIO pin (triggered high). This parameter must be provided.
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: !ar28
|
2017-01-02 21:17:50 +03:00
|
|
|
# Direction GPIO pin (high indicates positive direction). This
|
|
|
|
# parameter must be provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !ar25
|
2017-01-02 21:17:50 +03:00
|
|
|
# Enable pin (default is enable high; use ! to indicate enable
|
|
|
|
# low). If this parameter is not provided then the stepper motor
|
|
|
|
# driver must always be enabled.
|
2016-05-25 18:37:40 +03:00
|
|
|
step_distance: .0225
|
2017-01-02 21:17:50 +03:00
|
|
|
# Distance in mm that each step causes the axis to travel. This
|
|
|
|
# parameter must be provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
endstop_pin: ^ar0
|
2017-01-02 21:17:50 +03:00
|
|
|
# Endstop switch detection pin. This parameter must be provided for
|
|
|
|
# the X, Y, and Z steppers on cartesian style printers.
|
|
|
|
#homing_speed: 5.0
|
|
|
|
# Maximum velocity (in mm/s) of the stepper when homing. The default
|
|
|
|
# is 5mm/s.
|
|
|
|
#homing_retract_dist: 5.0
|
|
|
|
# Distance to backoff (in mm) before homing a second time during
|
|
|
|
# homing. The default is 5mm.
|
|
|
|
#homing_positive_dir: False
|
|
|
|
# If true, homes in a positive direction (away from zero). The
|
|
|
|
# default is False.
|
|
|
|
#homing_stepper_phases: 0
|
2016-07-27 05:06:14 +03:00
|
|
|
# One may optionally set this to the number of phases of the stepper
|
|
|
|
# motor driver (which is the number of micro-steps multiplied by
|
|
|
|
# four). When set, the phase of the stepper driver will be used
|
|
|
|
# during homing to improve the accuracy of the endstop switch.
|
2017-01-02 21:17:50 +03:00
|
|
|
#homing_endstop_accuracy: 0.200
|
2016-07-27 05:06:14 +03:00
|
|
|
# Sets the expected accuracy (in mm) of the endstop. This represents
|
|
|
|
# the maximum error distance the endstop may trigger (eg, if an
|
|
|
|
# endstop may occasionally trigger 100um early or up to 100um late
|
|
|
|
# then set this to 0.200 for 200um). This setting is used with
|
|
|
|
# homing_stepper_phases and is only useful if that parameter is also
|
|
|
|
# configured.
|
|
|
|
#homing_endstop_phase: 0
|
|
|
|
# This specifies the phase of the stepper motor driver to expect
|
|
|
|
# when hitting the endstop. This setting is only meaningful if
|
|
|
|
# homing_stepper_phases is also set. Only set this value if one is
|
|
|
|
# sure the stepper motor driver is reset every time the mcu is
|
|
|
|
# reset. If this is not set, but homing_stepper_phases is set, then
|
|
|
|
# the stepper phase will be detected on the first home and that
|
|
|
|
# phase will be used on all subsequent homes.
|
2016-05-25 18:37:40 +03:00
|
|
|
position_min: -0.25
|
|
|
|
# Minimum valid distance (in mm) the user may command the stepper to
|
2017-01-02 21:17:50 +03:00
|
|
|
# move to. The default is 0mm.
|
2016-05-25 18:37:40 +03:00
|
|
|
position_endstop: 0
|
2017-01-02 21:17:50 +03:00
|
|
|
# Location of the endstop (in mm). This parameter must be provided
|
|
|
|
# for the X, Y, and Z steppers on cartesian style printers.
|
2016-05-25 18:37:40 +03:00
|
|
|
position_max: 200
|
|
|
|
# Maximum valid distance (in mm) the user may command the stepper to
|
2017-01-02 21:17:50 +03:00
|
|
|
# move to. This parameter must be provided for the X, Y, and Z
|
|
|
|
# steppers on cartesian style printers.
|
2016-05-25 18:37:40 +03:00
|
|
|
|
|
|
|
# The stepper_y section is used to describe the stepper controlling
|
|
|
|
# the Y axis in a cartesian robot. It has the same settings as the
|
|
|
|
# stepper_x section
|
|
|
|
[stepper_y]
|
|
|
|
step_pin: ar27
|
|
|
|
dir_pin: ar26
|
|
|
|
enable_pin: !ar25
|
|
|
|
step_distance: .0225
|
|
|
|
endstop_pin: ^ar1
|
|
|
|
position_min: -0.25
|
|
|
|
position_endstop: 0
|
|
|
|
position_max: 200
|
|
|
|
|
|
|
|
# The stepper_z section is used to describe the stepper controlling
|
|
|
|
# the Z axis in a cartesian robot. It has the same settings as the
|
|
|
|
# stepper_x section
|
|
|
|
[stepper_z]
|
|
|
|
step_pin: ar23
|
2016-11-08 18:39:32 +03:00
|
|
|
dir_pin: !ar22
|
2016-05-25 18:37:40 +03:00
|
|
|
enable_pin: !ar25
|
|
|
|
step_distance: .005
|
|
|
|
endstop_pin: ^ar2
|
|
|
|
position_min: 0.1
|
|
|
|
position_endstop: 0.5
|
|
|
|
position_max: 200
|
|
|
|
|
2016-07-10 19:23:35 +03:00
|
|
|
# The extruder section is used to describe both the stepper
|
|
|
|
# controlling the printer extruder and the heater parameters for the
|
|
|
|
# nozzle. The stepper configuration has the same settings as the
|
|
|
|
# stepper_x section and the heater configuration has the same settings
|
|
|
|
# as the heater_bed section
|
|
|
|
[extruder]
|
2016-05-25 18:37:40 +03:00
|
|
|
step_pin: ar19
|
|
|
|
dir_pin: ar18
|
|
|
|
enable_pin: !ar25
|
|
|
|
step_distance: .004242
|
2017-01-03 02:21:39 +03:00
|
|
|
nozzle_diameter: 0.500
|
|
|
|
# Diameter of the nozzle orifice (in mm). This parameter must be
|
|
|
|
# provided.
|
|
|
|
filament_diameter: 3.500
|
|
|
|
# Diameter of the raw filament (in mm) as it enters the
|
|
|
|
# extruder. This parameter must be provided.
|
2017-01-03 03:22:32 +03:00
|
|
|
#max_extrude_cross_section:
|
|
|
|
# Maximum area of the cross section of an extrusion line (in
|
|
|
|
# mm^2). If a move requests an extrusion rate that would exceed this
|
|
|
|
# value it will cause an error to be returned. The default is: 4.0 *
|
|
|
|
# nozzle_diameter^2
|
|
|
|
#max_extrude_only_distance: 50.0
|
|
|
|
# Maximum length (in mm of raw filament) that an extrude only move
|
|
|
|
# may be. If an extrude only move requests a distance greater than
|
|
|
|
# this value it will cause an error to be returned. The default is
|
|
|
|
# 50mm.
|
2017-01-03 02:58:45 +03:00
|
|
|
#max_extrude_only_velocity:
|
2016-12-01 23:29:26 +03:00
|
|
|
# Maximum velocity (in mm/s) of the extruder motor for extrude only
|
2017-01-03 02:58:45 +03:00
|
|
|
# moves. If this is not specified then it is calculated to match the
|
|
|
|
# limit an XY printing move with a max_extrude_cross_section
|
|
|
|
# extrusion would have.
|
|
|
|
#max_extrude_only_accel:
|
2016-12-01 23:29:26 +03:00
|
|
|
# Maximum acceleration (in mm/s^2) of the extruder motor for extrude
|
2017-01-03 02:58:45 +03:00
|
|
|
# only moves. If this is not specified then it is calculated to
|
|
|
|
# match the limit an XY printing move with a
|
|
|
|
# max_extrude_cross_section extrusion would have.
|
2017-01-02 21:17:50 +03:00
|
|
|
#pressure_advance: 0.0
|
2016-07-17 02:58:41 +03:00
|
|
|
# The amount of raw filament to push into the extruder during
|
|
|
|
# extruder acceleration. An equal amount of filament is retracted
|
|
|
|
# during deceleration. It is measured in millimeters per
|
2017-01-02 21:17:50 +03:00
|
|
|
# millimeter/second. The default is 0, which disables pressure
|
|
|
|
# advance.
|
|
|
|
#
|
|
|
|
# The remaining variables describe the extruder heater
|
2016-05-25 18:37:40 +03:00
|
|
|
heater_pin: ar4
|
2017-01-02 21:17:50 +03:00
|
|
|
# PWM output pin controlling the heater. This parameter must be
|
|
|
|
# provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
thermistor_pin: analog1
|
2017-01-02 21:17:50 +03:00
|
|
|
# Analog input pin connected to thermistor. This parameter must be
|
|
|
|
# provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
thermistor_type: EPCOS 100K B57560G104F
|
2017-01-02 21:17:50 +03:00
|
|
|
# Type of thermistor (see the Thermistors variable at the top of
|
|
|
|
# klippy/heater.py for available types). This parameter must be
|
|
|
|
# provided.
|
|
|
|
#pullup_resistor: 4700
|
|
|
|
# The resistance (in ohms) of the pullup attached to the
|
|
|
|
# thermistor. The default is 4700 ohms.
|
2016-05-25 18:37:40 +03:00
|
|
|
control: pid
|
2017-01-02 21:17:50 +03:00
|
|
|
# Control algorithm (either pid or watermark). This parameter must
|
|
|
|
# be provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
pid_Kp: 22.2
|
2017-01-02 21:17:50 +03:00
|
|
|
# Kp is the "proportional" constant for the pid. This parameter must
|
|
|
|
# be provided for PID heaters.
|
2016-05-25 18:37:40 +03:00
|
|
|
pid_Ki: 1.08
|
2017-01-02 21:17:50 +03:00
|
|
|
# Ki is the "integral" constant for the pid. This parameter must be
|
|
|
|
# provided for PID heaters.
|
2016-05-25 18:37:40 +03:00
|
|
|
pid_Kd: 114
|
2017-01-02 21:17:50 +03:00
|
|
|
# Kd is the "derivative" constant for the pid. This parameter must
|
|
|
|
# be provided for PID heaters.
|
|
|
|
#pid_deriv_time: 2.0
|
2016-05-25 18:37:40 +03:00
|
|
|
# A time value (in seconds) over which the derivative in the pid
|
2017-01-02 21:17:50 +03:00
|
|
|
# will be smoothed to reduce the impact of measurement noise. The
|
|
|
|
# default is 2 seconds.
|
|
|
|
#pid_integral_max: 255
|
|
|
|
# The maximum "windup" the integral term may accumulate. The default
|
|
|
|
# is 255.
|
|
|
|
#min_extrude_temp: 170
|
2016-10-01 02:04:24 +03:00
|
|
|
# The minimum temperature (in Celsius) at which extruder move
|
2017-01-02 21:17:50 +03:00
|
|
|
# commands may be issued. The default is 170 Celsius.
|
2016-05-25 18:37:40 +03:00
|
|
|
min_temp: 0
|
2017-01-02 21:17:50 +03:00
|
|
|
# Minimum temperature in Celsius (mcu will shutdown if not
|
|
|
|
# met). This parameter must be provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
max_temp: 210
|
|
|
|
# Maximum temperature (mcu will shutdown if temperature is above
|
2017-01-02 21:17:50 +03:00
|
|
|
# this value). This parameter must be provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
|
|
|
|
# The heater_bed section describes a heated bed (if present - omit
|
2016-07-10 19:23:35 +03:00
|
|
|
# section if not present).
|
2016-05-25 18:37:40 +03:00
|
|
|
[heater_bed]
|
|
|
|
heater_pin: ar3
|
|
|
|
thermistor_pin: analog0
|
|
|
|
thermistor_type: EPCOS 100K B57560G104F
|
|
|
|
control: watermark
|
2017-01-02 21:17:50 +03:00
|
|
|
#max_delta: 2.0
|
|
|
|
# On 'watermark' controlled heaters this is the number of degrees in
|
|
|
|
# Celsius above the target temperature before disabling the heater
|
|
|
|
# as well as the number of degrees below the target before
|
|
|
|
# re-enabling the heater. The default is 2 degrees Celsius.
|
2016-05-25 18:37:40 +03:00
|
|
|
min_temp: 0
|
|
|
|
max_temp: 110
|
|
|
|
|
|
|
|
# Extruder print fan (omit section if fan not present)
|
|
|
|
[fan]
|
|
|
|
pin: ar14
|
2017-01-02 21:17:50 +03:00
|
|
|
# PWM output pin controlling the heater. This parameter must be
|
|
|
|
# provided.
|
2016-05-25 18:37:40 +03:00
|
|
|
hard_pwm: 1
|
|
|
|
# Set this value to force hardware PWM instead of software PWM. Set
|
|
|
|
# to 1 to force a hardware PWM at the fastest rate; set to a higher
|
|
|
|
# number (eg, 1024) to force hardware PWM with the given cycle time
|
2017-01-02 21:17:50 +03:00
|
|
|
# in clock ticks. The default is 128 clock ticks.
|
|
|
|
#kick_start_time: 0.100
|
2016-05-25 18:37:40 +03:00
|
|
|
# Time (in seconds) to run the fan at full speed when first enabling
|
2017-01-02 21:17:50 +03:00
|
|
|
# it (helps get the fan spinning). The default is 0.100 seconds.
|
2016-05-25 18:37:40 +03:00
|
|
|
|
|
|
|
# Micro-controller information
|
|
|
|
[mcu]
|
|
|
|
serial: /dev/ttyACM0
|
2017-01-02 21:17:50 +03:00
|
|
|
# The serial port to connect to the MCU. The default is /dev/ttyS0
|
|
|
|
#baud: 250000
|
|
|
|
# The baud rate to use. The default is 250000.
|
2016-05-25 18:37:40 +03:00
|
|
|
pin_map: arduino
|
2017-01-02 21:17:50 +03:00
|
|
|
# This option may be used to enable Arduino pin name aliases. The
|
|
|
|
# default is to not enable the aliases.
|
2016-05-25 18:37:40 +03:00
|
|
|
custom:
|
|
|
|
# This option may be used to specify a set of custom
|
|
|
|
# micro-controller commands to be sent at the start of the
|
|
|
|
# connection. It may be used to configure the initial settings of
|
|
|
|
# LEDs, to configure micro-stepping pins, to configure a digipot,
|
|
|
|
# etc.
|
|
|
|
|
|
|
|
# The printer section controls high level printer settings
|
|
|
|
[printer]
|
|
|
|
kinematics: cartesian
|
2017-01-02 21:17:50 +03:00
|
|
|
# This option must be "cartesian" for cartesian printers.
|
2016-12-01 23:29:26 +03:00
|
|
|
max_velocity: 500
|
|
|
|
# Maximum velocity (in mm/s) of the toolhead (relative to the
|
2017-01-02 21:17:50 +03:00
|
|
|
# print). This parameter must be specified.
|
2016-12-01 23:29:26 +03:00
|
|
|
max_accel: 3000
|
|
|
|
# Maximum acceleration (in mm/s^2) of the toolhead (relative to the
|
2017-01-02 21:17:50 +03:00
|
|
|
# print). This parameter must be specified.
|
2016-12-01 23:29:26 +03:00
|
|
|
max_z_velocity: 250
|
|
|
|
# For cartesian printers this sets the maximum velocity (in mm/s) of
|
|
|
|
# movement along the z axis. This setting can be used to restrict
|
2017-01-02 21:17:50 +03:00
|
|
|
# the maximum speed of the z stepper motor on cartesian
|
|
|
|
# printers. The default is to use max_velocity for max_z_velocity.
|
2016-12-01 23:29:26 +03:00
|
|
|
max_z_accel: 30
|
|
|
|
# For cartesian printers this sets the maximum acceleration (in
|
|
|
|
# mm/s^2) of movement along the z axis. It limits the acceleration
|
2017-01-02 21:17:50 +03:00
|
|
|
# of the z stepper motor on cartesian printers. The default is to
|
|
|
|
# use max_accel for max_z_accel.
|
|
|
|
#motor_off_time: 60
|
2016-05-25 18:37:40 +03:00
|
|
|
# Time (in seconds) of idle time before the printer will try to
|
2017-01-02 21:17:50 +03:00
|
|
|
# disable active motors. The default is 60 seconds.
|
|
|
|
#junction_deviation: 0.02
|
2016-05-25 18:37:40 +03:00
|
|
|
# Distance (in mm) used to control the internal approximated
|
|
|
|
# centripetal velocity cornering algorithm. A larger number will
|
2017-01-02 21:17:50 +03:00
|
|
|
# permit higher "cornering speeds" at the junction of two moves. The
|
|
|
|
# default is 0.02mm.
|