mirror of https://github.com/Desuuuu/klipper.git
config: Change default pins defined in example.cfg to use RAMPS pins
Change the example.cfg file to use the pins of a RAMPS config as that is a very common setup. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
51baeb3c2c
commit
85a1e1118f
|
@ -14,9 +14,8 @@ step_pin: ar54
|
||||||
dir_pin: ar55
|
dir_pin: ar55
|
||||||
enable_pin: !ar38
|
enable_pin: !ar38
|
||||||
step_distance: .01
|
step_distance: .01
|
||||||
endstop_pin: ^ar2
|
endstop_pin: ^ar3
|
||||||
homing_speed: 50.0
|
homing_speed: 50.0
|
||||||
position_min: 0
|
|
||||||
position_endstop: 0
|
position_endstop: 0
|
||||||
position_max: 200
|
position_max: 200
|
||||||
|
|
||||||
|
@ -27,9 +26,8 @@ step_pin: ar60
|
||||||
dir_pin: ar61
|
dir_pin: ar61
|
||||||
enable_pin: !ar56
|
enable_pin: !ar56
|
||||||
step_distance: .01
|
step_distance: .01
|
||||||
endstop_pin: ^ar15
|
endstop_pin: ^ar14
|
||||||
homing_speed: 50.0
|
homing_speed: 50.0
|
||||||
position_min: 0
|
|
||||||
position_endstop: 0
|
position_endstop: 0
|
||||||
position_max: 200
|
position_max: 200
|
||||||
|
|
||||||
|
@ -38,8 +36,7 @@ step_pin: ar46
|
||||||
dir_pin: ar48
|
dir_pin: ar48
|
||||||
enable_pin: !ar62
|
enable_pin: !ar62
|
||||||
step_distance: .01
|
step_distance: .01
|
||||||
endstop_pin: ^ar19
|
endstop_pin: ^ar18
|
||||||
position_min: 0.1
|
|
||||||
position_endstop: 0.5
|
position_endstop: 0.5
|
||||||
position_max: 200
|
position_max: 200
|
||||||
|
|
||||||
|
|
|
@ -20,19 +20,19 @@
|
||||||
# The stepper_x section is used to describe the stepper controlling
|
# The stepper_x section is used to describe the stepper controlling
|
||||||
# the X axis in a cartesian robot.
|
# the X axis in a cartesian robot.
|
||||||
[stepper_x]
|
[stepper_x]
|
||||||
step_pin: ar29
|
step_pin: ar54
|
||||||
# Step GPIO pin (triggered high). This parameter must be provided.
|
# Step GPIO pin (triggered high). This parameter must be provided.
|
||||||
dir_pin: !ar28
|
dir_pin: ar55
|
||||||
# Direction GPIO pin (high indicates positive direction). This
|
# Direction GPIO pin (high indicates positive direction). This
|
||||||
# parameter must be provided.
|
# parameter must be provided.
|
||||||
enable_pin: !ar25
|
enable_pin: !ar38
|
||||||
# Enable pin (default is enable high; use ! to indicate enable
|
# Enable pin (default is enable high; use ! to indicate enable
|
||||||
# low). If this parameter is not provided then the stepper motor
|
# low). If this parameter is not provided then the stepper motor
|
||||||
# driver must always be enabled.
|
# driver must always be enabled.
|
||||||
step_distance: .0225
|
step_distance: .0225
|
||||||
# Distance in mm that each step causes the axis to travel. This
|
# Distance in mm that each step causes the axis to travel. This
|
||||||
# parameter must be provided.
|
# parameter must be provided.
|
||||||
endstop_pin: ^ar0
|
endstop_pin: ^ar3
|
||||||
# Endstop switch detection pin. This parameter must be provided for
|
# Endstop switch detection pin. This parameter must be provided for
|
||||||
# the X, Y, and Z steppers on cartesian style printers.
|
# the X, Y, and Z steppers on cartesian style printers.
|
||||||
#homing_speed: 5.0
|
#homing_speed: 5.0
|
||||||
|
@ -64,7 +64,7 @@ endstop_pin: ^ar0
|
||||||
# reset. If this is not set, but homing_stepper_phases is set, then
|
# 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
|
# the stepper phase will be detected on the first home and that
|
||||||
# phase will be used on all subsequent homes.
|
# phase will be used on all subsequent homes.
|
||||||
position_min: -0.25
|
#position_min: 0
|
||||||
# Minimum valid distance (in mm) the user may command the stepper to
|
# Minimum valid distance (in mm) the user may command the stepper to
|
||||||
# move to. The default is 0mm.
|
# move to. The default is 0mm.
|
||||||
position_endstop: 0
|
position_endstop: 0
|
||||||
|
@ -79,12 +79,11 @@ position_max: 200
|
||||||
# the Y axis in a cartesian robot. It has the same settings as the
|
# the Y axis in a cartesian robot. It has the same settings as the
|
||||||
# stepper_x section.
|
# stepper_x section.
|
||||||
[stepper_y]
|
[stepper_y]
|
||||||
step_pin: ar27
|
step_pin: ar60
|
||||||
dir_pin: ar26
|
dir_pin: !ar61
|
||||||
enable_pin: !ar25
|
enable_pin: !ar56
|
||||||
step_distance: .0225
|
step_distance: .0225
|
||||||
endstop_pin: ^ar1
|
endstop_pin: ^ar14
|
||||||
position_min: -0.25
|
|
||||||
position_endstop: 0
|
position_endstop: 0
|
||||||
position_max: 200
|
position_max: 200
|
||||||
|
|
||||||
|
@ -92,12 +91,11 @@ position_max: 200
|
||||||
# the Z axis in a cartesian robot. It has the same settings as the
|
# the Z axis in a cartesian robot. It has the same settings as the
|
||||||
# stepper_x section.
|
# stepper_x section.
|
||||||
[stepper_z]
|
[stepper_z]
|
||||||
step_pin: ar23
|
step_pin: ar46
|
||||||
dir_pin: !ar22
|
dir_pin: ar48
|
||||||
enable_pin: !ar25
|
enable_pin: !ar62
|
||||||
step_distance: .005
|
step_distance: .005
|
||||||
endstop_pin: ^ar2
|
endstop_pin: ^ar18
|
||||||
position_min: 0.1
|
|
||||||
position_endstop: 0.5
|
position_endstop: 0.5
|
||||||
position_max: 200
|
position_max: 200
|
||||||
|
|
||||||
|
@ -107,9 +105,9 @@ position_max: 200
|
||||||
# stepper_x section and the heater configuration has the same settings
|
# stepper_x section and the heater configuration has the same settings
|
||||||
# as the heater_bed section (described below).
|
# as the heater_bed section (described below).
|
||||||
[extruder]
|
[extruder]
|
||||||
step_pin: ar19
|
step_pin: ar26
|
||||||
dir_pin: ar18
|
dir_pin: ar28
|
||||||
enable_pin: !ar25
|
enable_pin: !ar24
|
||||||
step_distance: .004242
|
step_distance: .004242
|
||||||
nozzle_diameter: 0.500
|
nozzle_diameter: 0.500
|
||||||
# Diameter of the nozzle orifice (in mm). This parameter must be
|
# Diameter of the nozzle orifice (in mm). This parameter must be
|
||||||
|
@ -164,7 +162,7 @@ filament_diameter: 3.500
|
||||||
# activation.
|
# activation.
|
||||||
#
|
#
|
||||||
# The remaining variables describe the extruder heater.
|
# The remaining variables describe the extruder heater.
|
||||||
heater_pin: ar4
|
heater_pin: ar10
|
||||||
# PWM output pin controlling the heater. This parameter must be
|
# PWM output pin controlling the heater. This parameter must be
|
||||||
# provided.
|
# provided.
|
||||||
#max_power: 1.0
|
#max_power: 1.0
|
||||||
|
@ -177,7 +175,7 @@ heater_pin: ar4
|
||||||
sensor_type: EPCOS 100K B57560G104F
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
# Type of sensor - this may be "EPCOS 100K B57560G104F", "ATC
|
# Type of sensor - this may be "EPCOS 100K B57560G104F", "ATC
|
||||||
# Semitec 104GT-2", or "AD595". This parameter must be provided.
|
# Semitec 104GT-2", or "AD595". This parameter must be provided.
|
||||||
sensor_pin: analog1
|
sensor_pin: analog13
|
||||||
# Analog input pin connected to the sensor. This parameter must be
|
# Analog input pin connected to the sensor. This parameter must be
|
||||||
# provided.
|
# provided.
|
||||||
#pullup_resistor: 4700
|
#pullup_resistor: 4700
|
||||||
|
@ -221,16 +219,16 @@ max_temp: 210
|
||||||
# named "extruder1", "extruder2", "extruder3", and so on. See the
|
# named "extruder1", "extruder2", "extruder3", and so on. See the
|
||||||
# "extruder" section above for a description of available parameters.
|
# "extruder" section above for a description of available parameters.
|
||||||
#[extruder1]
|
#[extruder1]
|
||||||
#step_pin: ar20
|
#step_pin: ar36
|
||||||
#dir_pin: ar21
|
#dir_pin: ar34
|
||||||
#...
|
#...
|
||||||
|
|
||||||
# The heater_bed section describes a heated bed (if present - omit
|
# The heater_bed section describes a heated bed (if present - omit
|
||||||
# section if not present).
|
# section if not present).
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: ar3
|
heater_pin: ar8
|
||||||
sensor_type: EPCOS 100K B57560G104F
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
sensor_pin: analog0
|
sensor_pin: analog14
|
||||||
control: watermark
|
control: watermark
|
||||||
#max_delta: 2.0
|
#max_delta: 2.0
|
||||||
# On 'watermark' controlled heaters this is the number of degrees in
|
# On 'watermark' controlled heaters this is the number of degrees in
|
||||||
|
@ -242,7 +240,7 @@ max_temp: 110
|
||||||
|
|
||||||
# Print cooling fan (omit section if fan not present).
|
# Print cooling fan (omit section if fan not present).
|
||||||
[fan]
|
[fan]
|
||||||
pin: ar14
|
pin: ar9
|
||||||
# PWM output pin controlling the fan. This parameter must be
|
# PWM output pin controlling the fan. This parameter must be
|
||||||
# provided.
|
# provided.
|
||||||
#max_power: 1.0
|
#max_power: 1.0
|
||||||
|
@ -328,7 +326,7 @@ max_z_accel: 30
|
||||||
# whenever its associated heater is active.
|
# whenever its associated heater is active.
|
||||||
#[heater_fan my_nozzle_fan]
|
#[heater_fan my_nozzle_fan]
|
||||||
# See the "fan" section for fan configuration parameters.
|
# See the "fan" section for fan configuration parameters.
|
||||||
#pin: ar7
|
#pin: ar4
|
||||||
# The remaining variables are specific to heater_fan.
|
# The remaining variables are specific to heater_fan.
|
||||||
#heater: extruder
|
#heater: extruder
|
||||||
# Name of the config section defining the heater that this fan is
|
# Name of the config section defining the heater that this fan is
|
||||||
|
|
Loading…
Reference in New Issue