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
|
||||
enable_pin: !ar38
|
||||
step_distance: .01
|
||||
endstop_pin: ^ar2
|
||||
endstop_pin: ^ar3
|
||||
homing_speed: 50.0
|
||||
position_min: 0
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
|
@ -27,9 +26,8 @@ step_pin: ar60
|
|||
dir_pin: ar61
|
||||
enable_pin: !ar56
|
||||
step_distance: .01
|
||||
endstop_pin: ^ar15
|
||||
endstop_pin: ^ar14
|
||||
homing_speed: 50.0
|
||||
position_min: 0
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
|
@ -38,8 +36,7 @@ step_pin: ar46
|
|||
dir_pin: ar48
|
||||
enable_pin: !ar62
|
||||
step_distance: .01
|
||||
endstop_pin: ^ar19
|
||||
position_min: 0.1
|
||||
endstop_pin: ^ar18
|
||||
position_endstop: 0.5
|
||||
position_max: 200
|
||||
|
||||
|
|
|
@ -20,19 +20,19 @@
|
|||
# The stepper_x section is used to describe the stepper controlling
|
||||
# the X axis in a cartesian robot.
|
||||
[stepper_x]
|
||||
step_pin: ar29
|
||||
step_pin: ar54
|
||||
# Step GPIO pin (triggered high). This parameter must be provided.
|
||||
dir_pin: !ar28
|
||||
dir_pin: ar55
|
||||
# Direction GPIO pin (high indicates positive direction). This
|
||||
# parameter must be provided.
|
||||
enable_pin: !ar25
|
||||
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: ^ar0
|
||||
endstop_pin: ^ar3
|
||||
# Endstop switch detection pin. This parameter must be provided for
|
||||
# the X, Y, and Z steppers on cartesian style printers.
|
||||
#homing_speed: 5.0
|
||||
|
@ -64,7 +64,7 @@ endstop_pin: ^ar0
|
|||
# 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.
|
||||
position_min: -0.25
|
||||
#position_min: 0
|
||||
# Minimum valid distance (in mm) the user may command the stepper to
|
||||
# move to. The default is 0mm.
|
||||
position_endstop: 0
|
||||
|
@ -79,12 +79,11 @@ position_max: 200
|
|||
# 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_pin: ar60
|
||||
dir_pin: !ar61
|
||||
enable_pin: !ar56
|
||||
step_distance: .0225
|
||||
endstop_pin: ^ar1
|
||||
position_min: -0.25
|
||||
endstop_pin: ^ar14
|
||||
position_endstop: 0
|
||||
position_max: 200
|
||||
|
||||
|
@ -92,12 +91,11 @@ position_max: 200
|
|||
# the Z axis in a cartesian robot. It has the same settings as the
|
||||
# stepper_x section.
|
||||
[stepper_z]
|
||||
step_pin: ar23
|
||||
dir_pin: !ar22
|
||||
enable_pin: !ar25
|
||||
step_pin: ar46
|
||||
dir_pin: ar48
|
||||
enable_pin: !ar62
|
||||
step_distance: .005
|
||||
endstop_pin: ^ar2
|
||||
position_min: 0.1
|
||||
endstop_pin: ^ar18
|
||||
position_endstop: 0.5
|
||||
position_max: 200
|
||||
|
||||
|
@ -107,9 +105,9 @@ position_max: 200
|
|||
# stepper_x section and the heater configuration has the same settings
|
||||
# as the heater_bed section (described below).
|
||||
[extruder]
|
||||
step_pin: ar19
|
||||
dir_pin: ar18
|
||||
enable_pin: !ar25
|
||||
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
|
||||
|
@ -164,7 +162,7 @@ filament_diameter: 3.500
|
|||
# activation.
|
||||
#
|
||||
# The remaining variables describe the extruder heater.
|
||||
heater_pin: ar4
|
||||
heater_pin: ar10
|
||||
# PWM output pin controlling the heater. This parameter must be
|
||||
# provided.
|
||||
#max_power: 1.0
|
||||
|
@ -177,7 +175,7 @@ heater_pin: ar4
|
|||
sensor_type: EPCOS 100K B57560G104F
|
||||
# Type of sensor - this may be "EPCOS 100K B57560G104F", "ATC
|
||||
# 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
|
||||
# provided.
|
||||
#pullup_resistor: 4700
|
||||
|
@ -221,16 +219,16 @@ max_temp: 210
|
|||
# named "extruder1", "extruder2", "extruder3", and so on. See the
|
||||
# "extruder" section above for a description of available parameters.
|
||||
#[extruder1]
|
||||
#step_pin: ar20
|
||||
#dir_pin: ar21
|
||||
#step_pin: ar36
|
||||
#dir_pin: ar34
|
||||
#...
|
||||
|
||||
# The heater_bed section describes a heated bed (if present - omit
|
||||
# section if not present).
|
||||
[heater_bed]
|
||||
heater_pin: ar3
|
||||
heater_pin: ar8
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: analog0
|
||||
sensor_pin: analog14
|
||||
control: watermark
|
||||
#max_delta: 2.0
|
||||
# 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).
|
||||
[fan]
|
||||
pin: ar14
|
||||
pin: ar9
|
||||
# PWM output pin controlling the fan. This parameter must be
|
||||
# provided.
|
||||
#max_power: 1.0
|
||||
|
@ -328,7 +326,7 @@ max_z_accel: 30
|
|||
# whenever its associated heater is active.
|
||||
#[heater_fan my_nozzle_fan]
|
||||
# See the "fan" section for fan configuration parameters.
|
||||
#pin: ar7
|
||||
#pin: ar4
|
||||
# The remaining variables are specific to heater_fan.
|
||||
#heater: extruder
|
||||
# Name of the config section defining the heater that this fan is
|
||||
|
|
Loading…
Reference in New Issue