Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Desuuuu 2020-11-23 00:18:12 +01:00
commit 8d03bed871
No known key found for this signature in database
GPG Key ID: 85943F4B2C2CE0DC
198 changed files with 6702 additions and 3583 deletions

27
.github/workflows/build-test.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
# Perform continuous integration tests on updates and pull requests
name: Build test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup cache
uses: actions/cache@v2
with:
path: ci_cache
key: ${{ runner.os }}-build-${{ hashFiles('scripts/ci-install.sh') }}
- name: Prepare tests
run: ./scripts/ci-install.sh
- name: Test
run: ./scripts/ci-build.sh 2>&1
- name: Upload micro-controller data dictionaries
uses: actions/upload-artifact@v2
with:
name: data-dict
path: ci_build/dict

View File

@ -1,27 +0,0 @@
# This is a travis-ci.org continuous integration configuration file.
language: c
dist: bionic
addons:
apt:
packages:
# AVR GCC packages
- gcc-avr
- avr-libc
# PRU GCC build packages
- pv
- libmpfr-dev
- libgmp-dev
- libmpc-dev
- texinfo
- libncurses5-dev
- bison
- flex
cache:
directories:
- travis_cache
install: ./scripts/travis-install.sh
script: ./scripts/travis-build.sh

View File

@ -0,0 +1,71 @@
# This file is an example config file for cartesian style printers.
# One may copy and edit this file to configure a new cartesian
# printer.
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
# FIRST. Incorrectly configured parameters may cause damage.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0225
endstop_pin: ^ar3
position_endstop: 0
position_max: 200
[stepper_y]
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0225
endstop_pin: ^ar14
position_endstop: 0
position_max: 200
[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .005
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
nozzle_diameter: 0.500
filament_diameter: 3.500
heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog13
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 210
[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
control: watermark
min_temp: 0
max_temp: 110
[mcu]
serial: /dev/ttyACM0
pin_map: arduino
[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 3000
max_z_velocity: 25
max_z_accel: 30

View File

@ -1,14 +1,12 @@
# This file serves as documentation for config parameters of corexy
# This file is an example config file for corexy (and also h-bot)
# style printers. One may copy and edit this file to configure a new
# corexy printer. Only parameters unique to corexy printers are
# described here - see the "example.cfg" file for description of
# common config parameters.
# corexy printer.
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
# FIRST. Incorrectly configured parameters may cause damage.
# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Y movement.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54
dir_pin: ar55
@ -19,8 +17,6 @@ position_endstop: 0
position_max: 200
homing_speed: 50
# The stepper_y section is used to describe the Y axis as well as the
# stepper controlling the X-Y movement.
[stepper_y]
step_pin: ar60
dir_pin: ar61
@ -74,7 +70,6 @@ pin_map: arduino
[printer]
kinematics: corexy
# This option must be "corexy" for corexy printers.
max_velocity: 300
max_accel: 3000
max_z_velocity: 25

View File

@ -1,14 +1,11 @@
# This file serves as documentation for config parameters of corexz
# style printers. One may copy and edit this file to configure a new
# corexz printer. Only parameters unique to corexz printers are
# described here - see the "example.cfg" file for description of common
# config parameters.
# This file is an example config file for corexz style printers. One
# may copy and edit this file to configure a new corexz printer.
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
# FIRST. Incorrectly configured parameters may cause damage.
# The stepper_x section is used to describe the X axis as well as the
# stepper controlling the X+Z movement.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54
dir_pin: ar55
@ -29,8 +26,6 @@ position_endstop: 0
position_max: 200
homing_speed: 50
# The stepper_z section is used to describe the Z axis as well as the
# stepper controlling the X-Z movement.
[stepper_z]
step_pin: ar46
dir_pin: ar48
@ -74,7 +69,6 @@ pin_map: arduino
[printer]
kinematics: corexz
# This option must be "corexz" for corexz printers.
max_velocity: 300
max_accel: 3000
max_z_velocity: 50

View File

@ -1,15 +1,11 @@
# This file serves as documentation for config parameters of delta
# style printers. One may copy and edit this file to configure a new
# delta printer. Only parameters unique to delta printers are
# described here - see the "example.cfg" file for description of
# common config parameters.
# This file is an example config file for linear delta style printers.
# One may copy and edit this file to configure a new delta printer.
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
# FIRST. Incorrectly configured parameters may cause damage.
# The stepper_a section describes the stepper controlling the front
# left tower (at 210 degrees). This section also controls the homing
# parameters (homing_speed, homing_retract_dist) for all towers.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: ar54
dir_pin: ar55
@ -18,23 +14,8 @@ step_distance: .01
endstop_pin: ^ar2
homing_speed: 50
position_endstop: 297.05
# Distance (in mm) between the nozzle and the bed when the nozzle is
# in the center of the build area and the endstop triggers. This
# parameter must be provided for stepper_a; for stepper_b and
# stepper_c this parameter defaults to the value specified for
# stepper_a.
arm_length: 333.0
# Length (in mm) of the diagonal rod that connects this tower to the
# print head. This parameter must be provided for stepper_a; for
# stepper_b and stepper_c this parameter defaults to the value
# specified for stepper_a.
#angle:
# This option specifies the angle (in degrees) that the tower is
# at. The default is 210 for stepper_a, 330 for stepper_b, and 90
# for stepper_c.
# The stepper_b section describes the stepper controlling the front
# right tower (at 330 degrees).
[stepper_b]
step_pin: ar60
dir_pin: ar61
@ -42,8 +23,6 @@ enable_pin: !ar56
step_distance: .01
endstop_pin: ^ar15
# The stepper_c section describes the stepper controlling the rear
# tower (at 90 degrees).
[stepper_c]
step_pin: ar46
dir_pin: ar48
@ -76,57 +55,16 @@ control: watermark
min_temp: 0
max_temp: 130
# Print cooling fan (omit section if fan not present).
#[fan]
#pin: ar9
[mcu]
serial: /dev/ttyACM0
pin_map: arduino
[printer]
kinematics: delta
# This option must be "delta" for linear delta printers.
max_velocity: 300
# Maximum velocity (in mm/s) of the toolhead relative to the
# print. This parameter must be specified.
max_accel: 3000
# Maximum acceleration (in mm/s^2) of the toolhead relative to the
# print. This parameter must be specified.
max_z_velocity: 150
# For delta printers this limits the maximum velocity (in mm/s) of
# moves with z axis movement. This setting can be used to reduce the
# maximum speed of up/down moves (which require a higher step rate
# than other moves on a delta printer). The default is to use
# max_velocity for max_z_velocity.
#minimum_z_position: 0
# The minimum Z position that the user may command the head to move
# to. The default is 0.
delta_radius: 174.75
# Radius (in mm) of the horizontal circle formed by the three linear
# axis towers. This parameter may also be calculated as:
# delta_radius = smooth_rod_offset - effector_offset - carriage_offset
# This parameter must be provided.
#print_radius:
# The radius (in mm) of valid toolhead XY coordinates. One may use
# this setting to customize the range checking of toolhead moves. If
# a large value is specified here then it may be possible to command
# the toolhead into a collision with a tower. The default is to use
# delta_radius for print_radius (which would normally prevent a
# tower collision).
# The delta_calibrate section enables a DELTA_CALIBRATE extended
# g-code command that can calibrate the tower endstop positions and
# angles.
[delta_calibrate]
radius: 50
# Radius (in mm) of the area that may be probed. This is the radius
# of nozzle coordinates to be probed; if using an automatic probe
# with an XY offset then choose a radius small enough so that the
# probe always fits over the bed. This parameter must be provided.
#speed: 50
# The speed (in mm/s) of non-probing moves during the calibration.
# The default is 50.
#horizontal_move_z: 5
# The height (in mm) that the head should be commanded to move to
# just prior to starting a probe operation. The default is 5.

File diff suppressed because it is too large Load Diff

View File

@ -1,73 +0,0 @@
# This file serves as documentation for config parameters. One may
# copy and edit this file to configure a new menu layout.
# The snippets in this file may be copied into the main printer.cfg file.
# See the "example.cfg" file for description of common config parameters.
# Available options in menu Jinja2 template context:
# Read-only attributes for menu element:
# menu.width - element width (number of display columns)
# menu.ns - element namespace
# menu.event - name of the event that triggered the script
# menu.input - input value, only available in input script context
# List of actions for menu element:
# menu.back(force, update) - will execute menu back command, optional boolean parameters <force> and <update>.
# When <force> is set True then it will also stop editing. Default value is False
# When <update> is set False then parent container items are not updated. Default value is True
# menu.exit(force) - will execute menu exit command, optional boolean parameter <force> default value False
# When <force> is set True then it will also stop editing. Default value is False
# Common parameters available for all menu config sections.
#[menu some_name]
#type:
# One of command, input, list, text:
# command - basic menu element with various script triggers
# input - same like 'command' but has value changing capabilities.
# Press will start/stop edit mode.
# list - it allows for menu items to be grouped together in a scrollable list.
# Add to the list by creating menu configurations
# using "some_list" as a prefix - for example: [menu some_list some_item_in_the_list]
# vsdlist - same as 'list' but will append files from virtual sdcard (will be removed in the future)
#name:
# Name of menu item - evaluated as a template.
#enable:
# Template that evaluates to True or False.
#index:
# Position where an item needs to be inserted in list
# By default the item is added at the end. This parameter is optional.
#[menu some_list]
#type: list
#name:
#enable:
#[menu some_list some_command]
#type: command
#name:
#enable:
#gcode:
# Script to run on button click or long click. Evaluated as a template.
#[menu some_list some_input]
#type: input
#name:
#enable:
#input:
# Initial value to use when editing - evaluated as a template.
# Result must be float.
#input_min:
# Minimum value of range - evaluated as a template.
# Default -99999.
#input_max:
# Maximum value of range - evaluated as a template.
# Default 99999.
#input_step:
# Editing step - Must be a positive integer or float value.
# It has internal fast rate step. When (input_max - input_min) / input_step > 100
# then fast rate step is 10 * input_step else fast rate step is same input_step
#realtime:
# This attribute accepts static boolean value.
# When enabled then gcode script is run after each value change.
# The default is False. This parameter is optional.
#gcode:
# Script to run on button click, long click or value change. Evaluated as a template.
# The button click will trigger the edit mode start or end.

View File

@ -1,27 +1,17 @@
# This file serves as documentation for config parameters of "polar"
# style printers. One may copy and edit this file to configure a new
# polar printer.
# This file is an example config file for polar style printers. One
# may copy and edit this file to configure a new polar printer.
# POLAR KINEMATICS ARE A WORK IN PROGRESS. Moves around the 0,0
# position are known to not work properly.
# Only parameters unique to polar printers are described here - see
# the "example.cfg" file for description of common config parameters.
# See docs/Config_Reference.md for a description of parameters.
# The stepper_bed section is used to describe the stepper controlling
# the bed.
[stepper_bed]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: 0.001963495
# On a polar printer the step_distance is the amount each step pulse
# moves the bed in radians (for example, a 1.8 degree stepper with
# 16 micro-steps would be 2 * pi * (1.8 / 360) / 16 == 0.001963495).
# This parameter must be provided.
# The stepper_arm section is used to describe the stepper controlling
# the carriage on the arm.
[stepper_arm]
step_pin: ar60
dir_pin: ar61
@ -32,8 +22,6 @@ position_endstop: 300
position_max: 300
homing_speed: 50
# The stepper_z section is used to describe the stepper controlling
# the Z axis.
[stepper_z]
step_pin: ar46
dir_pin: ar48
@ -77,7 +65,6 @@ pin_map: arduino
[printer]
kinematics: polar
# This option must be "polar" for polar printers.
max_velocity: 300
max_accel: 3000
max_z_velocity: 25

View File

@ -1,49 +1,22 @@
# This file serves as documentation for config parameters of rotary
# delta style printers. One may copy and edit this file to configure a
# new delta printer. Only parameters unique to delta printers are
# described here - see the "example.cfg" file for description of
# common config parameters.
# This file is an example config file for rotary delta style printers.
# One may copy and edit this file to configure a new delta printer.
# ROTARY DELTA KINEMATICS ARE A WORK IN PROGRESS. Homing moves may
# timeout and some boundary checks are not implemented.
# The stepper_a section describes the stepper controlling the rear
# right arm (at 30 degrees). This section also controls the homing
# parameters (homing_speed, homing_retract_dist) for all arms.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: 0.001963495
# On a rotary delta printer the step_distance is the amount each
# step pulse moves the upper arm in radians (for example, a directly
# connected 1.8 degree stepper with 16 micro-steps would be 2 * pi *
# (1.8 / 360) / 16 == 0.001963495). This parameter must be provided.
endstop_pin: ^ar2
homing_speed: 50
position_endstop: 252
# Distance (in mm) between the nozzle and the bed when the nozzle is
# in the center of the build area and the endstop triggers. This
# parameter must be provided for stepper_a; for stepper_b and
# stepper_c this parameter defaults to the value specified for
# stepper_a.
upper_arm_length: 170.000
# Length (in mm) of the arm connecting the "shoulder joint" to the
# "elbow joint". This parameter must be provided for stepper_a; for
# stepper_b and stepper_c this parameter defaults to the value
# specified for stepper_a.
lower_arm_length: 320.000
# Length (in mm) of the arm connecting the "elbow joint" to the
# "effector joint". This parameter must be provided for stepper_a;
# for stepper_b and stepper_c this parameter defaults to the value
# specified for stepper_a.
#angle:
# This option specifies the angle (in degrees) that the arm is at.
# The default is 30 for stepper_a, 150 for stepper_b, and 270 for
# stepper_c.
# The stepper_b section describes the stepper controlling the rear
# left arm (at 150 degrees).
[stepper_b]
step_pin: ar60
dir_pin: ar61
@ -51,8 +24,6 @@ enable_pin: !ar56
step_distance: 0.001963495
endstop_pin: ^ar15
# The stepper_c section describes the stepper controlling the front
# arm (at 270 degrees).
[stepper_c]
step_pin: ar46
dir_pin: ar48
@ -85,46 +56,17 @@ control: watermark
min_temp: 0
max_temp: 130
# Print cooling fan (omit section if fan not present).
#[fan]
#pin: ar9
[mcu]
serial: /dev/ttyACM0
pin_map: arduino
[printer]
kinematics: rotary_delta
# This option must be "rotary_delta" for rotary delta printers.
max_velocity: 300
# Maximum velocity (in mm/s) of the toolhead relative to the
# print. This parameter must be specified.
max_accel: 3000
# Maximum acceleration (in mm/s^2) of the toolhead relative to the
# print. This parameter must be specified.
max_z_velocity: 50
# For delta printers this limits the maximum velocity (in mm/s) of
# moves with z axis movement. This setting can be used to reduce the
# maximum speed of up/down moves (which require a higher step rate
# than other moves on a delta printer). The default is to use
# max_velocity for max_z_velocity.
#minimum_z_position: 0
# The minimum Z position that the user may command the head to move
# to. The default is 0.
shoulder_radius: 33.900
# Radius (in mm) of the horizontal circle formed by the three
# shoulder joints, minus the radius of the circle formed by the
# effector joints. This parameter may also be calculated as:
# shoulder_radius = (delta_f - delta_e) / sqrt(12)
# This parameter must be provided.
shoulder_height: 412.900
# Distance (in mm) of the shoulder joints from the bed, minus the
# effector toolhead height. This parameter must be provided.
# The delta_calibrate section enables a DELTA_CALIBRATE extended
# g-code command that can calibrate the shoulder endstop positions.
[delta_calibrate]
radius: 50
#speed: 50
#horizontal_move_z: 5
# See example-delta.cfg for a description of these parameters.

View File

@ -1,6 +1,6 @@
# This file serves as documentation for config parameters of cable
# winch style printers. One may copy and edit this file to configure a
# new cable winch printer.
# This file is an example config file for cable winch style printers.
# One may copy and edit this file to configure a new cable winch
# printer.
# CABLE WINCH SUPPORT IS EXPERIMENTAL - PROCEED WITH CAUTION!
@ -8,26 +8,16 @@
# home the printer, manually send movement commands until the toolhead
# is at 0,0,0 and then issue a G28 command.
# Only parameters unique to cable winch printers are described here -
# see the "example.cfg" file for description of common config
# parameters.
# See docs/Config_Reference.md for a description of parameters.
# The stepper_a section describes the stepper connected to the first
# cable winch. A minimum of 3 and a maximum of 26 cable winches may be
# defined (stepper_a to stepper_z) though it is common to define 4.
[stepper_a]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .01
# The step_distance is the nominal distance (in mm) the toolhead
# moves towards the cable winch on each step pulse. This parameter
# must be provided.
anchor_x: 0
anchor_y: -2000
anchor_z: -100
# The x, y, and z position of the cable winch in cartesian space.
# These parameters must be provided.
[stepper_b]
step_pin: ar60
@ -81,16 +71,11 @@ control: watermark
min_temp: 0
max_temp: 130
# Print cooling fan (omit section if fan not present).
#[fan]
#pin: ar9
[mcu]
serial: /dev/ttyACM0
pin_map: arduino
[printer]
kinematics: winch
# This option must be "winch" for cable winch printers.
max_velocity: 300
max_accel: 3000

View File

@ -1,340 +0,0 @@
# This file serves as documentation for config parameters. One may
# copy and edit this file to configure a new cartesian style
# printer. For delta style printers, see the "example-delta.cfg"
# file. For corexy/h-bot style printers, see the "example-corexy.cfg"
# file. Only common config sections are described here - see the
# "example-extras.cfg" file for configuring less common devices.
# 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
# (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". Pin
# names may be preceded by an '!' to indicate that a reverse polarity
# should be used (eg, trigger on low instead of high). Input pins may
# be preceded by a '^' to indicate that a hardware pull-up resistor
# should be enabled for the pin. If the micro-controller supports
# pull-down resistors then an input pin may alternatively be preceded
# by a '~'.
# The stepper_x section is used to describe the stepper controlling
# the X axis in a cartesian robot.
[stepper_x]
step_pin: ar54
# Step GPIO pin (triggered high). This parameter must be provided.
dir_pin: ar55
# Direction GPIO pin (high indicates positive direction). This
# parameter must be provided.
enable_pin: !ar38
# 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.
step_distance: .0225
# Distance in mm that each step causes the axis to travel. This
# parameter must be provided.
endstop_pin: ^ar3
# Endstop switch detection pin. This parameter must be provided for
# the X, Y, and Z steppers on cartesian style printers.
#position_min: 0
# Minimum valid distance (in mm) the user may command the stepper to
# move to. The default is 0mm.
position_endstop: 0
# Location of the endstop (in mm). This parameter must be provided
# for the X, Y, and Z steppers on cartesian style printers.
position_max: 200
# Maximum valid distance (in mm) the user may command the stepper to
# move to. 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. Set this to zero to disable the second home. The default
# is 5mm.
#homing_retract_speed:
# Speed to use on the retract move after homing in case this should
# be different from the homing speed, which is the default for this
# parameter
#second_homing_speed:
# Velocity (in mm/s) of the stepper when performing the second home.
# The default is homing_speed/2.
#homing_positive_dir:
# If true, homing will cause the stepper to move in a positive
# direction (away from zero); if false, home towards zero. It is
# better to use the default than to specify this parameter. The
# default is true if position_endstop is near position_max and false
# if near position_min.
# 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: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0225
endstop_pin: ^ar14
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: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .005
endstop_pin: ^ar18
position_endstop: 0.5
position_max: 200
# 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.
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .004242
nozzle_diameter: 0.500
# Diameter of the nozzle orifice (in mm). This parameter must be
# provided.
filament_diameter: 3.500
# The nominal diameter of the raw filament (in mm) as it enters the
# extruder. This parameter must be provided.
#max_extrude_cross_section:
# Maximum area (in mm^2) of an extrusion cross section (eg,
# extrusion width multiplied by layer height). This setting prevents
# excessive amounts of extrusion during relatively small XY moves.
# 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
#instantaneous_corner_velocity: 1.000
# The maximum instantaneous velocity change (in mm/s) of the
# extruder during the junction of two moves. The default is 1mm/s.
#max_extrude_only_distance: 50.0
# Maximum length (in mm of raw filament) that a retraction or
# extrude-only move may have. If a retraction or extrude-only move
# requests a distance greater than this value it will cause an error
# to be returned. The default is 50mm.
#max_extrude_only_velocity:
#max_extrude_only_accel:
# Maximum velocity (in mm/s) and acceleration (in mm/s^2) of the
# extruder motor for retractions and extrude-only moves. These
# settings do not have any impact on normal printing moves. If not
# specified then they are calculated to match the limit an XY
# printing move with a cross section of 4.0*nozzle_diameter^2 would
# have.
#pressure_advance: 0.0
# 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
# millimeter/second. The default is 0, which disables pressure
# advance.
#pressure_advance_smooth_time: 0.040
# A time range (in seconds) to use when calculating the average
# extruder velocity for pressure advance. A larger value results in
# smoother extruder movements. This parameter may not exceed 200ms.
# This setting only applies if pressure_advance is non-zero. The
# default is 0.040 (40 milliseconds).
#
# The remaining variables describe the extruder heater.
heater_pin: ar10
# PWM output pin controlling the heater. This parameter must be
# provided.
#max_power: 1.0
# The maximum power (expressed as a value from 0.0 to 1.0) that the
# heater_pin may be set to. The value 1.0 allows the pin to be set
# fully enabled for extended periods, while a value of 0.5 would
# allow the pin to be enabled for no more than half the time. This
# setting may be used to limit the total power output (over extended
# periods) to the heater. The default is 1.0.
sensor_type: EPCOS 100K B57560G104F
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F",
# "ATC Semitec 104GT-2", "NTC 100K beta 3950", "Honeywell 100K
# 135-104LAG-J01", "NTC 100K MGB18-104F39050L32", and
# "SliceEngineering 450". See the example-extras.cfg file for other
# sensors. This parameter must be provided.
sensor_pin: analog13
# Analog input pin connected to the sensor. This parameter must be
# provided.
#pullup_resistor: 4700
# The resistance (in ohms) of the pullup attached to the thermistor.
# This parameter is only valid when the sensor is a thermistor. The
# default is 4700 ohms.
#inline_resistor: 0
# The resistance (in ohms) of an extra (not heat varying) resistor
# that is placed inline with the thermistor. It is rare to set this.
# This parameter is only valid when the sensor is a thermistor. The
# default is 0 ohms.
#smooth_time: 2.0
# A time value (in seconds) over which temperature measurements will
# be smoothed to reduce the impact of measurement noise. The default
# is 2 seconds.
control: pid
# Control algorithm (either pid or watermark). This parameter must
# be provided.
pid_Kp: 22.2
# Kp is the "proportional" constant for the pid. This parameter must
# be provided for PID heaters.
pid_Ki: 1.08
# Ki is the "integral" constant for the pid. This parameter must be
# provided for PID heaters.
pid_Kd: 114
# Kd is the "derivative" constant for the pid. This parameter must
# be provided for PID heaters.
#pid_integral_max:
# The maximum "windup" the integral term may accumulate. The default
# is to use the same value as max_power.
#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.
#pwm_cycle_time: 0.100
# Time in seconds for each software PWM cycle of the heater. It is
# not recommended to set this unless there is an electrical
# requirement to switch the heater faster than 10 times a second.
# The default is 0.100 seconds.
#min_extrude_temp: 170
# The minimum temperature (in Celsius) at which extruder move
# commands may be issued. The default is 170 Celsius.
min_temp: 0
max_temp: 210
# The maximum range of valid temperatures (in Celsius) that the
# heater must remain within. This controls a safety feature
# implemented in the micro-controller code - should the measured
# temperature ever fall outside this range then the micro-controller
# will go into a shutdown state. This check can help detect some
# heater and sensor hardware failures. Set this range just wide
# enough so that reasonable temperatures do not result in an
# error. These parameters must be provided.
# The heater_bed section describes a heated bed (if present - omit
# section if not present). It uses the same heater settings described
# in the extruder section.
[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
control: watermark
min_temp: 0
max_temp: 110
# Print cooling fan (omit section if fan not present).
[fan]
pin: ar9
# PWM output pin controlling the fan. This parameter must be
# provided.
#max_power: 1.0
# The maximum power (expressed as a value from 0.0 to 1.0) that the
# pin may be set to. The value 1.0 allows the pin to be set fully
# enabled for extended periods, while a value of 0.5 would allow the
# pin to be enabled for no more than half the time. This setting may
# be used to limit the total power output (over extended periods) to
# the fan. If this value is less than 1.0 then fan speed requests
# will be scaled between zero and max_power (for example, if
# max_power is .9 and a fan speed of 80% is requested then the fan
# power will be set to 72%). The default is 1.0.
#shutdown_speed: 0
# The desired fan speed (expressed as a value from 0.0 to 1.0) if
# the micro-controller software enters an error state. The default
# is 0.
#cycle_time: 0.010
# The amount of time (in seconds) for each PWM power cycle to the
# fan. It is recommended this be 10 milliseconds or greater when
# using software based PWM. The default is 0.010 seconds.
#hardware_pwm: False
# Enable this to use hardware PWM instead of software PWM. Most fans
# do not work well with hardware PWM, so it is not recommended to
# enable this unless there is an electrical requirement to switch at
# very high speeds. When using hardware PWM the actual cycle time is
# constrained by the implementation and may be significantly
# different than the requested cycle_time. The default is False.
#kick_start_time: 0.100
# Time (in seconds) to run the fan at full speed when either first
# enabling or increasing it by more than 50% (helps get the fan
# spinning). The default is 0.100 seconds.
#off_below: 0.0
# The minimum input speed which will power the fan (expressed as a
# value from 0.0 to 1.0). When a speed lower than off_below is
# requested the fan will instead be turned off. This setting may be
# used to prevent fan stalls and to ensure kick starts are
# effective. The default is 0.0.
#
# This setting should be recalibrated whenever max_power is adjusted.
# To calibrate this setting, start with off_below set to 0.0 and the
# fan spinning. Gradually lower the fan speed to determine the lowest
# input speed which reliably drives the fan without stalls. Set
# off_below to the duty cycle corresponding to this value (for
# example, 12% -> 0.12) or slightly higher.
# Micro-controller information.
[mcu]
serial: /dev/ttyACM0
# The serial port to connect to the MCU. If unsure (or if it
# changes) see the "Where's my serial port?" section of the FAQ. The
# default is /dev/ttyS0
#baud: 250000
# The baud rate to use. The default is 250000.
pin_map: arduino
# This option may be used to enable Arduino pin name aliases. The
# default is to not enable the aliases.
#restart_method:
# This controls the mechanism the host will use to reset the
# micro-controller. The choices are 'arduino', 'cheetah', 'rpi_usb',
# and 'command'. The 'arduino' method (toggle DTR) is common on
# Arduino boards and clones. The 'cheetah' method is a special
# method needed for some Fysetc Cheetah boards. The 'rpi_usb' method
# is useful on Raspberry Pi boards with micro-controllers powered
# over USB - it briefly disables power to all USB ports to
# accomplish a micro-controller reset. The 'command' method involves
# sending a Klipper command to the micro-controller so that it can
# reset itself. The default is 'arduino' if the micro-controller
# communicates over a serial port, 'command' otherwise.
# The printer section controls high level printer settings.
[printer]
kinematics: cartesian
# This option must be "cartesian" for cartesian printers.
max_velocity: 500
# Maximum velocity (in mm/s) of the toolhead (relative to the
# print). This parameter must be specified.
max_accel: 3000
# Maximum acceleration (in mm/s^2) of the toolhead (relative to the
# print). This parameter must be specified.
#max_accel_to_decel:
# A pseudo acceleration (in mm/s^2) controlling how fast the
# toolhead may go from acceleration to deceleration. It is used to
# reduce the top speed of short zig-zag moves (and thus reduce
# printer vibration from these moves). The default is half of
# max_accel.
max_z_velocity: 25
# For cartesian printers this sets the maximum velocity (in mm/s) of
# movement along the z axis. This setting can be used to restrict
# the maximum speed of the z stepper motor on cartesian printers.
# The default is to use max_velocity for max_z_velocity.
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
# of the z stepper motor on cartesian printers. The default is to
# use max_accel for max_z_accel.
#square_corner_velocity: 5.0
# The maximum velocity (in mm/s) that the toolhead may travel a 90
# degree corner at. A non-zero value can reduce changes in extruder
# flow rates by enabling instantaneous velocity changes of the
# toolhead during cornering. This value configures the internal
# centripetal velocity cornering algorithm; corners with angles
# larger than 90 degrees will have a higher cornering velocity while
# corners with angles less than 90 degrees will have a lower
# cornering velocity. If this is set to zero then the toolhead will
# decelerate to zero at each corner. The default is 5mm/s.
# Looking for more options? Check the example-extras.cfg file.

View File

@ -2,7 +2,7 @@
# boards. To use this config, the firmware should be compiled for the
# SAM3x8e.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC6

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for the Azteeg X5 Mini v3. To use
# this config, the firmware should be compiled for the LPC1769.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.1

View File

@ -7,7 +7,7 @@
# file named "firmware.bin" on an SD card and then restart the GTR
# with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC15

View File

@ -9,7 +9,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR E3
# DIP with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC6

View File

@ -9,7 +9,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR
# mini E3 with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB13

View File

@ -9,7 +9,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR
# mini E3 with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB13

View File

@ -9,7 +9,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR
# mini E3 with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB13

View File

@ -7,7 +7,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR
# mini with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC6

View File

@ -7,7 +7,7 @@
# file named "firmware.bin" on an SD card and then restart the SKR PRO
# with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PE9

View File

@ -2,7 +2,7 @@
# board. To use this config, the firmware should be compiled for the
# LPC1768.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P0.4

View File

@ -2,7 +2,7 @@
# board. To use this config, the firmware should be compiled for the
# LPC1768.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.2

View File

@ -2,7 +2,7 @@
# board. To use this config, the firmware should be compiled for the
# LPC1768 or LPC1769(Turbo).
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.2
@ -136,7 +136,7 @@ max_z_accel: 100
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
#diag1_pin: 1.29
#diag1_pin: P1.29
#[tmc2130 stepper_y]
#cs_pin: P1.9
@ -147,7 +147,7 @@ max_z_accel: 100
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
#diag1_pin: 1.28
#diag1_pin: P1.28
#[tmc2130 stepper_z]
#cs_pin: P1.8
@ -158,7 +158,7 @@ max_z_accel: 100
#run_current: 0.650
#hold_current: 0.450
#stealthchop_threshold: 30
#diag1_pin: 1.27
#diag1_pin: P1.27
#[tmc2130 extruder]
#cs_pin: P1.4
@ -169,7 +169,7 @@ max_z_accel: 100
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5
#diag1_pin: 1.26
#diag1_pin: P1.26
#[tmc2130 extruder1]
#cs_pin: P1.1
@ -180,7 +180,7 @@ max_z_accel: 100
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5
#diag1_pin: 1.25
#diag1_pin: P1.25
########################################

View File

@ -8,7 +8,7 @@
# order to set the pin state one must use a "device tree overlay" or
# use the config-pin program.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P8_13

View File

@ -0,0 +1,88 @@
# This file contains pin mappings for the Creality "v4.2.7" board. To
# use this config, during "make menuconfig" select the STM32F103 with
# a "28KiB bootloader" and with "Use USB for communication" disabled.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select the
# USART3 serial port, which is broken out on the 10 pin IDC cable used
# for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB9
dir_pin: PC2
enable_pin: !PC3
step_distance: .0125
endstop_pin: ^PA5
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
step_distance: .0125
endstop_pin: ^PA6
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_z]
step_pin: PB5
dir_pin: !PB6
enable_pin: !PC3
step_distance: .0025
endstop_pin: ^PA7
position_endstop: 0.0
position_max: 250
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PC3
step_distance: 0.010752
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[fan]
pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

View File

@ -2,7 +2,7 @@
# that have the Duex expansion board. To use this config, the firmware
# should be compiled for the SAM4E8E.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
## Drivers
# Here are the pins for the 10 stepper drivers supported by a Duet2 board

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for the Duet2 Maestro. To use
# this config, the firmware should be compiled for the sam4s8c.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC20

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Duet2 Eth/Wifi boards. To
# use this config, the firmware should be compiled for the SAM4E8E.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD6

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Einsy Rambo boards. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0
@ -92,6 +92,12 @@ pin: PH5
#[heater_fan nozzle_cooling_fan]
#pin: PH3
[temperature_sensor board_sensor]
sensor_pin: PF6
sensor_type: TDK NTCG104LH104JT1
min_temp: 0
max_temp: 50
[mcu]
serial: /dev/ttyACM0

View File

@ -8,7 +8,7 @@
# file named "firmware.bin" on an SD card and then restart the FLYBOARD
# with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB9

View File

@ -7,7 +7,7 @@
# after running "make", run the following command to flash the board:
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB8

View File

@ -7,7 +7,7 @@
# after running "make", run the following command to flash the board:
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB8

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for a Fysetc F6 board.
# To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0
@ -242,7 +242,6 @@ aliases:
# Servos
########################################
# See the example-extras.cfg file for more information.
# All Servo pins support hardware PWM.
#[servo my_servo1]
@ -261,7 +260,6 @@ aliases:
# RGB header
########################################
# See the example-extras.cfg file for more information.
# All RGB pins support hardware PWM.
#[output_pin blue]

View File

@ -4,7 +4,7 @@
# and select the "12MHz crystal" as clock reference
# For flashing, write the compiled klipper.bin to memory location 0x08000000
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PE11
@ -253,8 +253,6 @@ aliases:
# RGB header
########################################
# See the example-extras.cfg file for more information.
#[output_pin blue]
#pin: PB7
@ -268,8 +266,6 @@ aliases:
# Servo
########################################
# See the example-extras.cfg file for more information.
#[servo my_servo1]
#pin: PA3 # shared with ZMAX

View File

@ -2,7 +2,7 @@
# board. GT2560 board uses a firmware compiled for the AVR
# atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar25

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -2,7 +2,7 @@
# Mightyboard. To use this config, the firmware should be compiled for
# the Atmel atmega1280.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF1

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Mini-RAMBo boards. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0

View File

@ -7,7 +7,7 @@
# command to flash the board:
# avrdude -carduino -patmega1281 -P/dev/ttyUSB0 -b57600 -D -Uout/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF2

View File

@ -13,7 +13,7 @@
# MKS Robin E3 has onboard TMC2209. This config can also be used for
# MKS Robin E3D if equipped with TMC2209 stepper drivers.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0

View File

@ -10,7 +10,7 @@
# Copy the file out/Robin_nano.bin to an SD card and then restart the
# printer with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PE3

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for the MKS SGEN_L board. To
# use this config, the firmware should be compiled for the LPC1768.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.2

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Printrboard G2 boards.
# To use this config, the firmware should be compiled for the SAM3x8c.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB15

View File

@ -9,7 +9,7 @@
# - Connect via USB and run:
# avrdude -c flip1 -p usb1286 -U flash:w:out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PA0

View File

@ -2,7 +2,7 @@
# use this config, the firmware should be compiled for the Arduino
# Due.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
# Temp sensor pins: analog0..analog4
# Mosfet Pins: ar7 (Heatbed), ar8, ar9, ar11, ar12, ar13

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for RAMBo boards. To use this
# config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0

View File

@ -2,7 +2,7 @@
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Re-Arm. To use this
# config, the firmware should be compiled for the LPC1768.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.1

View File

@ -11,7 +11,7 @@
# they must be specified in a "device tree overlay" or via the
# config-pin program.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[mcu]
serial: /dev/rpmsg_pru30
@ -20,42 +20,11 @@ pin_map: beaglebone
[mcu host]
serial: /tmp/klipper_host_mcu
# The "replicape" config section adds "replicape:stepper_x_enable"
# virtual stepper enable pins (for steppers x, y, z, e, and h) and
# "replicape:power_x" PWM output pins (for hotbed, e, h, fan0, fan1,
# fan2, and fan3) that may then be used elsewhere in the config file.
[replicape]
revision: B3
# The replicape hardware revision. Currently only revision "B3" is
# supported. This parameter must be provided.
#enable_pin: !P9_41
# The replicape global enable pin. The default is !P9_41.
host_mcu: host
# The name of the mcu config section that communicates with the
# Klipper "linux process" mcu instance. This parameter must be
# provided.
#standstill_power_down: False
# This parameter controls the CFG6_ENN line on all stepper
# motors. True sets the enable lines to "open". The default is
# False.
stepper_x_microstep_mode: spread16
# This parameter controls the CFG1 and CFG2 pins of the given
# stepper motor driver. Available options are: disable, 1, 2,
# spread2, 4, 16, spread4, spread16, stealth4, and stealth16. The
# default is disable.
stepper_x_current: 0.5
# The configured maximum current (in Amps) of the stepper motor
# driver. This parameter must be provided if the stepper is not in a
# disable mode.
#stepper_x_chopper_off_time_high: False
# This parameter controls the CFG0 pin of the stepper motor driver
# (True sets CFG0 high, False sets it low). The default is False.
#stepper_x_chopper_hysteresis_high: False
# This parameter controls the CFG4 pin of the stepper motor driver
# (True sets CFG4 high, False sets it low). The default is False.
#stepper_x_chopper_blank_time_high: True
# This parameter controls the CFG5 pin of the stepper motor driver
# (True sets CFG5 high, False sets it low). The default is True.
stepper_y_microstep_mode: spread16
stepper_y_current: 0.5
stepper_z_microstep_mode: spread16
@ -139,7 +108,7 @@ pin: replicape:power_fan0
#[filament_switch_sensor switch_sensor]
#switch_pin: HOST_X2_STOP
# providing board pin aliases
# providing board pin aliases for PRU firmware
[board_pins]
aliases:
# step/dir pins
@ -153,12 +122,13 @@ aliases:
STEPPER_ENABLE=P9_41,
# servos
SERVO_0=P9_14, SERVO_1=P9_16,
# Thermistors
THERM_E=P9_33, THERM_H=P9_36, THERM_BED=P9_35,
# D1W pin
DALLAS=P9_22
[board_pins host]
aliases:
mcu: host
aliases_foo:
# Host aliases for Linux MCU
HOST_X2_STOP=gpio30, HOST_Y2_STOP=gpio113, HOST_Z2_STOP=gpio4
# Thermistors
THERM_E=analog4, THERM_H=analog5, THERM_BED=analog6
# D1W pin
DALLAS=gpio2

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for RUMBA boards. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar17

View File

@ -4,7 +4,7 @@
# "simulavr software emulation". Further details are in
# docs/Debugging.md.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
# Pins: PA5, PA4, PA1

View File

@ -1,7 +1,7 @@
# This file contains common pin mappings for Smoothieboard. To use
# this config, the firmware should be compiled for the LPC176x.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.0

View File

@ -2,7 +2,7 @@
# boards. To use this config, the firmware should be compiled for the
# AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar25

View File

@ -9,8 +9,9 @@
# 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.
# according to the specifics of your printer.
# See docs/Config_Reference.md for a description of parameters.
# AND PLEASE READ THROUGH THE KLIPPER DOCUMENTATION FIRST!
# https://github.com/KevinOConnor/klipper/tree/master/docs

View File

@ -7,8 +7,9 @@
# Created by "Nurmukhamed Artykaly"
# 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.
# according to the specifics of your printer.
# See docs/Config_Reference.md for a description of parameters.
# AND PLEASE READ THROUGH THE KLIPPER DOCUMENTATION FIRST!
# https://www.klipper3d.org/Overview.html

View File

@ -1,7 +1,7 @@
# This file contains pin mappings for the ADIMLab 3d printer 2018.
# To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar25

View File

@ -10,7 +10,7 @@
# file named "project.bin" on an SD card and then restart the Alfawise
# with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PB4

View File

@ -6,7 +6,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: PD7

View File

@ -6,7 +6,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -6,7 +6,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -6,7 +6,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -1,7 +1,7 @@
# Klipper firmware config file for Anycubic 4Max. To use this config,
# the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -4,7 +4,7 @@
# endstop_pin in the stepper_z1 section.) To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -5,7 +5,7 @@
# AVR ATmega2560 Arduino + RAMPS compatible board.
# To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: ar54

View File

@ -4,8 +4,8 @@
# The Anycubic delta printers use the TriGorilla board which is an
# AVR ATmega2560 Arduino + RAMPS compatible board.
# To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg, example-delta.cfg and example-extras.cfg files
# for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: ar54

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -1,7 +1,7 @@
# This file contains pin mappings for the 2017 Creality CR-10S. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -1,7 +1,7 @@
# This file contains pin mappings for the Creality CR-20. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0

View File

@ -1,7 +1,7 @@
# This file contains pin mappings for the Creality CR-20 Pro. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -14,7 +14,7 @@
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC2
@ -81,6 +81,7 @@ pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian

View File

@ -14,7 +14,7 @@
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC2
@ -81,6 +81,7 @@ pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -3,7 +3,7 @@
# To use this config, the firmware should be compiled for the AVR
# atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0

View File

@ -1,7 +1,7 @@
#This file contains pin mappings for the Lulzbot Mini 1 using RAMBo Mini and SingleExtruder
#To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
#-------------------------------------------------------------------------------------------------
# LULZBOT Mini 1 SingleExtruder (RAMBoMini)

View File

@ -4,7 +4,7 @@
# For a TAZ6 with DualV3 extruder, see printer-lulzbot-taz6-dual-v3-2017.cfg.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0

View File

@ -1,7 +1,7 @@
#This file contains pin mappings for the Lulzbot TAZ 6 circa 2017 using RAMBo and Dual v3 toolhead.
#To use this config, the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
#-------------------------------------------------------------------------------------------------
#-------------------------------------------------------------------------------------------------

View File

@ -53,7 +53,6 @@ enable_pin: !PA4
step_distance: .004242
nozzle_diameter: 0.350
filament_diameter: 1.750
pressure_advance: 0.07
heater_pin: PH6
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PF0
@ -98,7 +97,7 @@ scale: 1.56
# Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
channel_1: 1.0
channel_2: 0.75
channel_4: 0.82
channel_4: 0.62 # Z-motor with 30 Ohm coils and 19V power can't exceed .633 Amps
channel_5: 0.82
channel_6: 0.82

View File

@ -2,7 +2,7 @@
# printer (using the Makeboard 1.3 electronics). To use this config,
# the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: ar54

View File

@ -16,7 +16,7 @@
# Note 2: Klipper does not currently support the LCD interface used on this
# printer.
#
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
# Stepper A is the front-left tower, as originally wired. If you've rewired

View File

@ -2,7 +2,7 @@
# use this config, the firmware should be compiled for the AVR
# atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0

View File

@ -2,7 +2,7 @@
# (version 2) delta printer from 2015. To use this config, the
# firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_a]
step_pin: PC0

View File

@ -2,7 +2,7 @@
# use this config, the firmware should be compiled for the AVR
# atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -5,7 +5,7 @@
# (using a Bondtech BMG extruder). If using a stock printer it may be
# necessary to update the extruder step_distance parameter.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -5,7 +5,7 @@
# It _will not_ work out of the box for the "new orange" Tarantula pro with a
# MKS Sgen_l 32-bit board.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -7,7 +7,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -7,7 +7,7 @@
# the boards are typically flashed with this command:
# avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -9,7 +9,7 @@
# then one may need to flash a bootloader to the board - see the
# Klipper docs/Bootloaders.md file for more information.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PD7

View File

@ -7,7 +7,7 @@
# at 0x8008800 (Chitu v6 Bootloader). Uncheck USB, and leave default
# serial settings.
#
# Use "./update_chitu.py out/klipper.bin update.cbd" to generate update.cbd.
# Use "./scripts/update_chitu.py ./out/klipper.bin ./out/update.cbd" after make to generate update.cbd.
# Put `update.cbd` onto SD card, and reboot the printer.
# It will be automatically installed, and you will be able to update it this way.

View File

@ -10,8 +10,7 @@
# use the following command:
# avrdude -p atmega1284p -c arduino -b 115200 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# See the example.cfg and example-extras.cfg files for a description
# of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[mcu]
serial: /dev/ttyUSB0

View File

@ -12,7 +12,7 @@
# Copy the file out/Robin_nano35.bin to an SD card and then restart the
# printer with that SD card.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PE3

View File

@ -4,7 +4,7 @@
# Based on config from Martin Malmqvist and Per Hjort.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar54

View File

@ -2,7 +2,7 @@
# Ultimate). To use this config, the firmware should be compiled for
# the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PA3
@ -105,3 +105,16 @@ lcd_type: ssd1306
reset_pin: PE3
encoder_pins: ^PG1, ^PG0
click_pin: ^!PD2
[output_pin caselight]
pin: PH5
value: 0
pwm: True
[gcode_macro LIGHTS_OFF]
gcode:
SET_PIN PIN=caselight VALUE=0
[gcode_macro LIGHTS_ON]
gcode:
SET_PIN PIN=caselight VALUE=1

View File

@ -2,7 +2,7 @@
# also sold as the Monoprice Maker Pro MK1. To use this config,
# the firmware should be compiled for the AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar61

View File

@ -4,7 +4,7 @@
# Pin numbers and other parameters were extracted from the official
# Marlin source available at: https://github.com/garychen99/i3Mini
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: ar22

View File

@ -5,7 +5,7 @@
# official Marlin source available at:
# https://github.com/garychen99/Duplicator-i3-plus
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF7

View File

@ -2,7 +2,7 @@
# Mark II. To use this config, the firmware should be compiled for the
# AVR atmega2560.
# See the example.cfg file for a description of available parameters.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF7

Some files were not shown because too many files have changed in this diff Show More